Traffic & Engagement
get_similarweb_traffic_engagementTraffic & Engagement. Response follows the SimilarWeb v5 envelope (meta + data). Date constraint: the start_date-end_date span must cover between 1 and 120 monthly buckets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mtd | No | Month-to-date flag (true/false). | |
| domain | Yes | Target domain, e.g. example.com. | |
| country | No | Two-letter country code. Allowed: us, ww. Default: ww. Coverage is limited to ww and us on the current plan. | ww |
| metrics | Yes | Comma-separated metrics, e.g. visits,pages_per_visit. | |
| end_date | Yes | End month, format YYYY-MM. | |
| start_date | Yes | Start month, format YYYY-MM. | |
| web_source | No | Traffic source device split. Allowed: desktop, mobile_web, total. | |
| granularity | No | Time granularity. Allowed: monthly. Default: monthly. | monthly |
| main_domain_only | No | Restrict to the main domain only (true/false). Default: True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||