Skip to main content
Welcome to Similarweb’s Batch API - giving you scalable access to the world’s largest digital measure database! Get Similarweb data for more than 1,000,000 domains and 5 years of history, tens of metrics - in one API call! This guide has 2 quick steps to get millions of data points from our API.

Get started checklist:

🔑 Get an API Key tutorial OR if you already Batch API access generate API Key here
📈 Choose the data and metrics you need based on your subscription datahub.similarweb.com OR discover new datasets here
📝 Create a request report with a valid JSON
🔗 Connect and integrate to your Data lake (S3, Snowflake, Databricks)

Step-by-step guide:

  1. Make a POST request with a JSON in the body or attached as a file as multipart/form-data

Example JSON:

Requst Body
When requesting a report you must include in the JSON the following parameters.

Mandatory Parameters:

Make sure to save the report ID you receive after your API request.
The request limit per user is 20 pending requests. if you receive a ‘429’ error it means you’ve exceeded the limit of allowed pending requests. Reduce the frequency of your requests to stay within the limits of your account.

Optional Parameters:

  1. After you made your request and got your report ID, use the Request Report Status to receive the report status.
Upon completion, you will need to request the report status. GET Request Report Status
Example response:

Date Credits cost per request:

The download link will remain valid for 30 days. We recommend saving these for a certain time period just in case you will need our assistance to troubleshoot any issue that may occur.
Data credits are calculated for each report based on the number of results you are actually receiving:Formula: Number of domains X Number of metrics X history X cadence (daily/monthly) X Number of countries X Number of results
In order to calculate the estimated credits the report will cost, you can use the “request-validate” endpointhttps://api.similarweb.com/v3/batch/request-validate