API · App Store
GET /appstore/locations
App Store storefront countries.
| Request | GET /v1/appstore/locations |
| Operation id | appstore.locations.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
App Store storefront countries.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
location_type | "country" | "all" | no | country (default) or all. One of country, all. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Storefronts. | AppStoreLocations |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The app does not exist in that storefront. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | App Store is temporarily unavailable. Retryable; nothing was charged. | Error |
AppStoreLocations fields
| Field | Type | Description |
|---|---|---|
locations | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.