App Store search suggestions API
What the App Store suggests as someone types, per storefront.
GET /v1/appstore/apps/suggestions1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/appstore/apps/suggestions?query=reverse",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "query": "note", "country": "US", "hints": [ { "term": "notebook lm", "url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=hint&submit=edit&term=no…" }, { "term": "goodmemo - note templates", "url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=hint&submit=edit&term=go…" }, "… 8 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
queryquery · required | string | Partial keyword. Example: reverse. |
countryquery | string | Storefront country: ISO code (US, GB, JP) or full name. Default US. Example: US. |
Response fields
200 with a AppStoreSuggestions, in Apple’s own iTunes Search and Lookup JSON.
| Field | Type | Description |
|---|---|---|
query | string | |
country | string | |
hints | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | Suggested searches. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The app does not exist in that storefront. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | App Store is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
App Store is a trademark of Apple Inc. We are not affiliated with or endorsed by Apple.