Sandbox Mode
Test API endpoints without consuming your quota or triggering real exports by adding the X-Sandbox header.
Enabling Sandbox Mode
Add the X-Sandbox: true header to any request:
bash
curl -X POST https://exportcomments.com/api/v3/job \-H "X-AUTH-TOKEN: your-api-key" \-H "X-Sandbox: true" \-H "Content-Type: application/json" \-d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
Sandbox Behavior
- Returns instant sample data (no actual scraping)
- Not counted against daily limits
- Not rate limited
- Platform-specific data structure based on URL
- Maximum 100 comments per request
- Sandbox responses include
"sandbox": true - Each comment has
"_sandbox": trueflag
Ideal for development
Use sandbox mode during development and testing to build your integration without consuming quota or waiting for real exports to complete.