DataForSEO AI Optimization API icon

DataForSEO AI Optimization API

DataForSEO

ChatGPT → Get ChatGPT LLM Scraper Results HTML

AI-generated

Summary

Submits a task to retrieve the raw HTML page of ChatGPT's LLM Scraper results for a specific keyword, location, and language.

Inputs

  • keyword (required) — The keyword to search for in the ChatGPT LLM Scraper.
  • location_name (required) — Full name of the location (e.g., English). See DataForSEO documentation for supported values.
  • language_name (required) — Full name of the language (e.g., English). See DataForSEO documentation for supported values.
  • location_coordinate — GPS coordinates in 'latitude,longitude' format. Overrides location_name if provided.
  • force_web_search — Forces the AI agent to use web search. Defaults to false.
  • expand_citations — If true, returns an expanded citation bar in the HTML results. Defaults to false.
  • priority — Task priority (1 = Normal, 2 = High). Used for the 'get-chat-gpt-llm-results-html' operation variant.

Output shape

The raw HTML page content of the ChatGPT LLM Scraper results.

Returns the HTML body of the search results page.

Examples

Example 1: Retrieve raw HTML results for a specific keyword in English.

Set keyword='best CRM software', location_name='English', language_name='English', expand_citations=false.

Example 2: Force web search and return an expanded citation bar.

Set keyword='AI trends', location_name='United States', language_name='English', force_web_search=true, expand_citations=true.

Links

Discussion