chatgpt_scraper
Send a prompt to ChatGPT and receive the full conversation as structured JSON with user and assistant roles. Optionally, retrieve the raw HTML page.
Instructions
Sends any prompt to ChatGPT and receives a structured JSON response including the full conversation with user and assistant roles. No browser automation required. [Credits: 30 API credits per successful request] Notes: Assistant content is returned as an array of structured content blocks (paragraph, numbered_list, etc.), not a single plain-text string. Returns: { conversation: [ { role: 'user'|'assistant', content: string | [ { type: 'paragraph', text } | { type: 'numbered_list', items[] } ] } ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Set to true to return the full HTML of the ChatGPT page instead of parsed JSON. (default: false) | |
| prompt | Yes | The prompt to send to ChatGPT (e.g., 'What is web scraping?'). The API returns the full conversation with user and assistant roles in structured JSON. |