Advanced parameters for complex capture scenarios.
Anti-Bot Bypass
Some websites use bot detection. Enable anti-bot to improve success rates.
{
"url": "https://protected-site.com",
"antiBot": true
}
Anti-bot captures may take longer and consume more credits.
Region Selection
Choose where the capture originates from for geo-specific content.
{
"url": "https://example.com",
"region": "eu-west"
}
| Region | Location |
|---|
auto | Automatic (default) |
us-east | US East Coast |
us-west | US West Coast |
eu-west | Western Europe |
eu-central | Central Europe |
asia-east | East Asia |
asia-southeast | Southeast Asia |
Timing Options
Timeout
Maximum time to wait for page load.
{
"url": "https://slow-site.com",
"timeout": 60000
}
| Range | Default |
|---|
| 5000-120000 ms | 30000 ms |
Wait Until
When to consider the page “loaded”:
{
"url": "https://example.com",
"waitUntil": "networkidle"
}
| Value | Description | Speed |
|---|
commit | First response received | Fastest |
domcontentloaded | DOM parsed (default) | Fast |
load | All resources loaded | Medium |
networkidle | No network for 500ms | Slowest |
Use networkidle for JavaScript-heavy pages that load data after initial render.
404 Handling
By default, 404 pages are captured. Disable to receive an error instead:
{
"url": "https://example.com/missing",
"is404Allowed": false
}
Async Processing
For non-blocking workflows, process captures asynchronously:
{
"url": "https://example.com",
"async": true
}
Async response returns immediately with a capture ID. Use webhooks or polling to get results.
Combined Example
{
"url": "https://complex-site.com",
"format": "png",
"viewport": {
"width": 1920,
"height": 1080
},
"isFullPage": true,
"antiBot": true,
"region": "us-east",
"timeout": 60000,
"waitUntil": "networkidle",
"responseCache": {
"enabled": true,
"ttl": 86400
}
}