Google Play search endpoint
https://api.scrapereviews.com/v1/googleplay/apps/search1 credit per call, up to 20 apps (also when nothing matches)The Google Play search endpoint finds Android apps by name or keyword. Each result is a unified Entity whose id is the package name to pass to the app and reviews endpoints, with the rating, the developer, the icon, the category and the price; the top result also carries the full details.
Google Play returns one page of about 20 to 30 matches per search; the API returns up to 20 per call and meta.next_cursor reads the rest.
Parameters
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| query | string | required | App name or keyword (1-200 characters) |
| language | string | en | ISO 639-1 language, optionally with a region (en, it, pt-BR): language of the results |
| country | string | us | Store country, ISO 3166-1 alpha-2 (us, it, de...): the store to search |
| limit | integer 1-20 | 10 | Apps per response |
| cursor | string | - | meta.next_cursor of the previous response, with the same parameters |
Authenticate with your API key in the X-API-Key header or as Authorization: Bearer (see authentication).
Example request
curl "https://api.scrapereviews.com/v1/googleplay/apps/search?query=habit%20tracker&language=en&country=us" \
-H "X-API-Key: sr_your_api_key"Response
{ "data": Entity[], "meta": ListMeta }{
"data": [
{ "source": "googleplay", "type": "app", "id": "org.isoron.uhabits", "handle": "org.isoron.uhabits",
"name": "Loop Habit Tracker", "url": "https://play.google.com/store/apps/details?id=org.isoron.uhabits",
"rating": 4.7, "rating_scale": 5, "review_count": null,
"categories": [{ "id": null, "name": "Productivity", "is_primary": true }],
"extra": { "country": "US", "language": "en", "developer": "Álinson S. Xavier", "installs": "5,000,000+",
"price": 0.0, "currency": "USD", "free": true } }
],
"meta": { "credits_used": 1, "cache_hit": false, "count": 10, "total": 30,
"has_more": true, "next_cursor": "eyJ..." }
}Every field is described in the response models. Successful responses also carry the X-Credits-Used header.
Cost
Search costs 1 credit per call, up to 20 apps (also when nothing matches). A search that matches nothing returns an empty list and costs 1 credit; errors cost nothing.
Only successful calls are billed: every error costs 0 credits. You get 30 free calls every month; see pricing for credit packs.
Errors
Errors come with an HTTP status and this JSON body: branch on detail.error, show detail.message to humans.
{
"detail": {
"error": "invalid_parameter",
"message": "'english' is not a valid ISO 639-1 language code"
}
}| HTTP | error | Meaning |
|---|---|---|
| 400 | invalid_parameter | A parameter is invalid: bad domain, stars, language or date, missing query, limit out of range... |
| 401 | missing_api_key | No API key in X-API-Key or Authorization: Bearer. |
| 401 | invalid_api_key | The key does not exist or has been revoked. |
| 402 | insufficient_credits | Your credit balance is 0. |
| 422 | invalid_cursor | The cursor is malformed, tampered with, or was created for other filters. |
| 429 | rate_limit_exceeded | Too many requests per minute. |
| 429 | insufficient_credits_retry_later | The balance ran out on recent calls and the key is cooling down. |
| 502 | upstream_changed | The source (Trustpilot, App Store or Google Play, named in the message) changed its format and the response could not be read. |
| 503 | upstream_blocked | The source is temporarily blocking requests. |
| 503 | feature_disabled | The endpoint is temporarily switched off by us (detail.feature names it). The call is not billed. |
| 504 | upstream_timeout | The source did not answer in time. |
What to do for each code: error handling.
Use cases
- Find the package name of an app from its name before reading its reviews.
- See which apps show up for a keyword in a given country and language.
Related endpoints
- Google Play app GET /v1/googleplay/apps/{app_id}: An Android app: rating, ratings count and distribution, installs, category, developer, price.
- Google Play reviews GET /v1/googleplay/apps/{app_id}/reviews: The reviews of an Android app in one language, with star and date filters and developer replies.
ScrapeReviews is an independent service and is not affiliated with or endorsed by Google.