---
title: "Google Play Search API: Find Android Apps | ScrapeReviews"
description: "Search Google Play by app name or keyword in any country and language: package name, rating, developer, installs and price as JSON, one GET request."
url: "https://scrapereviews.com/docs/api/googleplay-search"
markdown: "https://scrapereviews.com/docs/api/googleplay-search.md"
---

# Google Play search endpoint

GET`https://api.scrapereviews.com/v1/googleplay/apps/search`1 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](https://scrapereviews.com/docs/authentication.md)).

## Example request

```bash
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

```text
{ "data": Entity[], "meta": ListMeta }
```

Example (shortened)

```jsonc
{
  "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](https://scrapereviews.com/docs/api.md#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](https://scrapereviews.com/pricing.md) 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

```json
{
  "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](https://scrapereviews.com/docs/errors.md).

## 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](https://scrapereviews.com/docs/api/googleplay-app.md) GET /v1/googleplay/apps/{app\_id}: An Android app: rating, ratings count and distribution, installs, category, developer, price.
- [Google Play reviews](https://scrapereviews.com/docs/api/googleplay-reviews.md) 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.
