App Store Categorizations API
Query App Store categorizations. Empty results and failures are free.
POST https://api.goanyapi.com/api/v1/appstore/categorizationsRequest and input parameters
Synchronous POST JSON query. There are no Path or Query parameters and no asynchronous task.
| Parameter | Location | Type | Required | Default | Constraints and meaning |
|---|---|---|---|---|---|
| Authorization | Header | string | Yes | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | Yes | application/json | application/json |
| url | JSON body | string | Optional or conditional | — | Complete HTTPS resource URL; takes precedence over resource identifiers; maxLength=4096 |
| country | JSON body | string | Optional or conditional | — | Store country code; URL country is used when not explicitly overridden; pattern=^[A-Za-z]{2}$ |
| id | JSON body | string | Optional or conditional | — | Numeric App Store application ID; pattern=^[0-9]{1,20}$ |
| bundleId | JSON body | string | Optional or conditional | — | Application bundle identifier; maxLength=255; pattern=^[A-Za-z0-9_-]+(.[A-Za-z0-9_-]+)+$ |
| limit | JSON body | integer | Optional or conditional | 10 | Record limit for this operation; actual results may be fewer; minimum=1; maximum=10 |
| cursor | JSON body | string | Optional or conditional | — | Reuse the returned next_cursor unchanged; not a page number; maxLength=20000; pattern=^(?![0-9]+$)[\s\S]+$ |
Conditional requirements (required lists mandatory fields; satisfy at least one anyOf branch, exactly one oneOf branch, and every allOf branch):
{
"required": [],
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"id"
]
},
{
"required": [
"bundleId"
]
},
{
"required": [
"cursor"
]
}
]
}Request example
POST /api/v1/appstore/categorizations
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://apps.apple.com/us/app/id763692274",
"id": "763692274"
}Output fields
| Field path | Type | Meaning |
|---|---|---|
| code | string | ok on success; public error code otherwise |
| message | string | Request status message |
| data.result | object / null | Business result; actual null, empty and missing values are preserved |
| data.creditsUsed | integer | Actual charge; empty results and failures are free |
| data.remainingCredits | number | Account balance after settlement |
| data.result.id | string | Record identifier |
| data.result.country | string | Actual store country used for this result |
| data.result.items | array | items: public business value; may be empty or absent |
| data.result.items[].id | string | Record identifier |
| data.result.items[].type | string | type: public business value; may be empty or absent |
| data.result.items[].href | string | href: public business value; may be empty or absent |
| data.result.items[].attributes | object | attributes: public business value; may be empty or absent |
| data.result.items[].attributes.name | string | Display name |
| data.result.items[].attributes.parentId | string | parentId: public business value; may be empty or absent |
| data.result.items[].attributes.parentName | string | parentName: public business value; may be empty or absent |
| data.result.items[].attributes.url | string | Public resource URL |
| data.result.count | integer | Records in this response, not the total |
| data.result.next_cursor | string | Opaque next-page cursor; reuse unchanged |
| data.result.has_more | boolean | Whether more results are reported; also requires a usable cursor |
Real response example
Captured: 2026-11-25T10:24:40Z. Real public response excerpt; only data.creditsUsed and data.remainingCredits are omitted. Charges and balance depend on the actual request.
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"id": "763692274",
"country": "us",
"items": [
{
"id": "6016",
"type": "genres",
"href": "/v1/catalog/us/genres/6016",
"attributes": {
"name": "Entertainment",
"parentId": "36",
"parentName": "App Store",
"url": "https://itunes.apple.com/us/genre/id6016"
}
},
{
"id": "tg.3183",
"type": "tags",
"href": "/v1/catalog/us/tags/tg.3183",
"attributes": {
"name": "Open World"
}
},
{
"id": "tg.3456",
"type": "tags",
"href": "/v1/catalog/us/tags/tg.3456",
"attributes": {
"name": "Open World Driving"
}
},
{
"id": "tg.3583",
"type": "tags",
"href": "/v1/catalog/us/tags/tg.3583",
"attributes": {
"name": "Voice Acting"
}
},
{
"id": "tg.3214",
"type": "tags",
"href": "/v1/catalog/us/tags/tg.3214",
"attributes": {
"name": "Third-Person"
}
},
{
"id": "tg.3415",
"type": "tags",
"href": "/v1/catalog/us/tags/tg.3415",
"attributes": {
"name": "Achievements"
}
}
],
"count": 6,
"next_cursor": null,
"has_more": false
}
}
}Pagination and billing
Request one page at a time. Retain the resource parameters and pass next_cursor unchanged as cursor. Stop when has_more=false or no usable new cursor is returned.
…
Country defaults to us when neither input nor URL specifies one. Relationship continuation may use cursor alone; resource and country are recovered from the cursor.
Successful nonempty requests use the current database-configured price. Empty results and failures are free; each page is billed separately. Empty optional fields do not make a record empty. Missing fields, null, empty strings and arrays are preserved. Saved media URLs and cursors may expire; query again for current values.
Status codes
| HTTP | Meaning |
|---|---|
| 200 | Success; results may be empty |
| 400 | Invalid parameters or JSON |
| 401 | Missing or invalid authentication |
| 402 | Insufficient credits |
| 429 | Rate limit exceeded |
| 502 | The data request could not complete |
| 503 | API or pricing is not configured |