Similarweb Referrals

https://api.sandbase.ai/v1/api/similarweb/referrals

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

Price
$0.45USD / call
Method
POST
Response
JSON
Parameters
4 required · 6 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.
120
limit Range: 1 to 20.
main_domain_only
offset Range: 0 to 100000.
start_date
traffic_source
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.45 / run

Request & response

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

Parameters

domain
string · required
end_date
string · required
limit
integer · required
start_date
string · required
country
string (ww) · optional
granularity
string (monthly) · optional
main_domain_only
boolean · optional
offset
integer · optional
traffic_source
string · 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/referrals
Authentication
Bearer API key

API README

Similarweb Referrals API

Usage-based billing; Default request estimate: $0.3 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/referrals", "domain": "<domain>", "end_date": "<end_date>", "limit": "<limit>", "start_date": "<start_date>"}'

Parameters

NameTypeRequiredDescription
countrystringNoWorldwide data only; values are case-insensitive.
domainstringYesdomain
end_datestringYesend_date
granularitystringNogranularity
limitintegerYeslimit
main_domain_onlybooleanNomain_domain_only
offsetintegerNooffset
start_datestringYesstart_date
traffic_sourcestringNotraffic_source
web_sourcestringNoweb_source

Pricing

$0.45 per returned row (4 Similarweb credits), up to 20 rows; billed on rows returned. 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/referrals
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/referrals" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "country": "ww"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
SimilarwebFrom $0.45 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 Referrals API?

Send a POST request to https://api.sandbase.ai/v1/api/similarweb/referrals 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 Referrals API cost?

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

What parameters does the Similarweb Referrals API accept?

Required: domain (string), end_date (string), limit (integer) and start_date (string). Optional: country (one of ww), granularity (one of monthly), main_domain_only (boolean), offset (integer), traffic_source (string) 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 Referrals API return?

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

Do I need a Similarweb developer account or API key?

No. Similarweb Referrals 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.