API para Trustpilot: Avaliações
Obtenha avaliações do Trustpilot de qualquer empresa pelo nome da marca: notas em estrelas, texto das avaliações, datas e dados de quem avaliou, em JSON limpo.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,165 por requisição1 resultadoUS$ 0,03366100 resultadosUS$ 0,099200 resultadosUS$ 0,165 (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.
Como chamar
Faça sua primeira requisição
import os, requests res = requests.post( "https://api.getanyapi.com/v1/run/trustpilot.reviews", headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"}, json={ "company": "" }, ) print(res.json())
{
"data": {
"items": [
{
"author": "Alex Rivera",
"authorCountry": "Alex Rivera",
"avatarUrl": "https://example.com/image.jpg",
"createdUtc": 12.5,
"language": "en",
"ownerResponseText": "Alex Rivera",
"ownerResponseUtc": 12.5,
"rating": 4.6,
"reviewerReviewsCount": 12500,
"text": "A short example description of this item.",
"title": "Example title",
"url": "https://example.com/page",
"verified": true
}
]
},
"found": true,
"reason": "not_found"
}interface TrustpilotReviewsResponse {
data: {
items: {
author?: string;
authorCountry?: string;
avatarUrl?: string | null;
createdUtc?: number;
language?: string;
ownerResponseText?: string;
ownerResponseUtc?: number;
rating: number;
reviewerReviewsCount?: number;
text: string;
title?: string;
url?: string;
verified?: boolean;
}[];
} | 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/trustpilot.reviews \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"company":"stripe.com","limit":3}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| company | string | "stripe.com"Nome da marca ou URL da página de avaliações do Trustpilot (ex.: nike ou https://www.trustpilot.com/review/nike.com). |
| countries | array | Retorna só avaliações de pessoas nestes países ISO 3166-1 alpha-2 (ex.: ["US", "GB"]). Omita este campo para todos os países e para ficar no preço mais barato; um filtro de país direciona para a fonte mais cara. |
| languages | array | Retorna só avaliações nestes idiomas ISO 639-1 (ex.: ["en", "de"]). Omita este campo para todos os idiomas e para ficar no preço mais barato; um filtro de idioma direciona para a fonte mais cara. |
| limit | integer | 3Número máximo de resultados a retornar (1-200, padrão 200). O Trustpilot oferece no máximo 200 avaliações por empresa. |
| requireFields | array | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `avatarUrl`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review whose reviewer has no photo. |
| sortBy | enum | Ordenação das avaliações: auto, relevancy ou recent (ex.: recent). |
| stars | string | Limita as avaliações a uma única nota de 1 a 5 estrelas (ex.: 5). |
| startDate | string | Retorna só avaliações nesta data ou depois dela, inclusive, no formato YYYY-MM-DD (ex.: 2026-01-01). Omita este campo para ficar no preço mais barato; uma data mínima direciona para a fonte mais cara. |
| verifiedOnly | boolean | Defina true para retornar só avaliações verificadas (ex.: true). Omita este campo, ou envie false, para ficar no preço mais barato; true direciona para uma fonte mais cara. |
| Resposta | ||
| data | object | Result payload, or null when nothing was found. |
| data.items | object[] | Review records: star rating, review title and text, date, reviewer name and country, and company reply when present. Populated whenever the provider has data for the entity. |
| data.items[].author | string | Display name of the reviewer. |
| data.items[].authorCountry | string | Two-letter country code of the reviewer. |
| data.items[].avatarUrlpode ser exigido | string | URL of the reviewer's avatar image, or null when the reviewer has no photo. |
| 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[].language | string | Language code of the review text, e.g. en. |
| data.items[].ownerResponseText | string | The company's public reply to the review. Absent when the company has not replied. |
| data.items[].ownerResponseUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the company replied; absent when it has not. |
| data.items[].rating | number | Star rating (1-5). |
| data.items[].reviewerReviewsCount | integer | Number of reviews the reviewer has written on Trustpilot. |
| 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[].url | string | Canonical review URL. Populated whenever the provider has data for the entity. |
| data.items[].verified | boolean | Whether the reviewer is verified. |
| found | boolean | Whether any reviews were found for the company. |
| 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,0008 |
| Preço /mil req. | USD | US$ 0,80 |
Dúvidas frequentes
Sobre o endpoint Avaliações da API para Trustpilot
O endpoint Avaliações da AnyAPI para Trustpilot retorna dados de Trustpilot em JSON normalizado com uma chamada POST para /v1/run/trustpilot.reviews. Obtenha avaliações do Trustpilot de qualquer empresa pelo nome da marca: notas em estrelas, texto das avaliações, datas e dados de quem avaliou, em JSON limpo. A AnyAPI distribui cada requisição entre 4 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,80 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 Trustpilot feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 8,5 segundos, em 871 chamadas medidas.