API para Google Maps: Avaliações
Obtenha até 100 avaliações do Google Maps de um local pelo ID do local, ordenadas como você precisar, em uma única resposta normalizada.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,0105 por requisição1 resultadoUS$ 0,006145 resultadosUS$ 0,008389 resultadosUS$ 0,0105 (teto)Você paga pelo que volta. Reduza o limite para pagar menos - e nenhuma requisição custa mais que o teto, não importa quanto volte.
com teto de US$ 0,0441 por requisição1 resultadoUS$ 0,000551 resultadosUS$ 0,0225101 resultadosUS$ 0,0441 (teto)Você paga pelo que volta. Reduza o limite para pagar menos - e nenhuma requisição custa mais que o teto, não importa quanto volte.
Teste
Faça sua primeira requisição
{
"data": {
"items": [
{
"author": "Alex Rivera",
"authorUrl": "https://example.com/page",
"avatarUrl": "https://example.com/image.jpg",
"createdUtc": 12.5,
"isLocalGuide": true,
"likes": 12500,
"origin": "example",
"ownerResponse": "Alex Rivera",
"ownerResponseAt": "Alex Rivera",
"placeId": "a1b2c3d4",
"publishedAgo": "2024-01-15T09:30:00Z",
"rating": 4.6,
"reviewId": "A short example description of this item.",
"reviewerId": "A short example description of this item.",
"reviewerReviewsCount": 12500,
"text": "A short example description of this item.",
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}interface MapsReviewsResponse {
data: {
items: {
author?: string;
authorUrl?: string;
avatarUrl?: string;
createdUtc?: number;
isLocalGuide?: boolean;
likes?: number;
origin?: string;
ownerResponse?: string;
ownerResponseAt?: string;
placeId?: string;
publishedAgo?: string;
rating?: number;
reviewId: string;
reviewerId?: string;
reviewerReviewsCount?: number;
text?: string;
url?: string;
}[];
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/maps.reviews \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":3,"placeId":"ChIJN1t_tDeuEmsRUsoyG83frY4"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| placeId | string | "ChIJN1t_tDeuEmsRUsoyG83frY4"O ID de local do Google Maps cujas avaliações serão buscadas (ex.: ChIJj61dQgK6j4AR4GeTYWZsKWw). |
| language | string | Código de idioma de duas letras para os detalhes das avaliações (ex.: en). |
| limit | integer | 3Número máximo de resultados a retornar (1-100, padrão 100). |
| postedLimit | enum | Retorna apenas avaliações publicadas neste intervalo: 24h (últimas 24 horas), week (últimos 7 dias), month (último mês) ou year (último ano). Omita para não filtrar por data. |
| requireFields | array | Opcional; se omitido, o roteamento não muda e a fonte mais barata atende. Informe os campos de saída que esta requisição precisa poder retornar, por exemplo `isLocalGuide` ou `placeId`, e ela só será atendida por uma fonte que retorne todos eles. Os campos que você não informar continuam sendo retornados sempre que a fonte que atende os tiver. Isso pode aumentar o seu preço: quando a fonte mais barata não consegue retornar um campo informado, uma fonte mais cara atende, e você recebe a cotação e é cobrado pelo preço dela. Um campo informado ainda pode vir ausente em uma avaliação que realmente não o tenha. Se você informar uma combinação de campos que nenhuma fonte retorna sozinha, a requisição é recusada como entrada inválida, sem cobrança. |
| reviewsFilterString | string | Retorna apenas avaliações cujo texto contenha esta palavra-chave ou frase (sem diferenciar maiúsculas de minúsculas). Omita para retornar todas as avaliações (ex.: parking). |
| sort | enum | Ordem em que as avaliações são retornadas (ex.: newest). |
| Resposta | ||
| data | object | The reviews result, or null when not found. |
| data.items | object[] | Review records: reviewer, star rating, review text (empty when the reviewer left only a rating), publish date, likes, and owner response where present. Populated whenever the provider has data for the entity. |
| data.items[].author | string | Reviewer display name. Populated whenever the provider has data for the entity. |
| data.items[].authorUrl | string | Google Maps contributor page URL for the reviewer. |
| data.items[].avatarUrl | string | Reviewer profile photo URL. |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.items[].isLocalGuidepode ser exigido | boolean | Whether the reviewer is a Google Local Guide. |
| data.items[].likespode ser exigido | integer | Number of likes on the review. |
| data.items[].originpode ser exigido | string | Source of the review (e.g. Google). |
| data.items[].ownerResponse | string | Owner's reply text; empty when there is none. |
| data.items[].ownerResponseAtpode ser exigido | string | ISO 8601 timestamp of the owner's reply; empty when there is none. |
| data.items[].placeIdpode ser exigido | string | Google Maps place id the review belongs to. Echoes the requested placeId; a lane that does not repeat it per review omits it. |
| data.items[].publishedAgo | string | Human-relative publish time (e.g. '7 hours ago'). |
| data.items[].rating | number | Star rating the reviewer gave (1-5). |
| data.items[].reviewId | string | Stable Google review id. Populated whenever the provider has data for the entity. |
| data.items[].reviewerId | string | Stable Google id of the reviewer. |
| data.items[].reviewerReviewsCount | integer | Total number of reviews the reviewer has written. |
| data.items[].text | string | Review text; empty string when the reviewer left only a star rating. |
| data.items[].url | string | Direct URL to the review on Google Maps. Populated whenever the provider has data for the entity. |
| found | boolean | Whether reviews were found. |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0035 |
| Preço /mil req. | USD | US$ 3,50 |
Dúvidas frequentes
Sobre o endpoint Avaliações da API para Google Maps
O endpoint Avaliações da AnyAPI para Google Maps retorna dados de Google Maps em JSON normalizado com uma chamada POST para /v1/run/maps.reviews. Obtenha até 100 avaliações do Google Maps de um local pelo ID do local, ordenadas como você precisar, em uma única resposta normalizada. A AnyAPI distribui cada requisição entre 4 fontes, com failover automático quando uma falha. Custa a partir de US$ 3,50 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,5% das chamadas ao endpoint Avaliações da API para Google Maps feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 16,2 segundos, em 16.512 chamadas medidas.