> 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 Reviews

Structured Google data: send `urls`. Cursor-paginated, 1 credit per successful call.

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

## Overview

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

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/google-play-reviews/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "urls=com.supercell.brawlstars" \
  --max-time 210
```

```python
import requests

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

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

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

## Parameters

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `X-API-Key` (header) | string | yes | — | Your API key. |
| `urls` | string | yes | e.g. `com.supercell.brawlstars` | App package ID or Play Store URL. Required first call. |
| `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. |
| `sort_by` | string | no | `most_relevant` | most_relevant \| newest (alias most_recent) \| rating. Sent to Google Play (server-side sort). Locked in cursor. |
| `rating` | string | no | — | Only reviews with this star rating (1-5), filtered server-side. Locked in cursor. |
| `lang` | string | no | `en` | Store/review language (hl), e.g. en, fr, pt-BR. Locked in cursor. |
| `country` | string | no | `us` | Store country (gl), 2-letter code. Apps unavailable in that country return 400 not-found. 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.reviews`. Sample from the live catalog, arrays trimmed to 3 items.

```json
{
  "success": true,
  "data": {
    "urls": "com.spotify.music",
    "sort_by": "most_relevant",
    "rating": null,
    "lang": "en",
    "country": "us",
    "page_size": 20,
    "reviews": [
      {
        "review_id": "ad1d9be2-0959-4e98-8229-ee3ee4d9df0e",
        "rating": 3,
        "reviewer": "Angel Mead (Willow)",
        "date": "2026-04-10",
        "reviewed_in": "en",
        "body": "I love music, it's the only thing that keeps me focused on things like drawing, love Spotify, I COULD listen outside of the app and for the last few months of w...",
        "user_image": "https://play-lh.googleusercontent.com/a-/ALV-UjVrcmkir02OyHXAex-UOTZ-uWCYMB1hqqyK7OFMFN37PtvbEX22",
        "position": 1,
        "helpful_counts": 57,
        "app_id": "com.spotify.music",
        "timestamp": 1775779464,
        "language": "en",
        "input_url": "com.spotify.music"
      }
    ],
    "next_cursor": "eyJjIjoidXMiLCJpIjoiY29tLnNwb3RpZnkubXVzaWMiLCJsIjoiZW4iLCJuYyI6W251bGwsIkNyQUJJcWNCQVY4ZDFQM19uRkoyVXYwSVA2di1GMVNxSTBhRVQ4azczRGpNQU0xSEUxZWpScEw3Z3Y2MFZVVkZZ..."
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `urls` | string | `com.spotify.music` |  |
| `sort_by` | string | `most_relevant` |  |
| `rating` | null | `null` |  |
| `lang` | string | `en` |  |
| `country` | string | `us` |  |
| `page_size` | integer | `20` |  |
| `reviews` | array | `[1 item]` | The results. |
| `next_cursor` | string | `eyJjIjoidXMiLCJpIjoiY29tLnNwb3RpZnkubXVzaWMiL…` | Pass back as `cursor` for the next page. `null` on the last page. |
| `reviews[].review_id` | string | `ad1d9be2-0959-4e98-8229-ee3ee4d9df0e` |  |
| `reviews[].rating` | integer | `3` |  |
| `reviews[].reviewer` | string | `Angel Mead (Willow)` |  |
| `reviews[].date` | string | `2026-04-10` |  |
| `reviews[].reviewed_in` | string | `en` |  |
| `reviews[].body` | string | `I love music, it's the only thing that keeps …` |  |
| `reviews[].user_image` | string | `https://play-lh.googleusercontent.com/a-/ALV-…` |  |
| `reviews[].position` | integer | `1` |  |
| `reviews[].helpful_counts` | integer | `57` |  |
| `reviews[].app_id` | string | `com.spotify.music` |  |
| `reviews[].timestamp` | integer | `1775779464` |  |
| `reviews[].language` | string | `en` |  |
| `reviews[].input_url` | string | `com.spotify.music` |  |

## 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-reviews/"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
params = {"urls": "com.supercell.brawlstars"}
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("reviews") 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: `sort_by`, `rating`, `lang`, `country`. 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.
