ChatGPT's answer to a question
crawl4ai.ai-search.chatgpt.scrapeWhat ChatGPT answers a logged-out visitor for one question, as one row: the answer as Markdown and as plain text, the sources it cited and the pages its web search read. For brand monitoring and AI-search visibility: does ChatGPT name you, and which pages does it cite. `prompt` is the question; `web_search` lets ChatGPT search the web first (default on); `country` asks from that country. About 30 s to 2 minutes. Columns: prompt, answer, answer_text, citations, sources, web_search_used, asked_at.
- Price
- $0.0032/successAu prix du fournisseur
- Success rate
- 15,9 %Last 30 days · 1 366 calls
- Latency p50
- 82 sp95 165 s
- Last verified
- 11 oct. 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.ai-search.chatgpt.scrapePreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
Cet outil n’a pas de paramètres. Voir la doc du fournisseur ↗ Provider docs
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.ai-search.chatgpt.scrape' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"prompt":"What are the best open-source web crawlers for LLM pipelines?"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.ai-search.chatgpt.scrape",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"prompt\":\"What are the best open-source web crawlers for LLM pipelines?\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.ai-search.chatgpt.scrape", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"prompt\":\"What are the best open-source web crawlers for LLM pipelines?\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0032/success, frais de service inclus.