Google Play categories API
Every Google Play app and game category with Google’s id.
GET /v1/googleplay/categories1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/googleplay/categories",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "categories": [ { "slug": "art_and_design", "id": "ART_AND_DESIGN", "name": "Art & Design", "is_game": false }, { "slug": "auto_and_vehicles", "id": "AUTO_AND_VEHICLES", "name": "Auto & Vehicles", "is_game": false }, "… 51 more" ]}Response fields
200 with a GooglePlayCategories, in Google Play’s own field names (appId, score, ratings, installs).
| Field | Type | Description |
|---|---|---|
categories | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | Categories. |
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, book or film does not exist in that storefront. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Google Play is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Google Play is a trademark of Google LLC. We are not affiliated with or endorsed by Google.