Similarweb
Estimated website traffic, sources, countries and competitors
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- You need a Similarweb plan with API access, which is purchased separately.
- An administrator signs in at pro.similarweb.com → “Settings” → “Account” → “API” → “Standard API” → “Generate a new API key”, chooses the user and creates it.
- Under “Generated Keys” check that the key is activated (“Activation” column) and copy it. Each data query uses data credits; checking the balance and permissions (the connection test) is free.
Tools (1)
Similarweb API request
SIMILARWEB_SEND_REQUESTAuthenticated call to the Similarweb API (https://api.similarweb.com). Any endpoint of the API is allowed. Whole months in YYYY-MM format, country as the lowercase 2-letter ISO code (or world) and format=json. Examples: GET /v1/website/{domain}/total-traffic-and-engagement/visits?start_date=2026-07&end_date=2026-09&country=us&granularity=monthly&main_domain_only=false&format=json (also average-visit-duration, pages-per-visit and bounce-rate), GET /v1/website/{domain}/traffic-sources/overview-share?start_date=…&end_date=…&country=world&granularity=monthly&main_domain_only=false&format=json, GET /v4/website/{domain}/geo/total-traffic-by-country?start_date=…&end_date=…&main_domain_only=false&format=json, GET /v4/website/{domain}/similar-sites/similarsites?format=json, GET /v4/website/{domain}/search-competitors/organicsearchcompetitors?start_date=…&end_date=…&country=us&main_domain_only=false&format=json, GET /v1/website/{domain}/global-rank/global-rank?start_date=…&end_date=…&main_domain_only=false&format=json…
Required scopes
No scopes required
Input
Similarweb API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

