> Documentation index: https://docs.scrapier.io/llms.txt
> Auth: header `X-API-Key: <key>` · Base: https://api.scrapier.io/api/v2 · Synchronous; paginate with `cursor` ← `data.next_cursor`.

# Google Play Scraper

Structured Google data: every input is optional. Cursor-paginated, 1 credit per successful call.

`GET|POST https://api.scrapier.io/api/v2/google-play-scraper/` · 1 credit per successful call · Cursor-paginated · Long-running

## Overview

Call `GET /api/v2/google-play-scraper/`. The results are in `data.apps`; send `data.next_cursor` back as `cursor` to get the next page. 6 optional parameters refine the call (see Parameters).

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/google-play-scraper/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --max-time 210
```

```python
import requests

resp = requests.get(
    "https://api.scrapier.io/api/v2/google-play-scraper/",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={},
    timeout=210,
)
body = resp.json()
if not resp.ok:
    raise RuntimeError(body.get("error") or body.get("detail"))

print(body["data"]["apps"])
```

POST with a JSON body works too (same parameters; the body is merged over the query string).

## Parameters

> **Note:** No parameter is strictly required, but send at least the inputs shown in the example.

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `X-API-Key` (header) | string | yes | — | Your API key. |
| `action` | string | no | `scrapeAppSearch` | scrapeAppSearch \| scrapeAppUrls \| scrapeSimilarApps. One of: `scrapeAppSearch`, `scrapeAppUrls`, `scrapeSimilarApps`. Locked in cursor. |
| `queries` | string | no | `chatgpt` | Search keyword (action=scrapeAppSearch). Required first call for that mode. |
| `urls` | string | no | — | App URL / package id (action=scrapeAppUrls/scrapeSimilarApps). Required first call for those modes. |
| `cursor` | string | no | — | Pagination cursor returned in the previous response's `next_cursor`. Pass it back unchanged to fetch the next page. When `next_cursor` is null, you have reached the last page. |
| `country` | string | no | `us` | Storefront country. Locked in cursor. |
| `language` | string | no | `en` | Language. Locked in cursor. |
| `use_proxy` | boolean | no | `true` | Route the request through Scrapier's residential proxy pool. Default: `true`. Leave as is unless support tells you otherwise. |
| `raw_data` | boolean | no | `false` | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under `raw_responses`, in place of the formatted items. When false (default) you get the formatted output. Pagination (`cursor` / `next_cursor`) works the same in both modes. |

## Response

HTTP 200. Results are in `data.apps`. Sample from the live catalog, arrays trimmed to 3 items.

```json
{
  "success": true,
  "data": {
    "action": "scrapeAppSearch",
    "input": "chatgpt",
    "page": 1,
    "page_size": 10,
    "apps": [
      {
        "title": "ChatGPT",
        "app_id": "com.openai.chatgpt",
        "developer": "OpenAI",
        "developer_id": "7577165439232992817",
        "score": 4.77955,
        "score_text": "4.8",
        "ratings": 60180029,
        "reviews": 193273,
        "installs": "1,000,000,000+",
        "min_installs": 1000000000,
        "price": 0,
        "free": true,
        "currency": "USD",
        "genre": "Productivity",
        "genre_id": "PRODUCTIVITY",
        "icon": "https://play-lh.googleusercontent.com/T9J8e9oxxPd600j_KPM4KK2GHfNpUpGBdTy8lHPXBXpOUfGusRuZXj0UMgFNrP8we6LVt9V-AibEgcLootE6VK4",
        "content_rating": "Teen",
        "released": "Jul 21, 2023",
        "version": "1.2026.251",
        "developer_email": "support@openai.com",
        "developer_website": "https://help.openai.com",
        "url": "https://play.google.com/store/apps/details?id=com.openai.chatgpt&hl=en&gl=us",
        "action": "scrapeAppUrls",
        "input_url": "com.openai.chatgpt",
        "scraped_at": "2026-09-15T10:39:18.860Z"
      }
    ],
    "next_cursor": "eyJhIjoic2NyYXBlQXBwU2VhcmNoIiwidiI6ImNoYXRncHQiLCJwIjoxfQ"
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `action` | string | `scrapeAppSearch` |  |
| `input` | string | `chatgpt` |  |
| `page` | integer | `1` |  |
| `page_size` | integer | `10` |  |
| `apps` | array | `[1 item]` | The results. |
| `next_cursor` | string | `eyJhIjoic2NyYXBlQXBwU2VhcmNoIiwidiI6ImNoYXRnc…` | Pass back as `cursor` for the next page. `null` on the last page. |
| `apps[].title` | string | `ChatGPT` |  |
| `apps[].app_id` | string | `com.openai.chatgpt` |  |
| `apps[].developer` | string | `OpenAI` |  |
| `apps[].developer_id` | string | `7577165439232992817` |  |
| `apps[].score` | number | `4.77955` |  |
| `apps[].score_text` | string | `4.8` |  |
| `apps[].ratings` | integer | `60180029` |  |
| `apps[].reviews` | integer | `193273` |  |
| `apps[].installs` | string | `1,000,000,000+` |  |
| `apps[].min_installs` | integer | `1000000000` |  |
| `apps[].price` | integer | `0` |  |
| `apps[].free` | boolean | `true` |  |
| `apps[].currency` | string | `USD` |  |
| `apps[].genre` | string | `Productivity` |  |
| `apps[].genre_id` | string | `PRODUCTIVITY` |  |
| `apps[].icon` | string | `https://play-lh.googleusercontent.com/T9J8e9o…` |  |
| `apps[].content_rating` | string | `Teen` |  |
| `apps[].released` | string | `Jul 21, 2023` |  |
| `apps[].version` | string | `1.2026.251` |  |
| `apps[].developer_email` | string | `support@openai.com` |  |
| `apps[].developer_website` | string | `https://help.openai.com` |  |
| `apps[].url` | string | `https://play.google.com/store/apps/details?id…` |  |
| `apps[].action` | string | `scrapeAppUrls` |  |
| `apps[].input_url` | string | `com.openai.chatgpt` |  |
| `apps[].scraped_at` | string | `2026-09-15T10:39:18.860Z` |  |

## Pagination

Pass `data.next_cursor` back as `cursor` until it is `null`. Required inputs are ignored once a cursor is sent. Each page is one billed call.

```python
import requests

URL = "https://api.scrapier.io/api/v2/google-play-scraper/"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
params = {}
items = []

for _ in range(10):  # each page is one billed call
    resp = requests.get(URL, headers=HEADERS, params=params, timeout=210)
    resp.raise_for_status()
    data = resp.json()["data"]
    items.extend(data.get("apps") or [])
    if not data.get("next_cursor"):  # None = last page
        break
    params = {"cursor": data["next_cursor"]}
```

## Errors

Failed calls are free. Branch on HTTP status; the message is in `error` (or `detail`). See https://docs.scrapier.io/errors.md

- **400** Bad input. The exact message varies by endpoint. `{"success":false,"error":"…"}`
- **402** Balance below the endpoint's price. `{"error":"Insufficient credits. Buy more to scrape more.","balance":1,"required":2}`
- **403** Invalid or unknown API key. `{"detail":"Authentication service unavailable or invalid API key."}`
- **429** Throttled — wait for Retry-After. `{"detail":"Request was throttled. Expected available in N seconds."}`
- **404** unknown slug · **503** busy (retry after `Retry-After`) · **5xx** upstream failure or timeout (retry with backoff).

## Notes

- Locked into the cursor: `action`, `country`, `language`. Set them on the first call; later pages reuse them.
- This endpoint can take several minutes. Set your client timeout to at least 210 seconds.

## Related

- [Google Maps Places](https://docs.scrapier.io/api-reference/google/google-maps.md): Search Google Maps for places matching a keyword around a location and get names, ratings, addresses and place IDs.
- [Google Ad Library Leads](https://docs.scrapier.io/api-reference/google/google-ad-library-leads.md): Structured Google data: send `urls`. Single lookup, 1 credit per successful call.
- [Google Ad Transparency](https://docs.scrapier.io/api-reference/google/google-ads-transparency.md): Structured Google data: send `urls`. Cursor-paginated, 1 credit per successful call.
- [Google Autocomplete](https://docs.scrapier.io/api-reference/google/google-autocomplete.md): Structured Google data: send `queries`. Cursor-paginated, 1 credit per successful call.
