Similarweb Traffic & Engagement
https://api.sandbase.ai/v1/api/similarweb/traffic-engagementGet a website's traffic and engagement metrics month by month: visits, page views, visit duration, bounce rate and more.
- Price
- $0.07USD / call
- Method
- POST
- Response
- JSON
- Parameters
- 4 required · 5 optional
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.07 / 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
Get a website's traffic and engagement metrics month by month: visits, page views, visit duration, bounce rate and more.
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", "start_date": "2026-09", "end_date": "2026-09", "country": "ww", "domain": "cnn.com", "metrics": "visits", "granularity": "monthly"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | No | Worldwide data only; values are case-insensitive. |
domain | string | Yes | domain |
end_date | string | Yes | end_date |
granularity | string | No | granularity |
main_domain_only | boolean | No | main_domain_only |
metrics | string | Yes | metrics |
mtd | boolean | No | mtd |
start_date | string | Yes | start_date |
web_source | string | No | web_source |
Pricing
$0.075 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.
# 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'
{
"domain": "cnn.com",
"country": "ww",
"metrics": "visits",
"end_date": "2026-09",
"start_date": "2026-09",
"granularity": "monthly",
"main_domain_only": true
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Similarweb Traffic & EngagementThis API Similarweb | From $0.07 per call | JSON | Oct 30, 2026 |
Similarweb | From $0.23 per call | JSON | Oct 30, 2026 |
Similarweb | From $0.38 per call | JSON | Oct 30, 2026 |
Similarweb | From $0.15 per call | JSON | Oct 30, 2026 |
Similarweb | From $0.53 per call | JSON | Oct 30, 2026 |
Similarweb | $0.60 per call | JSON | Oct 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.07 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.
