API para Tripadvisor: Avaliações
Obtenha as avaliações mais recentes de qualquer hotel, restaurante ou atração do Tripadvisor pela URL da página: nota, texto, data e detalhes da viagem em JSON normalizado.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,011 por requisição1 resultadoUS$ 0,0005510 resultadosUS$ 0,005520 resultadosUS$ 0,011 (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",
"authorAvatarUrl": "https://example.com/image.jpg",
"authorId": "Alex Rivera",
"authorUrl": "https://example.com/page",
"authorVerified": true,
"createdUtc": 12.5,
"helpfulVotes": 42,
"id": "a1b2c3d4",
"language": "en",
"ownerResponseText": "Alex Rivera",
"ownerResponseUtc": 12.5,
"placeId": "a1b2c3d4",
"placeName": "Example title",
"rating": 4.6,
"stayUtc": 12.5,
"text": "A short example description of this item.",
"title": "Example title",
"tripType": "general",
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}interface TripadvisorReviewsResponse {
data: {
items: {
author?: string;
authorAvatarUrl?: string;
authorId?: string;
authorUrl?: string;
authorVerified?: boolean;
createdUtc?: number;
helpfulVotes?: number;
id?: string;
language?: string;
ownerResponseText?: string;
ownerResponseUtc?: number;
placeId?: string;
placeName?: string;
rating: number;
stayUtc?: number;
text: string;
title?: string;
tripType?: 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/tripadvisor.reviews \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":3,"url":"https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Plaza-New_York_City_New_York.html"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| url | string | "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Plaza-New_York_City_New_York.html"URL da página do hotel, restaurante ou atração no Tripadvisor. |
| languages | array | Retorna só avaliações nestes idiomas ISO 639-1 (ex.: ["en", "es"]); omita para todos os idiomas. |
| limit | integer | 3Número máximo de resultados a retornar (1-20, padrão 20). |
| ratings | array | Retorna só avaliações cuja nota em bolhas esteja neste conjunto (ex.: ["5", "4"] para avaliações de 4 e 5 estrelas); omita para todas as notas. |
| since | string | Retorna só avaliações mais recentes que esta data, no formato YYYY-MM-DD ou uma janela relativa como '3 months' (ex.: 2026-01-01). |
| Resposta | ||
| data | object | Result payload, or null when nothing was found. |
| data.items | object[] | Review records for the place: rating, title, review text, publish date, trip type, and reviewer details. Populated whenever the provider has data for the entity. |
| data.items[].author | string | Reviewer display name. |
| data.items[].authorAvatarUrl | string | Reviewer profile photo URL. |
| data.items[].authorId | string | Tripadvisor member identifier of the reviewer. |
| data.items[].authorUrl | string | Tripadvisor profile URL of the reviewer. |
| data.items[].authorVerified | boolean | Whether Tripadvisor marks the reviewer as verified. |
| 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[].helpfulVotes | integer | Number of helpful votes the review received. |
| data.items[].id | string | Tripadvisor review identifier. |
| data.items[].language | string | Language code the review was written in. |
| data.items[].ownerResponseText | string | Reply the place owner posted to this review. |
| data.items[].ownerResponseUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the owner replied. |
| data.items[].placeId | string | Tripadvisor location identifier of the reviewed place. |
| data.items[].placeName | string | Name of the reviewed place. |
| data.items[].rating | number | Star rating (typically 1-5). |
| data.items[].stayUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the reviewer stayed or visited. |
| data.items[].text | string | Review body text. Populated whenever the provider has data for the entity. |
| data.items[].title | string | Review title or headline. Populated whenever the provider has data for the entity. |
| data.items[].tripType | string | Trip type the reviewer selected (e.g. FAMILY, BUSINESS, COUPLES, NONE). |
| data.items[].url | string | Canonical review URL. Populated whenever the provider has data for the entity. |
| found | boolean | Whether any reviews were found for the place. |
| 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,003 |
| Preço /mil req. | USD | US$ 3,00 |
Dúvidas frequentes
Sobre o endpoint Avaliações da API para Tripadvisor
O endpoint Avaliações da AnyAPI para Tripadvisor retorna dados de Tripadvisor em JSON normalizado com uma chamada POST para /v1/run/tripadvisor.reviews. Obtenha as avaliações mais recentes de qualquer hotel, restaurante ou atração do Tripadvisor pela URL da página: nota, texto, data e detalhes da viagem em JSON normalizado. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 3 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Avaliações da API para Tripadvisor feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 9,7 segundos, em 15 chamadas medidas.