Request headers

All API requests need an API key. Sign up for free to get your key and 1,000 credits every month.

  • Content-Type: application/json (required for POST requests)
  • Accept: application/json (optional but recommended)
  • X-API-Key: Your API key (get one free at /dashboard)
  • Authorization: Bearer your-api-key (alternative to X-API-Key)
  • Idempotency-Key: optional, on POST requests that charge credits. Retrying with the same key and an identical request within 24 hours returns the stored response with Idempotent-Replayed: true and charges nothing again. Reusing a key for a different request returns 422 IDEMPOTENCY_KEY_REUSED, and a duplicate sent while the first is still running returns 409 IDEMPOTENCY_IN_PROGRESS. Responses larger than 1 MiB and refunded errors are not stored, so a retry runs normally. Keys are 1 to 255 printable ASCII characters, such as a UUID.
  • DomScan-Naming: optional. snake returns every camelCase response key in snake_case, the same as naming=snake. When both are sent, the query parameter wins. See snake_case keys.