API para Tripadvisor

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.

POST/v1/run/tripadvisor.reviews
Disponibilidade
100,00%
30d · 15 chamadas
Requisições
15
30d · semanal, últimas 12 sem.
Resposta
9,7s
mediana · 30d

Teste

Faça sua primeira requisição

ratingsarray
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.
Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "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 da resposta
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 30d
POST /v1/run/tripadvisor.reviews
curl -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"}'
CampoTipoValor de exemplo
Corpo da requisição
urlstring"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.
languagesarrayRetorna só avaliações nestes idiomas ISO 639-1 (ex.: ["en", "es"]); omita para todos os idiomas.
limitinteger3Número máximo de resultados a retornar (1-20, padrão 20).
ratingsarrayRetorna 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.
sincestringRetorna 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
dataobjectResult payload, or null when nothing was found.
data.itemsobject[]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[].authorstringReviewer display name.
data.items[].authorAvatarUrlstringReviewer profile photo URL.
data.items[].authorIdstringTripadvisor member identifier of the reviewer.
data.items[].authorUrlstringTripadvisor profile URL of the reviewer.
data.items[].authorVerifiedbooleanWhether Tripadvisor marks the reviewer as verified.
data.items[].createdUtcnumberUTC 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[].helpfulVotesintegerNumber of helpful votes the review received.
data.items[].idstringTripadvisor review identifier.
data.items[].languagestringLanguage code the review was written in.
data.items[].ownerResponseTextstringReply the place owner posted to this review.
data.items[].ownerResponseUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the owner replied.
data.items[].placeIdstringTripadvisor location identifier of the reviewed place.
data.items[].placeNamestringName of the reviewed place.
data.items[].ratingnumberStar rating (typically 1-5).
data.items[].stayUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the reviewer stayed or visited.
data.items[].textstringReview body text. Populated whenever the provider has data for the entity.
data.items[].titlestringReview title or headline. Populated whenever the provider has data for the entity.
data.items[].tripTypestringTrip type the reviewer selected (e.g. FAMILY, BUSINESS, COUPLES, NONE).
data.items[].urlstringCanonical review URL. Populated whenever the provider has data for the entity.
foundbooleanWhether 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çãoUSDUS$ 0,003
Preço /mil req.USDUS$ 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.

Custa a partir de US$ 3 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

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 resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

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. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.