ChatGPT Scraper API for Answers & Citations

Scrape consumer ChatGPT answers, citations and search queries as JSON. Build brand visibility tracking with async requests, polling and webhooks.

ChatGPTchatgpt.com
ChatGPT web search answer comparing wireless earbuds in a table with source chips and links.
API responseCompleted
Country
US
Credits
1
Sources
3
{
  "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": []
  }
}
See every response field
Task type
CHATGPT
Input
payload.prompt
Price
1 credit per request
Delivery
Webhook or polling

Response structure

Read the answer text and sources, the model reported for the session, and the search queries and shopping cards whenever the session shows them.

  • text, markdownthe captured answer, ready to store alongside your prompt.
  • sourcescited URLs and the source metadata available in that session.
  • searchQueriesthe searches ChatGPT ran while answering, recorded separately from your prompt.
  • shoppingCards, modelthe product cards ChatGPT showed and the model identifier reported by the session.
COMPLETEDCHATGPT
{
  "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": []
  }
}

Track brand mentions and citations in ChatGPT

Repeat the same category and comparison prompts to check whether ChatGPT mentions your brand and which pages it cites. Preserve the country, prompt and collection time so changes can be compared on the same basis.

Step 1

How to collect ChatGPT answers with the API

Store your dashboard API key in the server environment variable QUERYING_API_KEY, then run this request. The country code selects the collection market, and the prompt is sent in the language you wrote it in.

cURL
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": "best wireless earbuds for commuting",
    "country": "US"
  }
}'
Step 2

Read the completed response

Replace TASK_ID with task.id from the submission. Poll at intervals while QUEUED or PROCESSING; when COMPLETED, read the engine fields inside response. Handle FAILED as an error. Retrieve and store the result within 24 hours of completion, or receive it by webhook.

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

Cost and availability

Only completed tasks are charged, at 1 credit each. Check supported regions and plan concurrency.

View pricing →
Request cost by plan
Plan1,000 requests
Basic≈ $2.50
Max≈ $1.00

Effective rates assume all included monthly credits are used.

Reading the results

This captures the anonymous consumer experience, the answer a first-time visitor gets. Each run is a fresh observation, so compare repeated runs and collection times to read a trend.

Guides

Same question, 36 spots: how far AI local recommendations moveWe asked ChatGPT and Gemini 15 “near me” questions from 36 spots in New York, Seoul, Austin and Tokyo, twice. Answers 3 km apart shared 4.9% of their places on ChatGPT and 15.1% on Gemini.What is query fan-out? The searches ChatGPT, Perplexity and Copilot run before they answerQuery fan-out is the set of web searches an AI assistant runs to answer one question. Real fan-out queries from ChatGPT and Copilot, what they add to a question, and how to collect them as GEO data.OpenAI API web search pricing: one ChatGPT answer costs $0.058, measuredWe sent 10 shopping questions to the OpenAI Responses API with the web_search tool. One answer averaged $0.0579, and the search results the model reads cost more than the search call. The full bill, and what the same answer costs on querying.ai.What is GEO? Generative engine optimization, explained with real AI answersGEO gets your brand named and cited in ChatGPT, Gemini, Perplexity and Google AI answers. How engines pick brands, how GEO relates to SEO and how to measure it.How to track your brand's visibility in ChatGPT and other AI answersMeasure how often ChatGPT, Gemini, Perplexity and Google AI name and cite your brand: the questions to ask, the engines and markets, the metrics and the API calls.Local GEO: how ChatGPT and Google AI answers change by neighborhoodWe asked ChatGPT for an orthopedic clinic near three Seoul stations and three New York neighborhoods, and every place got its own clinics. How to measure local AI visibility, place by place.

Explore related capabilities

Start with 500 free credits

Run your first task in the Playground, or call the API with your key.