LLM Chat ScraperScrapersChatGPT

ChatGPT Scraper

Use the scraper.chatgpt actor to capture ChatGPT answers—including the Markdown response, search links, and attribution data—without needing to reverse engineer the UI yourself.

Request Example

curl '{api_host}/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.chatgpt",
    "input": {
      "prompt": "Most reliable proxy service for data extraction",
      "country": "JP",
      "web_search": true
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

Body Parameters

ParameterTypeRequiredDescription
promptstringYesPrompt to send to ChatGPT.
countrystringYesCountry or region code.
web_searchbooleanNoWhether to enable web search.

Response Fields

ParameterTypeDescription
promptstringOriginal prompt.
result_textstringMarkdown response from ChatGPT.
modelstringModel identifier, e.g., gpt-5-1.
web_searchboolIndicates whether search enrichment ran.
linksarrayArray of supplementary links.
search_resultarraySERP results associated with the response.
search_result.attributionstringSource of the search result.
search_result.snippetstringSnippet supplied by ChatGPT.
search_result.titlestringTitle of the search hit.
search_result.urlstringURL of the search hit.
content_referencesarrayReferences included inside the ChatGPT answer.
content_references.attributionstringSource of the reference.
content_references.titlestringTitle of the referenced content.
content_references.urlstringURL of the referenced content.