SimilarSites
get_similarweb_similar_sitesSimilarSites. Response follows the SimilarWeb v5 envelope (meta + data). Date window (upstream SimilarWeb constraint): start_date and end_date must span EXACTLY 3 consecutive months — a 1- or 2-month span is rejected with upstream error 120 ('must span exactly 3 month(s)'). That span must also be SimilarWeb's most recent supported window, which advances forward each month; an older or out-of-range span is rejected with error 101 ('Dates not in range'). In practice, request the three most recent completed months (e.g. if the latest published month is 2026-07, use start_date=2026-05 and end_date=2026-07). To read the exact currently-supported range, call SimilarWeb's /describe endpoint for this API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Number of rows to return; max 20, billed as 20 if exceeded. | |
| domain | Yes | Target domain, e.g. example.com. | |
| offset | No | Row offset for pagination. | |
| country | No | Two-letter country code. Allowed: us, ww. Default: ww. Coverage is limited to ww and us on the current plan. | ww |
| end_date | Yes | End month, format YYYY-MM. Together with start_date must span exactly 3 consecutive months, and must be the most recent supported month (the window rolls forward monthly; see the endpoint description). | |
| start_date | Yes | Start month, format YYYY-MM. Must be exactly 2 months before end_date: the window has to span exactly 3 consecutive months within SimilarWeb's latest supported range (see the endpoint description). | |
| web_source | No | Traffic source device split. Allowed: desktop, mobile_web, total. | |
| granularity | No | Time granularity. Allowed: monthly. | |
| traffic_source | No | Traffic-source filter. | |
| main_domain_only | No | Restrict to the main domain only (true/false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||