Returns the traffic and engagement performance of a predefined segment of a website on desktop devices. Includes visits, share, pages per visit, pageviews, bounce rate, visit duration, and unique visitors.
Price: hits will be charged per metric requested, e.g - metrics=visits (1 hit), metrics=visits, share (2 hits). Polling this data is limited to 1 concurrent request.
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.
How to find your Segment ID
- Use the 'List Segments' endpoint
- 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
Historical data goes back 37 months, depending on your subscription.
To retrieve 'Last 28 days' data, remove the start_date & end_date parameters from the URL and set granularity to "daily" or "weekly".