Similarweb Traffic & Engagement

https://api.sandbase.ai/v1/api/similarweb/traffic-engagement

Usage-based billing; Default request estimate: $0.075 USD (not a fixed price). Declared unit rate: $0.075 USD per similarweb_credit. Account-specific pricing and final settlement may differ.

Price
$0.11USD / call
Method
POST
Response
JSON
Parameters
4 required · 5 optional
Production route

Try the model

Playground

Open playground
Input
Worldwide data only; values are case-insensitive. Allowed values: ww.
domain
end_date
granularity Allowed values: monthly.
main_domain_only
metrics
mtd
start_date
web_source Allowed values: desktop, mobile_web, total.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.11 / run

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

domain
string · required
end_date
string · required
metrics
string · required
start_date
string · required
country
string (ww) · optional
granularity
string (monthly) · optional
main_domain_only
boolean · optional
mtd
boolean · optional
web_source
string (desktop, mobile_web, total) · optional

Access

Provider
Similarweb
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/similarweb/traffic-engagement
Authentication
Bearer API key

API README

Similarweb Traffic & Engagement API

Usage-based billing; Default request estimate: $0.075 USD (not a fixed price). Declared unit rate: $0.075 USD per similarweb_credit. Account-specific pricing and final settlement may differ.

The response is the official Similarweb API response, unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "similarweb/traffic-engagement", "domain": "<domain>", "end_date": "<end_date>", "metrics": "<metrics>", "start_date": "<start_date>"}'

Parameters

NameTypeRequiredDescription
countrystringNoWorldwide data only; values are case-insensitive.
domainstringYesdomain
end_datestringYesend_date
granularitystringNogranularity
main_domain_onlybooleanNomain_domain_only
metricsstringYesmetrics
mtdbooleanNomtd
start_datestringYesstart_date
web_sourcestringNoweb_source

Pricing

$0.1125 per metric per month between start_date and end_date. Failed calls are not charged.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/similarweb/traffic-engagement
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/similarweb/traffic-engagement" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "country": "ww",
  "granularity": "monthly",
  "main_domain_only": true
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
SimilarwebFrom $0.11 per callJSONOct 30, 2026
SimilarwebFrom $0.34 per callJSONOct 30, 2026
SimilarwebFrom $0.56 per callJSONOct 30, 2026
SimilarwebFrom $0.23 per callJSONOct 30, 2026
SimilarwebFrom $0.79 per callJSONOct 30, 2026
Similarweb$0.90 per callJSONOct 30, 2026

Questions

FAQ

How do I use the Similarweb Traffic & Engagement API?

Send a POST request to https://api.sandbase.ai/v1/api/similarweb/traffic-engagement with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Similarweb Traffic & Engagement API cost?

From $0.11 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Similarweb Traffic & Engagement API accept?

Required: domain (string), end_date (string), metrics (string) and start_date (string). Optional: country (one of ww), granularity (one of monthly), main_domain_only (boolean), mtd (boolean) and web_source (one of desktop, mobile_web, total). The Parameters table and the Playground on this page list every field.

What does the Similarweb Traffic & Engagement API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Similarweb developer account or API key?

No. Similarweb Traffic & Engagement runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Similarweb API access separately.