BrowserSolver

Introduction

Everything you need to integrate the BrowserSolver API into your application.

Get started with the BrowserSolver API in minutes. Make HTTP requests to our endpoints and receive structured JSON responses.

Quick Start

Get your API key

Sign up on your dashboard and copy your API key from API → API keys: your workspace comes with a Default API Key.

Make your first request

Include your key in the x-api-key header and call any endpoint:

curl "https://api.browsersolver.com/v1/usage" \
  -H "x-api-key: YOUR_API_KEY"

Handle the response

Every successful request returns a JSON object with structured data. See individual endpoint pages for response schemas and examples.

SDKs and GitHub

The fastest way to integrate is an official SDK: it handles authentication, errors and retries for you. Pick your language, or browse the source on GitHub.

Authentication

All API requests must include an x-api-key header. You can find your key in your dashboard under API → API keys.

curl -H "x-api-key: xxxx" https://api.browsersolver.com/v1/usage

Keep your API key secret. Do not expose it in client-side code or public repositories.

Status Codes

Synchronous calls are billed on 200. Asynchronous calls (is_async=true) return 202 (not billed) and are billed when the job ends: a successful job is recorded as 201 in your request logs, and a job that ends in 404 is billed like a synchronous 404. Polling GET /v1/jobs/{job_id} is free. Failed jobs (400, 500) are never billed. A 404 is billed unless the endpoint is set not to charge not-found results. All other 4xx/5xx responses are free. If the client closes the socket before a synchronous response is sent, the call is still billed when the result is a billable status. A rate-limit 401 is a normal JSON response: the server does not close the socket.

CodeBilledStatusAction
200YesSuccessful API Call (sync)No action required.
201YesAsync Job CompletedAppears in your request logs when an async job finishes successfully. The job is billed at that point. Not returned as an HTTP response.
202NoAccepted (Async)The job was accepted and queued. Poll GET /v1/jobs/{job_id} for the result. Polling is free.
400NoBad RequestVerify your parameters and their types. Check the documentation for more information.
401NoInvalid API KeyCheck the key in your x-api-key header. A request without any key gets No X-API-Key header or Authorization token provided.
401NoInactive API KeyTurn the key back on under API → API keys in the dashboard (edit it and set Active to Yes).
401NoExpired API KeyUpdate your API key or generate a new one.
401NoRate limit exceededRate limit exceeded: … is your plan's per-second or per-minute limit: back off a few seconds and retry. Rate limit exceeded for the API key: quota … is a per-key quota: do not retry, raise the quota or use another key. The server returns this 401 with a JSON body and does not close the socket.
402NoPayment requiredTop up credits, upgrade your plan, enable Auto Top-Up, or settle any open invoices.
403NoForbiddenVerify your permissions. For API Stats, HTTP 403 means the endpoint is not enabled on your workspace: contact support to activate it.
404Yes, unless the endpoint opts outNot FoundThe request ran but found nothing. Billed unless the endpoint is set not to charge not-found results.
413NoPayload Too LargeThe request body is larger than 25 MB. Uploaded files are also limited to 20 MB each.
500NoInternal ErrorRetry the action or contact our support team.
503NoService unavailableThe service behind the endpoint is temporarily unavailable. Retry with exponential backoff.

See the Credits page for a full breakdown per endpoint, Stats for infrastructure health, API Keys for key management, and Best Practices and Error Handling for integration guidance. New to the platform? The Glossary defines all key terms.

Endpoints

Every endpoint, with its parameters, an example request and the response, is in the API reference.

On this page