scr_, are created in the dashboard, and are stored only as hashes,
so the plaintext value is shown once.
Get an API key
- Sign in to the Screenshotly dashboard with a verified email address.
- Open API keys.
- Choose the workspace the key belongs to and, optionally, give it a name such as
productionorci. - Click Generate New Key and copy the key immediately. You cannot view it again.
Send the key
Use either header. Both are accepted on every endpoint.Authentication errors
Authentication runs before request validation. Error responses are JSON:
A
403 with "error": "Plan upgrade required" is different: the key is valid,
but the workspace owner’s plan does not include a requested feature. The
response names the feature and includes minimumPlan.
Rate limits
Two limits apply, and both belong to the workspace owner’s account, not to an individual key. Creating more keys does not increase either limit.- Capture allowance. Only successful captures count. Paid allowances reset at the start of each calendar month (UTC). An owner can set a lower hard stop in Account Controls; see Teams, usage, and retention.
- Throughput. Requests are counted per one-minute window. Every capture request that passes validation counts toward this limit, whether or not the capture succeeds.
Response headers
SuccessfulPOST /api/screenshot responses include:
X-RateLimit-Limit and X-RateLimit-Remaining describe the capture
allowance for the current period (after any hard stop), not per-minute
throughput. X-Screenshot-Duration is in milliseconds and X-Screenshot-Size
in bytes.
429 Too Many Requests
When either limit is reached, POST /api/screenshot and POST /api/jobs return
429 with a Retry-After header in seconds. POST /api/jobs/batch also
returns 429 when the batch is larger than your remaining allowance, without a
Retry-After header.
Retry-After seconds before retrying. If message says the limit
resets at a date, the capture allowance is used up: retrying will not help
until that date or until the plan changes.
Next steps
- Managing API keys: rotation, expiry, and revocation
- Security: how keys, payloads, and captures are protected
- Synchronous capture: the full request reference