Desktop vs. Mobile Split - (Desktop & Mobile)
Returns the desktop vs. mobile web traffic share split for the selected time period (1 month minimum).
Request
- Base URLhttps://api.similarweb.com/v1/website
- URLhttps://api.similarweb.com/v1/website/{domain_name}/total-traffic-and-engagement/visits-split
- Authnone required
Path parameters
Enter website of interest, without 'www.' or brackets {}
Query parameters
Your Similarweb API key.
Start month (format: YYYY-MM)
End month (format: YYYY-MM)
Country filter, as a 2-letter ISO country code, or "world" for worldwide. To see the country filters you have access to, please refer to the Check Capabilities endpoint.
[optional] Return values for the main domain only ('true'), or include also the subdomains ('false').
[optional] Format in which the reply should be returned. Possible values: 'json' (default) or 'xml'.
[optional] Show shared Google Analytics data when available. Default value is 'false'.
Response
200
Example response
{
"meta": {
"request": {
"granularity": "Daily",
"format": "json",
"domain": "cnn.com",
"start_date": "2023-01-01",
"end_date": "2023-03-31",
"country": "us"
},
"status": "Success",
"last_updated": "2023-05-31"
},
"desktop_visit_share": 0.3282241726915603,
"mobile_web_visit_share": 0.6717758273084398
}Changes
No recorded changes to this operation across all 1 revision of this API.