BrowserSolver

API Keys

Create, configure, and manage API keys from your dashboard.

API keys authenticate your requests to the API. You manage them entirely from API → API keys in the dashboard: set a category, restrict usage with rolling quotas, add an expiry date, and monitor activity per key in the request log.

For how to include a key in a request, see the Introduction.

Creating a key

Open the form

Go to API → API keys in your dashboard and click New API key.

Fill in the fields

Give the key a Name (unique in the workspace), pick a Category on the API key options tab, and optionally set Expires and the Request limits.

Copy the secret

Click Create API key. The API key created window shows the full key with a Copy button: store it in an environment variable or a secret manager right away.

Key fields

FieldDescription
NameUnique label per workspace (the alias in some error messages). Shows up in the request log and analytics filters.
CategoryOrganizational tag (see Categories). Has no effect on API behavior.
ActiveEnables or disables the key. Inactive keys are rejected immediately with 401 Inactive API Key.
ExpiresOptional date after which the key stops working. Leave blank for no expiry.
Request limitsOptional per-key caps on rolling time windows (see Per-key quotas).

Categories

Categories tag keys for your own organization. They appear in dashboard filters and analytics but do not change how the API processes a request.

CategoryTypical use
productionLive traffic, customer-facing systems
developmentLocal development and testing
stagingPre-production and CI environments
CustomAny free-text label, e.g. sandbox, partner-acme

Keep one key per environment so you can revoke or rotate it independently.

Per-key quotas

Each key can have independent hard caps on request volume, enforced on rolling windows (not calendar boundaries):

QuotaWindow
TotalGlobal hard-stop limit in the dashboard. All-time: once reached, the key's billable calls are refused until you raise it
Daily24-hour sliding window limit. Last 24 hours (rolling, not midnight-to-midnight)
Weekly7-day sliding window limit. Last 7 days (rolling)
Monthly30-day sliding window limit. Last 30 days (rolling)

Leave a field blank to apply no cap for that window. When a quota is reached, the API returns 401 with Rate limit exceeded for the API key: and the quota name in the message:

{ "error": "Rate limit exceeded for the API key: quota total" }

A quota counts the calls that succeed (a status below 400) or end in 404, billed or not. With a quota of 100, the next call after 100 counted ones is refused, also when calls are sent at the same time.

An asynchronous call counts once, from the moment it is accepted. It stops counting if the job ends in 400 or 500. A job that ends in 404 still counts, and is billed unless the endpoint is set not to charge not-found results.

Usage, Stats and job polling do not count and stay available once a quota is reached. Refused calls (401, 402, 403, rate limits, quotas) and other errors do not count either. A running call holds a place until it ends; a call that fails frees it within about a minute.

Per-key quotas are distinct from plan-level rate limits (per-second and per-minute caps set by your plan). Plan limits are counted per key too: each key gets the full plan limit. Both return 401, with a message that names the limit you reached. See Error Handling for details.

Expiry

Set an expiry date on keys used in scripts, CI pipelines, or partner integrations. Once the date passes, the API returns:

{ "error": "Expired API Key" }

HTTP status 401. Create and deploy a replacement key before the expiry date to avoid any downtime.

Request logs

Every request made with a key is recorded under API → Request log in the dashboard, where you can filter by API key. Each entry shows:

FieldDescription
EndpointHTTP method and path
StatusResponse status code
DurationTime to first byte (ms)
IPCaller IP address
CreditsCredits charged for this request

Use logs to audit activity per key, debug unexpected errors, or identify traffic from compromised keys.

Deactivating, archiving, or deleting

ActionEffect
DeactivateEdit the key and set Active to No. The key is blocked immediately and stays on the list. Turn it back on to use it again.
ArchiveFrom the row menu. Key is blocked and hidden from the list. Open Archived to see it. Restore returns it to the list, still inactive. The alias stays reserved. Request history is kept.
DeleteFrom the edit window. Permanently removes the key and its configuration. Only possible if the key has never been used.

Archive a used key when it should leave the list. Deactivate it when you may turn it back on soon. A key with request history cannot be deleted. The history is retained for billing and auditing.

Rotating a key

Create the replacement

Go to API → API keys in your dashboard, click New API key, and give it the same category and request limits under a new name.

Deploy the new key

Update the environment variable in every system that uses the old key and redeploy.

Deactivate the old key

Set the old key to inactive, or archive it to hide it from the list. This blocks any remaining requests without removing its history.

Error reference

ErrorStatusCause
Invalid API Key401Key not found or malformed
No X-API-Key header or Authorization token provided401No key in the request
Inactive API Key401Key is disabled
Expired API Key401Key has passed its expiry date
Rate limit exceeded for the API key: quota …401Per-key rolling quota reached
Rate limit exceeded: You've exceeded the … rate limit on your subscription401Plan-level per-second or per-minute cap
Forbidden: IP temporarily blocked40310 failed authentications in a minute from the same IP. The block lasts 5 minutes

See also: Best Practices for security guidelines and Glossary for term definitions.

On this page