Google Play Search Suggestions API
Query Google Play suggest. Empty results and failures are free.
POST https://api.goanyapi.com/api/v1/googleplay/suggestRequest 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}$ |
| term | JSON body | string | Optional or conditional | — | Search keywords; minLength=1; maxLength=200 |
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": [
"term"
]
}
]
}Request example
POST /api/v1/googleplay/suggest
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://play.google.com/store/search?q=gta&c=apps",
"term": "gta"
}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.suggestions | array | suggestions: public business value; may be empty or absent |
Real response example
Captured: 2026-11-25T10:23:36Z. 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": {
"suggestions": [
"gta",
"gta5",
"国泰航空",
"gta 6",
"gtasa"
]
}
}
}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 |