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.

- 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": []
}
}- 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.
{
"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.
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 -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"
}
}'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 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 →| Plan | 1,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.
Built for these teams
querying.ai gives teams that study AI search one structured data source.
GEO & AEO Monitoring
Track how AI search surfaces mention your brand, products, and competitors across engines, countries, and prompts.
Learn moreCompetitive Intelligence
See what AI engines recommend in your market: which brands get cited and which products surface.
Learn moreAgency Dashboards
Monitor dozens of clients across engines and regions simultaneously with batch APIs and webhooks.
Learn moreResearch & Analysis
Study AI search behavior across markets with structured data for academic research, content strategy, and SEO.
Learn moreGuides
Explore related capabilities
Start with 500 free credits
Run your first task in the Playground, or call the API with your key.




