Traffic & Engagement
Returns traffic and engagement metrics over time for a specified domain.
Possible output fields:
visits: Estimated number of visits to the websitebounce_rate: Percentage of visits that view only one page on the websiteaverage_visit_duration: Average time on website (in seconds)pages_per_visit: Average number of pages viewed per visitpage_views: Estimated number of pages viewed on the websiteunique_visitors: Estimated number of unique visitors (not deduplicated across devices) to the websitenew_users: Estimated number of new users to the websitereturning_users: Estimated number of returning users to the website
Header Parameters
api-keystring
Query Parameters
domainstring Required
Website domain without 'www.' (e.g., 'example.com')
start_datestring Required
Start date in 'YYYY-MM' or 'YYYY-MM-DD' format
end_datestring Required
End date in 'YYYY-MM' or 'YYYY-MM-DD' format
granularitystring Required
Time granularity
Enum values:
dailyweeklymonthlyweb_sourcestring
Specifies the web source device type
Enum values:
desktopmobile_webtotalcountrystring Required
Two-letter country code (e.g., 'us', 'gb', 'ww')
metricsarray
Comma-separated list of desired metrics. Default to all available metrics.
Enum values:
visitsaverage_visit_durationpages_per_visitbounce_ratepage_viewsunique_visitorsnew_usersreturning_usersmtdboolean
'true' sets end_date to the latest available day's data (month-to-date). Default is 'false'
main_domain_onlyboolean
'true' to include only the main domain, 'false' to include subdomains. Default is 'false'
formatstring
Format in which the reply should be returned.
Enum values:
jsonxmlResponse
200
Object
Success
Response Attributes
metaobject
Show child attributes
dataarray
Nullable:
True
Show child attributes
Was this section helpful?
What made this section unhelpful for you?
Response
Was this section helpful?