API para ChatGPT

API para ChatGPT: Buscar

Faça ao ChatGPT uma pergunta embasada na web e receba uma resposta com citações das fontes. O ChatGPT compõe cada resposta por requisição, então o mesmo prompt retorna palavras diferentes e um conjunto diferente de fontes.

US$ 1,80/mil req., pague por requisição, sem assinatura.

ChatGPT
chatgpt.com/
ChatGPTShare

What's the best budget robot vacuum for pet hair in 2026?

For pet hair on a budget, the Roborock Q5 Pro and the Eufy X10 Pro Omni are the two most recommended models this year. The Roborock Q5 Pro pairs strong 5,500Pa suction with a self-emptying dock for under $400, while the Eufy X10 Pro Omni adds mopping and a wash-and-dry base for closer to $600. Reviewers consistently flag both as better at pulling hair off carpet than cheaper sub-$200 models.

The 5 Best Budget Robot Vacuums of 2026rtings.com
The Best Robot Vacuum for Pet Hairwirecutter.com
Ask anything
O que a API retornoucitations[0]
{
"title": "The 5 Best Budget Robot Vacuums of 2026",
"url": "https://www.rtings.com/vacuum/reviews/best/robot/budget",
"answerPosition": 1
}
Disponibilidade
99,75%
30d · 1.977 chamadas
Requisições
2.006
30d · semanal, últimas 12 sem.
Resposta
24,2s
mediana · 30d

Preços e provedores

Preços do endpoint Buscar da API para ChatGPT: uma API, 3 provedores intercambiáveis

O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.

Você paga
US$ 18,00
US$ 1,80/mil req., só pelo que você usar. Sem plano mensal.
Suas primeiras 55 requisições são grátis com o saldo inicial de US$ 0,10.

Teste

Obtenha Buscar do ChatGPT em uma só requisição

requireFieldsarray
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 `cited` ou `ads`, 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 um resultado 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.
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.

Este exemplo mostra 31 de 50 campos. Ver todos os campos

{
  "found": true,
  "data": {
    "prompt": "What's the best budget robot vacuum for pet hair in 2026?",
    "answer": "For pet hair on a budget, the Roborock Q5 Pro and the Eufy X10 Pro Omni are the two most recommended models this year. The Roborock Q5 Pro pairs strong 5,500Pa suction with a self-emptying dock for under $400, while the Eufy X10 Pro Omni adds mopping and a wash-and-dry base for closer to $600. Reviewers consistently flag both as better at pulling hair off carpet than cheaper sub-$200 models.",
    "answerMarkdown": "For pet hair on a budget, the **Roborock Q5 Pro** and the **Eufy X10 Pro Omni** are the two most recommended models this year. The Roborock Q5 Pro pairs strong 5,500Pa suction with a self-emptying dock for under $400, while the Eufy X10 Pro Omni adds mopping and a wash-and-dry base for closer to $600. Reviewers consistently flag both as better at pulling hair off carpet than cheaper sub-$200 models.",
    "webSearchTriggered": true,
    "model": "gpt-5-search",
    "searchQueries": [
      "best budget robot vacuum pet hair 2026",
      "roborock q5 pro vs eufy x10 pro omni"
    ],
    "citations": [
      {
        "title": "The 5 Best Budget Robot Vacuums of 2026",
        "url": "https://www.rtings.com/vacuum/reviews/best/robot/budget",
        "answerPosition": 1
      },
      {
        "title": "The Best Robot Vacuum for Pet Hair",
        "url": "https://www.wirecutter.com/reviews/best-robot-vacuum/",
        "answerPosition": 2
      }
    ],
    "searchResults": [
      {
        "url": "https://www.rtings.com/vacuum/reviews/best/robot/budget",
        "title": "The 5 Best Budget Robot Vacuums of 2026",
        "cited": true
      },
      {
        "url": "https://www.wirecutter.com/reviews/best-robot-vacuum/",
        "title": "The Best Robot Vacuum for Pet Hair",
        "cited": true
      },
      {
        "url": "https://www.reddit.com/r/robotvacuums/comments/budget_pet_hair",
        "title": "Budget robot vacuum recs for pet hair?",
        "cited": false
      }
    ],
    "shoppingCards": [
      {
        "title": "Roborock Q5 Pro Robot Vacuum",
        "price": 379.99,
        "currency": "USD",
        "merchants": "Amazon",
        "url": "https://www.amazon.com/dp/B0CQ5PRO01",
        "image": "https://m.media-amazon.com/images/I/61Q5ProVacuum.jpg",
        "rating": 4.5,
        "description": "5,500Pa suction with self-empty dock"
      },
      {
        "title": "Eufy X10 Pro Omni",
        "price": 599.99,
        "currency": "USD",
        "merchants": "Best Buy",
        "url": "https://www.bestbuy.com/site/eufy-x10-pro-omni/6591234.p",
        "image": "https://pisces.bbystatic.com/image2/eufy-x10-pro.jpg",
        "rating": 4.6,
        "description": "Mopping and wash-and-dry base station"
      }
    ],
    "entities": [
      {
        "title": "Roborock",
        "category": "Company",
        "url": "https://us.roborock.com",
        "domain": "roborock.com"
      },
      {
        "title": "Eufy",
        "category": "Company",
        "url": "https://www.eufy.com",
        "domain": "eufy.com"
      }
    ],
    "createdUtc": 1780000000
  }
}

Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.

Referência

Uma requisição, um formato de resposta.

Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.

Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d

Corpo da requisição

JSON, enviado via POST para este endpoint.

  • promptstring

    What's the best budget robot vacuum for pet hair in 2026?

    Pergunta ou prompt de pesquisa para o ChatGPT responder usando busca na web.

  • countrystring

    US

    País ISO-3166 alpha-2 de onde perguntar, ex.: US, GB, DE. O ChatGPT localiza tanto as páginas que busca quanto a resposta que escreve, então isso faz a diferença entre o que um comprador dos EUA e um do Reino Unido recebem como resposta.

  • requireAdsboolean

    Atende apenas a partir de uma fonte que consegue retornar os posicionamentos patrocinados exibidos com a resposta. Hoje só uma fonte se qualifica, então a requisição não tem para onde recorrer quando ela está indisponível.

  • requireEntitiesboolean

    Atende apenas a partir de uma fonte que consegue retornar marcas e outras entidades nomeadas reconhecidas na resposta. Hoje só uma fonte se qualifica, então a requisição não tem para onde recorrer quando ela está indisponível.

  • requireFieldsarray

    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 `cited` ou `ads`, 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 um resultado 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.

  • requirePlacesboolean

    Atende apenas a partir de uma fonte que consegue retornar os locais exibidos com a resposta. Com isso desligado, os locais ainda são retornados sempre que a fonte que respondeu consegue. Ligado, é selecionada a única fonte que os garante, que custa mais e não tem para onde recorrer se estiver indisponível.

  • requireShoppingCardsboolean

    true

    Atende apenas a partir de uma fonte que consegue retornar os cards de compras exibidos com a resposta. Com isso desligado, os cards de compras ainda são retornados sempre que a fonte que respondeu consegue. Ligado, é selecionada a única fonte que os garante, que custa mais e não tem para onde recorrer se estiver indisponível.

  • webSearchenum

    force

    Se deve obrigar o ChatGPT a navegar na web. force o instrui a buscar e é o padrão; auto deixa o ChatGPT decidir, o que é mais barato e responde de memória cerca de metade das vezes. Confira webSearchTriggered para saber o que realmente aconteceu: uma resposta escrita sem busca não é embasada na web.

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

each addata.ads[]

Sponsored placements ChatGPT displayed with the answer. null means the source that answered cannot report ads; an empty array means none were shown.

  • advertiserNamestringpode ser exigido

    Advertiser name.

  • advertiserUrlstringpode ser exigido

    Advertiser URL, tracking parameters stripped.

  • domainstringpode ser exigido

    Advertised domain.

  • imagestring

    Sponsored image URL.

  • snippetstringpode ser exigido

    Sponsored placement text.

  • titlestring

    Sponsored placement title.

  • urlstring

    Sponsored destination URL, tracking parameters stripped.

datadata

The normalized answer and citations, or null when no answer was found.

  • answerstring

    For pet hair on a budget, the Roborock Q5 Pro and the Eufy X10 Pro Omni are the two most recommended models this year. The Roborock Q5 Pro pairs strong 5,500Pa suction with a self-emptying dock for under $400, while the Eufy X10 Pro Omni adds mopping and a wash-and-dry base for closer to $600. Reviewers consistently flag both as better at pulling hair off carpet than cheaper sub-$200 models.

    The web-grounded answer as text. Populated whenever the provider has data for the entity.

  • answerMarkdownstring

    For pet hair on a budget, the **Roborock Q5 Pro** and the **Eufy X10 Pro Omni** are the two most recommended models this year. The Roborock Q5 Pro pairs strong 5,500Pa suction with a self-emptying dock for under $400, while the Eufy X10 Pro Omni adds mopping and a wash-and-dry base for closer to $600. Reviewers consistently flag both as better at pulling hair off carpet than cheaper sub-$200 models.

    The answer in Markdown when the engine returns a Markdown rendering, otherwise the same text as answer. Populated whenever the provider has data for the entity.

  • createdUtcnumberpode ser exigido

    1780000000

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. null means the source that answered does not report when it answered.

  • modelstringpode ser exigido

    gpt-5-search

    The ChatGPT model that produced the answer. null means the source that answered does not report it, which is not the same as an unknown model.

  • promptstring

    What's the best budget robot vacuum for pet hair in 2026?

    The prompt answered by ChatGPT.

  • searchQueriesstring[]pode ser exigido

    The web search queries ChatGPT ran to ground its answer. null means the source that answered cannot report them; an empty array means it searched with none recorded.

  • webSearchTriggeredbooleanpode ser exigido

    true

    Whether ChatGPT actually ran a web search before answering. ChatGPT decides this per session, and an answer written without one is not web-grounded. null means the source that answered cannot report it, which is not the same as false.

each citationdata.citations[]

Sources cited by the answer. Populated whenever the provider has data for the entity.

  • answerPositionintegerpode ser exigido

    1

    One-based answer section where ChatGPT cited this source. null means the source that answered cannot report the position.

  • titlestring

    The 5 Best Budget Robot Vacuums of 2026

    Source page title when supplied by the search engine.

  • urlstring

    https://www.rtings.com/vacuum/reviews/best/robot/budget

    Source page URL.

each entitydata.entities[]

Brands and other named entities recognized in the answer. null means the source that answered cannot report them; an empty array means none were identified.

  • categorystringpode ser exigido

    Company

    Entity category.

  • domainstringpode ser exigido

    roborock.com

    Entity domain.

  • titlestring

    Roborock

    Entity name.

  • urlstring

    https://us.roborock.com

    Entity URL, tracking parameters stripped.

each placedata.places[]

Places and local businesses ChatGPT displayed with the answer. null means the source that answered cannot report them; an empty array means none were shown.

  • addressstringpode ser exigido

    Place address as displayed.

  • categorystringpode ser exigido

    Place category shown by ChatGPT.

  • descriptionstringpode ser exigido

    Place description shown by ChatGPT.

  • namestringpode ser exigido

    Place or business name.

  • phonestringpode ser exigido

    Place phone number as displayed.

  • positionintegerpode ser exigido

    One-based position in the places block.

  • ratingnumber

    Place rating when the source reports one.

  • reviewCountintegerpode ser exigido

    Number of reviews behind the displayed rating.

  • websiteUrlstringpode ser exigido

    Place website URL with tracking parameters stripped; an id parameter is kept, since a page such as Facebook profile.php needs it.

each searchResultdata.searchResults[]

Pages ChatGPT retrieved while answering. A SUPERSET of citations: a page can be read and not cited. null means the source that answered cannot report them.

  • citedbooleanpode ser exigido

    true

    Whether this retrieved page made it into citations. false means ChatGPT read the page and chose not to cite it, which is a different and more actionable fact than the page being absent.

  • titlestring

    The 5 Best Budget Robot Vacuums of 2026

    Title of the retrieved page, empty when the source did not send one.

  • urlstring

    https://www.rtings.com/vacuum/reviews/best/robot/budget

    Canonical URL of the retrieved page, tracking parameters stripped.

each shoppingCarddata.shoppingCards[]

Products ChatGPT displayed with the answer. null means the source that answered cannot report shopping cards; an empty array means none were shown.

  • currencystringpode ser exigido

    USD

    ISO 4217 currency code when the source reports it.

  • descriptionstringpode ser exigido

    5,500Pa suction with self-empty dock

    Product description shown on the shopping card.

  • imagestring

    https://m.media-amazon.com/images/I/61Q5ProVacuum.jpg

    Product image URL.

  • merchantsstring

    Amazon

    Merchant name shown on the shopping card.

  • pricenumber

    379.99

    Displayed product price as a number when the source reports one.

  • ratingnumber

    4.5

    Product rating when the source reports one.

  • titlestring

    Roborock Q5 Pro Robot Vacuum

    Product name shown by ChatGPT.

  • urlstring

    https://www.amazon.com/dp/B0CQ5PRO01

    Product page URL with its query kept, since the query can name the product variant (e.g. color and size).

top level
  • foundboolean

    true

    Whether ChatGPT returned a web-grounded answer.

  • 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.

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Buscar da API para ChatGPT

O endpoint Buscar da AnyAPI para ChatGPT retorna dados de ChatGPT em JSON normalizado com uma chamada POST para /v1/run/chatgpt.search. Faça ao ChatGPT uma pergunta embasada na web e receba uma resposta com citações das fontes. O ChatGPT compõe cada resposta por requisição, então o mesmo prompt retorna palavras diferentes e um conjunto diferente de fontes. A AnyAPI distribui cada requisição entre 3 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,80 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,7% das chamadas ao endpoint Buscar da API para ChatGPT feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 24,2 segundos, em 1.977 chamadas medidas.

Custa a partir de US$ 1,80 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.

Faça ao ChatGPT uma pergunta embasada na web e receba uma resposta com citações das fontes. O ChatGPT compõe cada resposta por requisição, então o mesmo prompt retorna palavras diferentes e um conjunto diferente de fontes. 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, 99,7% das chamadas ao endpoint Buscar da API para ChatGPT feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 24,2 segundos, em 1.977 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.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre 55 chamadas de Buscar do ChatGPT a US$ 0,0018 cada.

A AnyAPI consulta a próxima das suas 3 fontes na mesma requisição, começando pela mais barata, então a queda de uma fonte não derruba sua chamada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/chatgpt.search com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.