# Google Play Search

Search the public Google Play store and return the result cards with product id, title, store link, rating, price, thumbnail and, for apps, developer, category and install count.

- **Documentation:** [https://scrappa.co/docs/google-play-api/google_play_search](https://scrappa.co/docs/google-play-api/google_play_search)
- **API group:** Google Play API
- **Endpoint:** `GET https://scrappa.co/api/google/play/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | Search terms, for example chess. The upstream page renders the results it finds for the query. |
| `store` | string | No | Store vertical: apps (default), games, movies or books. The apps store covers all application results, games included. |
| `hl` | string | No | Interface language code (e.g. en, de). |
| `gl` | string | No | Country code for the storefront (2 letters, e.g. us, de). German with de changes prices to EUR. |
| `price` | integer | No | Price facet: 1 for free results, 2 for paid results. Not available on the games vertical. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/google/play/search?q=chess&store=apps"
```

## Example response

```json
{
    "search_parameters": {
        "engine": "google_play_search",
        "q": "chess",
        "store": "apps",
        "hl": "en",
        "gl": "US",
        "price": null
    },
    "organic_results": [
        {
            "product_id": "com.chess",
            "title": "Chess - Play and Learn Online",
            "link": "https://play.google.com/store/apps/details?id=com.chess",
            "rating": 4.686131,
            "price": {
                "amount": 0,
                "currency": "USD"
            },
            "thumbnail": "https://play-lh.googleusercontent.com/JO7Z75U1oypXpNTAklroO5emKWePni0sK9zn1E_nRgqmbAHoMxz1oQHDfSTpcycdht92dTBejkpEDXttGeCWN74",
            "developer": "Chess.com",
            "category": "Board",
            "installs": "100,000,000+"
        },
        {
            "product_id": "com.gamovation.chessclubpilot",
            "title": "Chess Club Pilot",
            "link": "https://play.google.com/store/apps/details?id=com.gamovation.chessclubpilot",
            "rating": 4.66836,
            "thumbnail": "https://play-lh.googleusercontent.com/ZBdqAfdZMNnMbw0XGoYgbPlkT70BwwxVl1LdsO_EWI7ouvly-5Jsh0QraHeSKvyVPunOuz6Gf1luiihQU7MA",
            "developer": "Gamovation",
            "category": "Board",
            "installs": "100,000+"
        }
    ]
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The q, store, hl, gl or price parameter failed validation. |
| 503 | Google Play Upstream Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
