|desktop + mobile||monthly,|
last 28 days (daily, weekly)
To retrieve 'Last 28 days' data, remove the start_date & end_date parameters and set granularity to "daily" or "weekly".
Hits and data credits will be charged per metric requested, e.g - metrics=visits (1 data credits), metrics=visits, share (2 data credits) up to total of 2 metrics (2 data credits). Pulling this data is limited to 1 concurrent request.
When Using MTD flag it will charge additional credits.
How to find your Segment ID
- Use the 'List Segments' endpoint OR
- Visit an existing segment on the Similarweb platform, and extract the ID from the URL.
The Unique Visitors metric is available in monthly granularity only, and currently does not support the worldwide filter.
Only individual segments are supported.
This endpoint is available to customers with access to the Segment Analysis feature in their subscription. Reach out to your Account Manager for more information.