API para G2: Avaliações
Obtenha avaliações de software do G2 para qualquer produto: nota em estrelas, o que os avaliadores gostam e não gostam, problemas resolvidos, segmento de mercado e os critérios de nota do G2 em JSON limpo.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,00446 por requisição1 resultadoUS$ 0,0001144 resultadosUS$ 0,0022688 resultadosUS$ 0,00446 (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,143 por requisição1 resultadoUS$ 0,0068850 resultadosUS$ 0,0745100 resultadosUS$ 0,143 (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",
"authorCountry": "Alex Rivera",
"createdUtc": 12.5,
"dislikes": "example",
"helpfulVotes": 42,
"id": "a1b2c3d4",
"likes": "example",
"marketSegment": "example",
"nps": 42,
"problemsSolved": "example",
"productId": "a1b2c3d4",
"productName": "Example title",
"productSlug": "alex_rivera",
"rating": 4.6,
"ratings": {
"easeOfAdmin": 42,
"easeOfDoingBusinessWith": 42,
"easeOfSetup": 42,
"easeOfUse": 42,
"meetsRequirements": 42,
"qualityOfSupport": 42
},
"responseType": "general",
"reviewSource": "https://example.com/page",
"sourceType": "https://example.com/page",
"status": "active",
"switchedFrom": true,
"title": "Example title",
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}interface G2ReviewsResponse {
data: {
items: {
author?: string;
authorCountry?: string;
createdUtc?: number;
dislikes?: string;
helpfulVotes?: number;
id: string;
likes?: string;
marketSegment?: string;
nps?: number;
problemsSolved?: string;
productId?: string;
productName?: string;
productSlug?: string;
rating: number;
ratings?: {
easeOfAdmin?: number;
easeOfDoingBusinessWith?: number;
easeOfSetup?: number;
easeOfUse?: number;
meetsRequirements?: number;
qualityOfSupport?: number;
};
responseType?: string;
reviewSource?: string;
sourceType?: string;
status?: string;
switchedFrom?: boolean | null;
title?: 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/g2.reviews \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| product | string | "hubspot-marketing-hub"Slug do produto no G2, por exemplo hubspot-marketing-hub. Uma URL completa de produto do G2 também é aceita e reduzida ao slug. |
| limit | integer | 50Número máximo de avaliações a retornar. O mínimo é 50 porque as fontes de avaliações do G2 não atendem páginas menores. A cobrança é por resultado retornado, então um limite menor custa menos. |
| 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 `productSlug`, 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. |
| sortBy | enum | "recent"Ordem das avaliações retornadas: mais recentes primeiro, mais úteis primeiro, nota mais alta ou mais baixa primeiro, ou a ordem padrão do próprio G2. |
| Resposta | ||
| data | object | |
| data.items | object[] | G2 reviews for the requested product. Populated whenever the provider has data for the entity. |
| data.items[].author | string | Reviewer's display name. G2 abbreviates most reviewers, for example Michael D. Populated whenever the provider has data for the entity. |
| data.items[].authorCountry | string | Country the reviewer is based in. |
| 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[].dislikes | string | The reviewer's answer to G2's question about what they dislike. Populated whenever the provider has data for the entity. |
| data.items[].helpfulVotes | integer | Number of readers who marked the review helpful. |
| data.items[].id | string | G2 identifier for the review. Populated whenever the provider has data for the entity. |
| data.items[].likes | string | The reviewer's answer to G2's question about what they like best. Populated whenever the provider has data for the entity. |
| data.items[].marketSegment | string | G2 market segment of the reviewer's company: Small-Business, Mid-Market, or Enterprise. Populated whenever the provider has data for the entity. |
| data.items[].nps | integer | Likelihood the reviewer would recommend the product, on a 0 to 10 scale. Populated whenever the provider has data for the entity. |
| data.items[].problemsSolved | string | The reviewer's answer to G2's question about what problems the product solves and how that benefits them. Populated whenever the provider has data for the entity. |
| data.items[].productId | string | G2's numeric product id, as a string. |
| data.items[].productName | string | Name of the product the review is about. Populated whenever the provider has data for the entity. |
| data.items[].productSlugpode ser exigido | string | G2 slug of the product the review is about. |
| data.items[].rating | number | Star rating the reviewer gave, on a 0.5 to 5 scale in half-star steps. Populated whenever the provider has data for the entity. |
| data.items[].ratings | object | G2's rating rubric, each on a 0 to 10 scale. A reviewer may skip any of them, and the last two are asked far less often. |
| data.items[].ratings.easeOfAdmin | integer | Rating for how easy the product is to administer. |
| data.items[].ratings.easeOfDoingBusinessWith | integer | Rating for how easy the vendor is to do business with. |
| data.items[].ratings.easeOfSetup | integer | Rating for how easy the product is to set up. |
| data.items[].ratings.easeOfUse | integer | Rating for how easy the product is to use. |
| data.items[].ratings.meetsRequirements | integer | Rating for how well the product meets the reviewer's requirements. |
| data.items[].ratings.qualityOfSupport | integer | Rating for the quality of the vendor's support. |
| data.items[].responseType | string | Form the review was submitted in, for example text or video. |
| data.items[].reviewSource | string | How G2 collected the review, for example organic or vendor. |
| data.items[].sourceType | string | How G2 collected the review (e.g. vendor, organic). |
| data.items[].status | string | Moderation status of the review on G2 (e.g. approved). |
| data.items[].switchedFrom | boolean | Whether the reviewer switched from another product. Null when G2 does not record an answer. |
| data.items[].title | string | Headline the reviewer gave the review. Populated whenever the provider has data for the entity. |
| data.items[].url | string | Canonical G2 URL for the review. Populated whenever the provider has data for the entity. |
| found | boolean | |
| 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 (teto) | USD | US$ 0,00446 |
| Preço /mil resultados | USD | US$ 0,050682 |
Dúvidas frequentes
Sobre o endpoint Avaliações da API para G2
O endpoint Avaliações da AnyAPI para G2 retorna dados de G2 em JSON normalizado com uma chamada POST para /v1/run/g2.reviews. Obtenha avaliações de software do G2 para qualquer produto: nota em estrelas, o que os avaliadores gostam e não gostam, problemas resolvidos, segmento de mercado e os critérios de nota do G2 em JSON limpo. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa US$ 0,05 por mil resultados, e nunca mais de US$ 0,00446 por requisição, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,0% das chamadas ao endpoint Avaliações da API para G2 feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 5,0 segundos, em 102 chamadas medidas.