Errors & limits
Errors use standard HTTP status codes with a JSON body.
{ "error": { "code": "zone_not_found", "message": "Zone 7f3a91 does not exist." } }
Status codes
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Malformed JSON or missing field. |
| 401 | unauthorized | Missing or expired token. |
| 403 | forbidden | Token lacks the required scope. |
| 404 | zone_not_found | Unknown zone id. |
| 429 | rate_limited | Too many requests, see below. |
Rate limits
| Endpoint | Limit |
|---|---|
| Read endpoints | 1200 requests / 5 min |
| Write endpoints | 300 requests / 5 min |
| Purge | 50 requests / min, 500 paths each |
Responses include X-RateLimit-Remaining and Retry-After headers.