---
title: "Similarweb API: JSON data, 4 endpoints, 1 credit per call"
description: "Get Similarweb data as structured JSON with one API key: batches, batches detail, batches retry and traffic. Free credits every month."
url: https://perceptlayer.com/apis/similarweb
---

[APIs](https://perceptlayer.com/apis) / [Web and SEO](https://perceptlayer.com/verticals/web-seo) / Similarweb

1 credit per call 4 endpoints

# Similarweb API

Get Similarweb data as structured JSON with one API key: batches, batches detail, batches retry and traffic. Free credits every month.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Similarweb

GET /v1/similarweb/traffic?domain=google.com 

```
curl "https://api.perceptlayer.com/v1/similarweb/traffic?domain=google.com" \
  -H "X-API-Key: $API_KEY"
```

cURL 1 credit per successful call

Run this call below or from your dashboard to see a live response.

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/similarweb/traffic?domain=google.com" \
  -H "X-API-Key: $API_KEY"
```

Similarweb · 4 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

Note 

Endpoints marked “Needs terms” return personal or social data. They work once you accept the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints) in your dashboard.

| Endpoint | Required parameters | Cost |
| --- | --- | --- |
| [POST `/v1/similarweb/batches`](https://perceptlayer.com/apis/similarweb/batches) | `domains` Needs terms | 1 credit |
| [GET `/v1/similarweb/batches-detail`](https://perceptlayer.com/apis/similarweb/batches-detail) | `batch` +2 optional Needs terms | 1 credit |
| [POST `/v1/similarweb/batches-retry`](https://perceptlayer.com/apis/similarweb/batches-retry) | `batch` +2 optional Needs terms | 1 credit |
| [GET `/v1/similarweb/traffic`](https://perceptlayer.com/apis/similarweb/traffic) | `domain` Needs terms | 1 credit |

Overview

## About the Similarweb API

## What you can get

The Similarweb API returns batches, batches detail, batches retry and traffic as clean JSON. Each successful call costs one credit, and calls that fail are free.

Web and SEO JSON REST MCP Some endpoints need terms

### More web and seo APIs

[Domain Availability](https://perceptlayer.com/apis/domain-availability) [Google Ads Transparency](https://perceptlayer.com/apis/google-ads-transparency) [Impressum Extraction](https://perceptlayer.com/apis/impressum-extraction) [North Data](https://perceptlayer.com/apis/north-data) [Semrush](https://perceptlayer.com/apis/semrush) [Web Scraper](https://perceptlayer.com/apis/web-scraper)

Use cases

### Research traffic and keywords for any domain

`Use the Similarweb API to research traffic and keywords for any domain` 

### Check sites at scale

`Use the Similarweb API to check sites at scale` 

### Enrich company and domain data

`Use the Similarweb API to enrich company and domain data` 

FAQ

## Questions

**How much does the Similarweb API cost?**

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Do I need a separate key for Similarweb?**

No. One key works for every API in the catalogue.

## Try the Similarweb API with 1,000 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://perceptlayer.com/docs)
