Google Play search endpoint

GEThttps://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

ParameterTypeDefaultDescription
querystringrequiredApp name or keyword (1-200 characters)
languagestringenISO 639-1 language, optionally with a region (en, it, pt-BR): language of the results
countrystringusStore country, ISO 3166-1 alpha-2 (us, it, de...): the store to search
limitinteger 1-2010Apps per response
cursorstring-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

Shape
{ "data": Entity[], "meta": ListMeta }
Example (shortened)
{
  "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.

Example error
{
  "detail": {
    "error": "invalid_parameter",
    "message": "'english' is not a valid ISO 639-1 language code"
  }
}
HTTPerrorMeaning
400invalid_parameterA parameter is invalid: bad domain, stars, language or date, missing query, limit out of range...
401missing_api_keyNo API key in X-API-Key or Authorization: Bearer.
401invalid_api_keyThe key does not exist or has been revoked.
402insufficient_creditsYour credit balance is 0.
422invalid_cursorThe cursor is malformed, tampered with, or was created for other filters.
429rate_limit_exceededToo many requests per minute.
429insufficient_credits_retry_laterThe balance ran out on recent calls and the key is cooling down.
502upstream_changedThe source (Trustpilot, App Store or Google Play, named in the message) changed its format and the response could not be read.
503upstream_blockedThe source is temporarily blocking requests.
503feature_disabledThe endpoint is temporarily switched off by us (detail.feature names it). The call is not billed.
504upstream_timeoutThe 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.