v1

latestOpenAPI 3.1.02026-07-2414103.5 MB

Average Visit Duration - Mobile Web

Returns the average mobile web visit duration on a given domain (in seconds). Historical data goes back 37 months, depending on your subscription.

get/{domain_name}/mobile-web/average-visit-duration

Path parameters

domain_namestring required

Enter website of interest, without 'www.' or brackets {}.

Query parameters

api_keystring required

Your Similarweb API key.

start_datestring

Start month (format: YYYY-MM)

end_datestring

End month (format: YYYY-MM)

countrystring required

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.

granularitystring required

Set the granularity for the returned values. Can be 'daily', 'weekly' or 'monthly'.

main_domain_onlystring

[optional] Return values for the main domain only ('true'), or include also the subdomains ('false').

formatstring

[optional] Return values for the main domain only ('true'), or include also the subdomains ('false').

show_verifiedstring

[optional] Show shared Google Analytics data when available. Default value is 'false'.

mtdstring

[optional] When 'true', end_date is set to the latest available days' data (month-to-date). To use, set granularity to 'daily'. Default value is 'false'.

engaged_onlystring

[optional] When 'true', the data is filtered by 'engaged visits' only.

Response

200

Example response

{
  "meta": {
    "request": {
      "granularity": "Monthly",
      "format": "json",
      "domain": "amazon.com",
      "start_date": "2022-01-01",
      "end_date": "2022-03-31",
      "country": "gb"
    },
    "status": "Success",
    "last_updated": "2022-09-30"
  },
  "average_visit_duration": [
    {
      "date": "2022-01-01",
      "average_visit_duration": 124.33157620565845
    }
  ]
}