API · Google
GET /google/business/reviews
A Google Maps place’s rating histogram and the reviews shown logged out.
| Request | GET /v1/google/business/reviews |
| Operation id | google.business.reviews |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Google Maps place’s rating histogram and the reviews shown logged out.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
place_id | string | no | Google place id. Example: ChIJG-gJw2vKRIYROWi2uwOp8QE. |
cid | string | no | Google Maps CID (maps?cid=…). Example: 140078896924485689. |
data_id | string | no | Google Maps feature id (0x…:0x…), as Maps URLs carry it. |
sort | "relevant" | "newest" | "highest" | "lowest" | no | One of relevant, newest, highest, lowest. |
since | string | no | Only reviews written on or after this date. |
query | string | no | Only reviews whose text mentions this. |
depth | integer | no | |
language | string | no | Interface language code (Google’s hl), default en. Example: de. |
country | string | no | Two-letter country (Google’s gl), default us. Example: gb. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The rating summary and reviews. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Google Maps place matches that reference. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Google is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.