Quickstart
This guide will help you make your first successful API call to the ChatGPT Scraper API.1
Get your API key
Sign up at cloro.dev to get your API key. You’ll need this to authenticate your requests.
2
Install required packages
Depending on your programming language, install the necessary HTTP client:
3
Make your first request
Use the following code to send your first prompt to ChatGPT:Replace
YOUR_API_KEY with your actual API key from cloro.dev.Set an appropriate timeout (120-180 seconds) when making requests, as ChatGPT responses may take time to generate depending on complexity.
4
Understand the response
The API returns a structured JSON object with ChatGPT’s response and metadata:Key fields in the response:
status: Request status (e.g., “success”)result.model: The ChatGPT model used to generate the responseresult.text: The complete ChatGPT response as plain textresult.markdown: The response formatted in Markdown (wheninclude.markdownis true)result.shoppingCards: Array of product cards extracted from the response (if available)result.searchQueries: Query fan-out ChatGPT used internally (wheninclude.searchQueriesis true)result.rawResponse: Array of ChatGPT’s streamed response events (wheninclude.rawResponseis true)
Request parameters
Here are the main parameters you can use:
* Mandatory parameters
Next steps
Now that you’ve made your first successful API call, explore more features:- Learn about shopping cards for automatic product data extraction
- Review the complete API reference for detailed parameter documentation
- Explore use cases to see how others are using the ChatGPT Scraper API
- Understand the response structure for advanced data parsing