Similarweb Segments Analysis

https://api.sandbase.ai/v1/api/similarweb/segments-traffic-and-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
5 required · 4 optional
Production route

Try the model

Playground

Open playground
Input
Worldwide data only; values are case-insensitive. Allowed values: ww.
end_date
format Allowed values: json.
granularity Allowed values: monthly.
main_domain_only
metrics
Replace YOUR_SEGMENT_ID with a real segment ID available to the configured Similarweb account. Obtain it from that account's Similarweb user/predefined segment metadata or ask your AIsa operator. This is an account-dependent template, not a ready-to-run or upstream-verified example.
start_date
web_source Allowed values: 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

end_date
string · required
granularity
string (monthly) · required
metrics
string · required
segment
string · required
start_date
string · required
country
string (ww) · optional
format
string (json) · optional
main_domain_only
boolean · optional
web_source
string (total) · optional

Access

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

API README

Similarweb Segments Analysis 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/segments-traffic-and-engagement", "end_date": "<end_date>", "granularity": "<granularity>", "metrics": "<metrics>", "segment": "<segment>", "start_date": "<start_date>"}'

Parameters

NameTypeRequiredDescription
countrystringNoWorldwide data only; values are case-insensitive.
end_datestringYesend_date
formatstringNoformat
granularitystringYesgranularity
main_domain_onlybooleanNomain_domain_only
metricsstringYesmetrics
segmentstringYesReplace YOUR_SEGMENT_ID with a real segment ID available to the configured Similarweb account. Obtain it from that account's Similarweb user/predefined segment
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/segments-traffic-and-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/segments-traffic-and-engagement" \
  -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.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 Segments Analysis API?

Send a POST request to https://api.sandbase.ai/v1/api/similarweb/segments-traffic-and-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 Segments Analysis 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 Segments Analysis API accept?

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

What does the Similarweb Segments Analysis API return?

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

Do I need a Similarweb developer account or API key?

No. Similarweb Segments Analysis 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.