Total Traffic API

The Total Traffic API allows you to input a domain and receive the Estimated Number of Visits for the domain on a daily, weekly, or monthly basis for desktop and mobile users.

What are visits?

Visits are the basic unit behind SimilarWeb’s web insights and the basis for most of SimilarWeb’s measurements. A visit is defined as an entry to a web domain from a different web domain or from the beginning of an empty browsing session, and expires after 30 minutes of inactivity. During the duration of the visit, activity occurring within the domain, for example, clicking on articles and pictures, is measured as page-views. SimilarWeb’s definition of a visit is identical to Google Analytics’ definition, which means SimilarWeb can be used to make direct comparisons with the most popular analytics suite on the market.


Params Description
Domain Enter your target domain including only the top-level and second-level names, ie: "", ""
Start Month (start_date) Start Month (YYYY-MM)
End Month (end_date) End Month (YYYY-MM)
Main Domain (main_domain_only) True /False
True returns data for main domain only
False returns data for subdomains as well.
UserKey (api_key) Enter your unique API Key
Granularity (granularity) Daily/Weekly/Monthly
Returns data in requested format

Example: Total Traffic API input for “”


Example: Total Traffic API output for “”


Please note the country based breakdown of response is available for enterprise user.

Need Help ?