Similarweb API
Measure website traffic, engagement, traffic sources, and competitor intelligence with SpideyData's Similarweb API (Beta).
On this page
Similarweb API endpoints
8Find the task you need. Each endpoint includes its parameters, request example, and response reference.
Inspect website rankings with Similarweb
Read site metadata, rankings and suggested peers for a domain.
Measure website traffic and engagement
Retrieve visits and engagement metrics for the requested website and reporting period.
Compare website traffic
Compare traffic across the requested websites using the Similarweb traffic comparison endpoint.
Analyze website traffic sources
Read geographic traffic distribution and marketing-channel shares for a domain.
Explore website search keywords
Read search keyword data and the available traffic, position and keyword metrics.
Analyze website referral traffic
Inspect referral data for the requested website and supported reporting window.
Research website advertising
Retrieve available advertising research data for the requested domain.
Discover similar websites
Find related websites to support competitor discovery and comparison.
Quick start
Worldwide only (country 999). Dates below are examples, not defaults or current verification.
https://kieapi.comcurl -X POST "https://kieapi.com/v1/similarweb/overview" \
-H "Authorization: Bearer $SPIDER_API_KEY" \
-H 'Idempotency-Key: seo-example-01' \
-H "Content-Type: application/json" \
-d '{
"domain": "example.com",
"country": 999,
"start_date": "2026-08-21",
"end_date": "2026-09-17"
}'Authentication
Team administrators manage API keys in Team Settings. Each key keeps its Team and billing scope when its creator leaves or switches Teams. Keys cannot manage members, billing or other keys. Public /v1 requests use Authorization: Bearer $SPIDER_API_KEY only; the Key's fixed Team is the payer. An optional X-Spider-Team-Id must match that Team or the request is denied. Creating, listing, rotating or revoking Keys through the product console (and other non-identity console business routes) requires X-Spider-Team-Id when the Team model is enabled; omitting it returns HTTP 409 team_context_required.
Validated delivery
tool is always similarweb; task matches the requested endpoint. Response examples are illustrative, not live provider results. Overview returns site metadata, rankings with Value/Trend and suggested peers. Engagement contains visits and engagement. Traffic sources returns geography_1.data.Data country rows (Country, Share, and optional UsersShare, ShareList, AvgVisitDuration, PagePerVisit, BounceRate, Rank) plus marketing_mix_2.data.Data.Total[domain] channel shares (Direct, Search - Organic, Search - Paid, Referrals, and any additional provider channels). Search rows retain CPC, volume and positions. Provider Trend dates identify metric timing; limitations flags ranks outside requested dates. Missing metrics stay unavailable; valid empty tables remain successful.
Requires a Team API key. Complete modules are billed; incomplete modules are not charged. If a response is lost, retry with the same request key to read the saved result without a second charge. Valid empty data is successful.
A dedicated API key uses only its assigned capacity and fresh snapshots. Exhaustion returns the corresponding error, including in automatic mode. Temporary provider issues are retried automatically within the same request, up to 60 seconds by default; retries are not charged. HTTP 429 `seo_local_rate_limited` includes a `Retry-After` header. Wait for that interval before retrying. After a completed failure, use a new key for a new attempt.
