get https://api.similarweb.com/v1/segment//total-marketing-channels/query
Returns visits per traffic channel for a website segment. All Traffic devices. Historical data goes back 37 months, depending on your subscription.
Device | Granularity | Metrics |
---|---|---|
Total: desktop and mobile combined | monthly | Visits (by marketing channel) |
Price
Data credits will be charged per metric and dates requested With each request you will receive a total of 8 marketing channels.
Pulling this data is limited to 1 concurrent request.
Example:
Requesting 2 months, monthly granularity, 2 metrics - the price would be 2x2x8 = 32 data 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.