Google Play Categories API
Query Google Play categories. Empty results and failures are free.
POST https://api.goanyapi.com/api/v1/googleplay/categoriesRequest 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}$ |
| lang | JSON body | string | Optional or conditional | — | Language code; pattern=^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8}){0,2}$ |
| includeKnown | JSON body | boolean | Optional or conditional | true | Include the known category list; used_known_fallback marks supplementation; enum=true, false |
includeKnown
| Accepted value | Meaning |
|---|---|
| true | true |
| false | false |
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": []
}
]
}Request example
POST /api/v1/googleplay/categories
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://play.google.com/store/apps"
}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.categories | array | categories: public business value; may be empty or absent |
| data.result.ssr_categories | array | ssr_categories: public business value; may be empty or absent |
| data.result.used_known_fallback | boolean | used_known_fallback: public business value; may be empty or absent |
Real response example
Captured: 2026-11-25T10:23:54Z. 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": {
"categories": [
"FAMILY",
"APPLICATION",
"ANDROID_WEAR",
"ART_AND_DESIGN",
"AUTO_AND_VEHICLES",
"BEAUTY",
"BOOKS_AND_REFERENCE",
"BUSINESS",
"COMICS",
"COMMUNICATION",
"DATING",
"EDUCATION",
"ENTERTAINMENT",
"EVENTS",
"FINANCE",
"FOOD_AND_DRINK",
"HEALTH_AND_FITNESS",
"HOUSE_AND_HOME",
"LIBRARIES_AND_DEMO",
"LIFESTYLE",
"MAPS_AND_NAVIGATION",
"MEDICAL",
"MUSIC_AND_AUDIO",
"NEWS_AND_MAGAZINES",
"PARENTING",
"PERSONALIZATION",
"PHOTOGRAPHY",
"PRODUCTIVITY",
"SHOPPING",
"SOCIAL",
"SPORTS",
"TOOLS",
"TRAVEL_AND_LOCAL",
"VIDEO_PLAYERS",
"WATCH_FACE",
"WEATHER",
"GAME",
"GAME_ACTION",
"GAME_ADVENTURE",
"GAME_ARCADE",
"GAME_BOARD",
"GAME_CARD",
"GAME_CASINO",
"GAME_CASUAL",
"GAME_EDUCATIONAL",
"GAME_MUSIC",
"GAME_PUZZLE",
"GAME_RACING",
"GAME_ROLE_PLAYING",
"GAME_SIMULATION",
"GAME_SPORTS",
"GAME_STRATEGY",
"GAME_TRIVIA",
"GAME_WORD"
],
"ssr_categories": [
"FAMILY",
"APPLICATION"
],
"used_known_fallback": true
}
}
}Pagination and billing
This operation does not support cursor pagination; do not invent a next page.
…
When neither inputs nor URL provide locale, defaults are CN and zh-CN. Set country and lang explicitly for another locale.
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 |