Tài liệu API hiện chỉ có bằng tiếng Anh.

Apple App Store Search

Search the App Store for iPhone, iPad and Mac apps.

GET/api/v1/apple/app-store/search

Costs 1 credit per request; failed requests are refunded. Authentication, the search_metadata envelope and error codes are the same as for every endpoint (see the API reference). Try it in the playground.

Parameters

Request

ParameterTypeDescription
termrequiredstringSearch term with 1 to 2,048 UTF-8 bytes of printable text, and at most 4,096 bytes after URL encoding.Up to 2,048 characters.
numintegerMaximum results after filtering, from 1 through 200.Default: 10.Range: 1 to 200.

Filters

ParameterTypeDescription
disallow_explicitbooleanExclude explicit results when true.Default: false.
propertystringUse developer to match developer names, ignoring case.
category_idintegerFilter results by a native genre identifier, from 1 through 2,147,483,647.Range: 1 to 2147483647.
device"mobile" | "tablet" | "desktop"mobile for iPhone apps, tablet for iPad apps, or desktop for Mac apps.Default: mobile.

Localization

ParameterTypeDescription
countrystringTwo-letter Apple storefront country. UK is accepted as an alias for GB.Default: us.
langstringLanguage-region code, such as en-us or fr-fr.Default: en-us.

Response

A JSON object with search_metadata (request id, credits used and remaining) and the result data: organic_results with prices, developers, ratings, genres, releases, languages, screenshots, and supported devices. Groups and fields depend on the content of each page, so treat every field as optional.

Examples

cURL
curl "https://serpfast.com/api/v1/apple/app-store/search?term=coffee&num=3" \
  -H "Authorization: Bearer $SERPFAST_KEY"
Node.js 18+
const params = new URLSearchParams({
  "term": "coffee",
  "num": 3
});
const res = await fetch(`https://serpfast.com/api/v1/apple/app-store/search?${params}`, {
  headers: { Authorization: `Bearer ${process.env.SERPFAST_KEY}` },
});
const data = await res.json();
console.log(data);
Python
import os, requests

params = {
  "term": "coffee",
  "num": 3
}
res = requests.get(
    "https://serpfast.com/api/v1/apple/app-store/search",
    params=params,
    headers={"Authorization": f"Bearer {os.environ['SERPFAST_KEY']}"},
    timeout=120,
)
print(res.json())