ChatGPT Answers scraper API

Localized ChatGPT answers with search, source controls, citations, and verified fresh-session execution.

Web & maps 1 capability

What people use it for

  • AI answer monitoring
  • Generative engine visibility research
  • Grounded answer and citation analysis
  • Cross-engine response comparison
  • Localized recommendation and policy research
  • False-premise and source-quality auditing

Capabilities

Every capability is one POST /execute call that returns structured JSON.

Generate answer

chatgpt.answer.generate
1 credit / request

Submit a prompt with locale, country, search, and source-policy controls in a fresh ChatGPT context; return a complete answer, citations, and execution evidence.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"country":"United States","include_sources":true,"locale":"en-US","max_sources":6,"mode":"search","model":"auto","prompt":"As of 2026-08-03, explain how the official MCP Streamable HTTP transport handles session creation, subsequent protocol headers, and expired sessions. Separate protocol requirements from client design choices.","source_policy":{"official_sources_only":true,"preferred_domains":["modelcontextprotocol.io"],"published_after":"2025-01-01"},"timezone":"America/New_York"},"capability":"chatgpt.answer.generate"}'

Sample response

{
  "completed": true,
  "grounded": false,
  "query": "In one short sentence, explain why the sky appears blue.",
  "response": "The sky appears blue because air molecules scatter shorter blue wavelengths of sunlight more strongly than longer wavelengths."
}

Input

Field Type Required Description
country string optional
include_sources boolean optional
locale string optional
max_sources integer optional
mode string optional
model string optional
prompt string required
source_policy object optional
source_policy.excluded_domains array<string> optional
source_policy.official_sources_only boolean optional
source_policy.preferred_domains array<string> optional
source_policy.published_after string optional
source_policy.published_before string optional
timezone string optional

Run ChatGPT Answers in under a minute

Sign in, create an API key, and try any capability in the playground before you write code.

Get an API key