get https://api.similarweb.com/v1/website/{domain.com}/total-traffic-and-engagement/visits
Returns the estimated number of visits to a given domain.
All Traffic (desktop + mobile web).
Price: 1 hit per request
Historical data goes back 36 months, depending on your subscription.
To retrieve Last 28 days remove the start_date & end_date parameters from the URL and set granularity to daily or weekly.