Base URL
All API requests should be made to:Authentication
The ChatGPT Scraper API uses Bearer token authentication. Include your API key in theAuthorization header of each request:
Getting an API Key
To get your API key:- Visit cloro.dev
- Sign up for an account
- Navigate to your dashboard to generate your API key
Credit System
The ChatGPT Scraper API uses a credit-based pricing model. Each request consumes credits based on the features you enable:- Base request with Web Search: 5 credits
- Raw response access (
include.rawResponse): +2 credits per request - Search queries insights (
include.searchQueries): +2 credits per request - Shopping cards: Included at no additional cost when available
Example Credit Usage
A request with all optional features enabled would consume:- 5 (base) + 2 (rawResponse) + 2 (searchQueries) = 9 credits total
Response Formats
The API returns structured JSON responses containing:- ChatGPT’s AI-generated text responses
- Optional Markdown formatting
- Automatic shopping card extraction (when available)
- Query fan-out insights (when enabled)
- Raw streaming response data (when enabled)
Request Headers
All requests should include the following headers:Timeout Recommendations
ChatGPT responses may take time to generate depending on complexity. We recommend:- No timeout limit: Our system handles retries automatically
- If you must set a timeout: Use 120-180 seconds minimum
- Implement retry logic: For handling temporary failures
Next Steps
Monitor ChatGPT
Learn how to submit prompts to ChatGPT
Response Structure
Understand the API response format