API ChatGPT: respostas e citações

Colete em JSON as respostas, citações e buscas vistas pelos usuários no ChatGPT para medir GEO.

ChatGPT web search answer comparing wireless earbuds in a table with source links.

Estrutura da resposta

Veja os campos estruturados retornados por este mecanismo: resposta, fontes e buscas quando disponíveis.

  • text, markdown: the captured answer, ready to store alongside your prompt.
  • sources: cited URLs and the source metadata available in that session.
  • searchQueries: searches issued during the answer; an empty list does not mean your submitted prompt was lost.
  • shoppingCards, model: conditional product cards and the model identifier reported by the session.
{
  "task": {
    "taskType": "CHATGPT"
  },
  "response": {
    "sources": [
      {
        "url": "https://www.wired.com/gallery/best-noise-canceling-earbuds/",
        "label": "Best Noise-Canceling Earbuds: Bose, Sony, Apple, and More | WIRED",
        "footnote": false,
        "position": 1,
        "attribution": "WIRED",
        "description": "",
        "datePublished": "March 29, 2026"
      },
      {
        "url": "https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds",
        "label": "Best noise-canceling earbuds in 2026: Tested and reviewed | Tom's Guide",
        "footnote": false,
        "position": 2,
        "attribution": "Tom's Guide",
        "description": "",
        "datePublished": "July 24, 2026"
      },
      {
        "url": "https://www.wired.com/story/best-wireless-earbuds/",
        "label": "Best Wireless Earbuds We’d Buy Right Now (2026): Apple, Sony, Bose, and More | WIRED",
        "footnote": false,
        "position": 3,
        "attribution": "WIRED",
        "description": "",
        "datePublished": "August 10, 2026"
      }
    ],
    "searchQueries": [
      "best wireless earbuds commuting noise cancellation battery life Sony Bose Apple"
    ],
    "text": "For commuting, I’d prioritize strong ANC (trains, buses, traffic) and 6+ hours of playback. These three are top picks: ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\n| Earbuds | Noise cancellation | Battery life (ANC on) |\n|---|---|---|\n| Bose QuietComfort Ultra Earbuds (2nd Gen) | Excellent — among the strongest ANC available | ~6 hrs (24 hrs with case) ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com)) |\n| Sony WF-1000XM5 | Excellent — very effective for commute noise | ~8 hrs (24 hrs with case) ([Tom's Guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com)) |\n| Apple AirPods Pro 3 | Excellent — especially for iPhone users | Up to ~8 hrs (24 hrs with case) ([WIRED](https://www.wired.com/story/best-wireless-earbuds/?utm_source=chatgpt.com)) |\n\n**Recommendation:**  \n- Best pure noise blocking: Bose.  \n- Best overall balance: Sony.  \n- Best if you use iPhone: AirPods Pro 3. ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\nSources: [WIRED noise-canceling earbuds guide](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com) · [Tom’s Guide ANC earbuds guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com) ·",
    "markdown": "For commuting, I’d prioritize strong ANC (trains, buses, traffic) and 6+ hours of playback. These three are top picks: ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\n| Earbuds | Noise cancellation | Battery life (ANC on) |\n|---|---|---|\n| Bose QuietComfort Ultra Earbuds (2nd Gen) | Excellent — among the strongest ANC available | ~6 hrs (24 hrs with case) ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com)) |\n| Sony WF-1000XM5 | Excellent — very effective for commute noise | ~8 hrs (24 hrs with case) ([Tom's Guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com)) |\n| Apple AirPods Pro 3 | Excellent — especially for iPhone users | Up to ~8 hrs (24 hrs with case) ([WIRED](https://www.wired.com/story/best-wireless-earbuds/?utm_source=chatgpt.com)) |\n\n**Recommendation:**  \n- Best pure noise blocking: Bose.  \n- Best overall balance: Sony.  \n- Best if you use iPhone: AirPods Pro 3. ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\nSources: [WIRED noise-canceling earbuds guide](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com) · [Tom’s Guide ANC earbuds guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com) ·",
    "model": "gpt-5-6",
    "shoppingCards": []
  }
}

Analisar menções e citações

Repita as mesmas perguntas e compare menções à marca e fontes por mercado.

Coletar respostas com a API

Envie a pergunta com sua chave de API e salve o response de cada tarefa concluída.

curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "taskType": "CHATGPT",
  "payload": {
    "prompt": "melhores fones sem fio para o trajeto",
    "country": "BR"
  }
}'

Ler a resposta concluída

Busque o resultado com task.id e leia os campos específicos do mecanismo em response.

curl https://api.querying.ai/v1/async/task/TASK_ID \
  -H "Authorization: Bearer $QUERYING_API_KEY"

Custo e disponibilidade

Custo por solicitação no plano
Plano1 solicitação1.000 solicitações
Basic≈ $0.00400≈ $4.00
Max≈ $0.00190≈ $1.90

Custos efetivos supondo o uso de todos os créditos mensais incluídos.

Solicitações concluídas usam créditos conforme o mecanismo. Solicitações com falha não são cobradas.

Limites ao interpretar resultados

A resposta e os campos opcionais podem mudar a cada execução. Uma resposta não representa todo o mercado.

Documentação da API

Recursos relacionados