GET
# Google Reviews Paginated API

Get up to 10 pages of Google Maps reviews for a data\_id in one request.

## Overview

This endpoint walks the pages of the [Google Reviews endpoint](/docs/endpoints/google-reviews) for you and returns them as one list. Each page holds up to 10 reviews, so `pages=10` returns about 100 reviews. The review objects, sorting and language are the same as on the Google Reviews endpoint.

#### Authentication

Send your StayAPI key in the X-API-Key header. Each successful request uses one credit, whatever the number of pages, and returns JSON; failures use RFC 7807 Problem Details.

### Endpoint URL

GET https://api.stayapi.com/v1/google\_reviews/reviews-paginated 

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| data\_id | string | Required | Google Maps data\_id for the place (e.g., 0x80c8c430cb5147bd:0x82f2c7c5d9d10d84): two hexadecimal numbers, each starting with 0x, joined by a colon. Get it from Search & Review or Google Maps Search. Anything else returns 400. |
| pages | integer | Optional | Number of pages to fetch, 1 to 10. Default: 1. Each page returns up to 10 reviews. |
| sort\_by | string | Optional | Sort order: most\_relevant (default), newest, highest\_rating, lowest\_rating. |
| hl | string | Optional | Language code for reviews (e.g., en, es, fr). Default: en. |

## Response fields

| Field | Type | Description |
| --- | --- | --- |
| data\_id | string | The data\_id you sent. |
| place\_name, place\_address | string or null | Name and address of the place. |
| total\_reviews | integer | Total number of reviews for the place on Google. |
| average\_rating | number or null | Overall rating of the place (1-5). |
| reviews | array | Reviews from every fetched page, in order. Same review object as the Google Reviews endpoint (rating, text, date, iso\_date, iso\_date\_source, photos, reviewer, likes, owner\_response). |
| total\_fetched\_reviews | integer | Number of reviews in this response. |
| pages\_requested | integer | The pages value you sent. |
| pages\_fetched | integer | Pages actually returned. Lower than pages\_requested when the place has no more reviews or a later page was unavailable. |
| has\_more | boolean | true when more reviews are available after the last fetched page. |
| next\_page\_token | string or null | Opaque token (starts with gt:) for the next page. Pass it unchanged to the Google Reviews endpoint with the same data\_id, sort\_by and hl. null when there are no further pages. |
| search\_metadata | object | Request timestamp (datetime). |

Some places, for example a harbour or a park, have only their first 5 reviews available; they return one page with `has_more: false`. Exact `likes`, `reviewer.reviews_count` and `reviewer.local_guide` are filled for up to 5 reviews on the first page only, as on the Google Reviews endpoint.

## More than 10 pages

While `has_more` is true, continue with `GET /v1/google_reviews/reviews`: send the same `data_id`, `sort_by` and `hl` plus the returned `next_page_token`, one page per request. See [Google Reviews pagination](/docs/endpoints/google-reviews).

## Error Handling

| Code | Type | Description |
| --- | --- | --- |
| 400 | INVALID\_PARAMETERS | Malformed data\_id (see the format above). |
| 404 | NO\_RESULTS | No reviews found for the provided data\_id. |
| 422 | VALIDATION\_ERROR | Missing data\_id, pages outside 1-10, or an unknown sort\_by. |
| 500 | INTERNAL\_ERROR | Server error. Please try again later. |
| 502 | UPSTREAM\_ERROR | Error fetching the first page from Google. |
| 503 | SERVICE\_UNAVAILABLE | Google reviews are temporarily unavailable. Retry after the Retry-After header. |
| 504 | UPSTREAM\_TIMEOUT, GATEWAY\_TIMEOUT | Google did not answer in time. Retry the request. |

## Related Endpoints

[ 
### Google Reviews

One page of reviews per request; continue here with next\_page\_token.

 ](/docs/endpoints/google-reviews)[ 
### Google Search and Review

Look up any place by name and get its data\_id plus the first page of reviews.

 ](/docs/endpoints/google-search-and-review)

Request

```curl
curl -X GET "https://api.stayapi.com/v1/google_reviews/reviews-paginated?data_id=0x80c8c430cb5147bd:0x82f2c7c5d9d10d84&pages=3&sort_by=newest" \
  -H "X-API-Key: YOUR_API_KEY"
```

Response

```json
{
  "success": true,
  "data_id": "0x80c8c430cb5147bd:0x82f2c7c5d9d10d84",
  "place_name": "Bellagio Hotel & Casino",
  "place_address": "3600 S Las Vegas Blvd, Las Vegas, NV 89109, United States",
  "total_reviews": 144222,
  "average_rating": 4.7,
  "reviews": [
    {
      "review_id": "ChdDSUhNMG9nS0VJQ0FnSURiOTlySm1RRRAB",
      "rating": 5.0,
      "text": "Amazing hotel with fantastic fountains. The rooms are beautiful and the staff is incredibly friendly...",
      "date": "a week ago",
      "iso_date": "2026-10-13T18:42:10Z",
      "iso_date_source": "review",
      "iso_date_of_last_edit": "2026-10-13T18:42:10Z",
      "photos": [],
      "reviewer": {
        "name": "John Smith",
        "profile_picture": "https://lh3.googleusercontent.com/...",
        "reviews_count": 25,
        "local_guide": false
      },
      "likes": 3,
      "owner_response": "Thank you for your wonderful review!",
      "owner_response_date": "3 days ago"
    }
  ],
  "total_fetched_reviews": 30,
  "pages_requested": 3,
  "pages_fetched": 3,
  "has_more": true,
  "next_page_token": "gt:Ci8IARInCgoAP72F9UtFIG__EhDNB2mzUoLEeIXrHW4AAAAAGgf_Al9UtFIGGAAiAA:30",
  "search_metadata": {
    "search_url": null,
    "datetime": "2026-12-02T10:15:42.788642",
    "total_time_taken": null
  }
}
```

```json
{
  "type": "https://api.stayapi.com/errors/invalid-parameters",
  "title": "Invalid Parameters",
  "status": 400,
  "detail": "data_id must be a Google Maps data_id like 0x80c8c430cb5147bd:0x82f2c7c5d9d10d84",
  "instance": "/v1/google_reviews/reviews-paginated",
  "provider": "google_reviews",
  "error_code": "INVALID_PARAMETERS",
  "correlation_id": "req_abc123"
}
```
