Skip to main content
Version: v2

Using your API token


Currently, Browserless V2 is available in production via two domains: and

When you sign-up for a Browserless account, we create a unique token that allows you to interact with the service. Once your worker(s) are ready you should use this token anytime you interact with the service.

You can use this token with most of our integrations by simply appending a ?token=YOUR-API-TOKEN as a query-string parameter.

For the purposes of illustrating these examples, we'll assume your API-TOKEN is 094632bb-e326-4c63-b953-82b55700b14c.

Puppeteer with your API Token

const browser = puppeteer.connect({
browserWSEndpoint: 'wss://',

Playwright with your API Token

const browser = await playwright.firefox.connect(

REST with your API Token

curl -X POST \ \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{ "url": "" }'

You can also add an Authorization header for REST API requests as well. You'll need to base64 encode this token, and pre-pend the Basic keyword:

curl -X POST \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic MDk0NjMyYmItZTMyNi00YzYzLWI5NTMtODJiNTU3MDBiMTRj' \
-d '{ "url": "" }'