Skip to end of metadata
Go to start of metadata

The Sauce Labs REST API is accessed over HTTPS with standard methods and authentication, using JSON encoding for request and response data.

The API is versioned by URL. The current version is v1, and resides under the base URL. Some v1.1 methods have been introduced under

IP Ranges and Data Center Endpoints
Sauce Labs has data centers in both the US and EU. You can access Sauce Labs services from either location by providing the appropriate URL endpoints, and whitelisting their associated IP ranges. 

 Click here to view US Data Center Endpoints

Virtual Device Cloud

Real Devices:

Sauce Connect Proxy (do not need to specify, Sauce Connect Proxy will use this by default)



IP Ranges: (this is equivalent to the range – (this is equivalent to the range -

 Click here to view EU Data Center endpoints

For more information, including framework configuration for the European data center, check out Sauce Labs European Data Center Configuration Information.

Virtual Device Cloud

Real Devices:

Sauce Connect Proxy (specify with -x argument)



IP Range: (this is equivalent to the range -


The Sauce Labs REST API uses HTTP Basic Authentication. To authenticate, either include the Sauce username and access key in the request URL, or add an Authorization header to the request.

Authenticating with the Request URL Example
Authenticating with an Authorization Header Example

GET, PUT, and POST Requests

All Sauce API methods default to a GET request unless noted otherwise. PUT and POST requests must have the content-type header set to application/json.

  • No labels