Getting Started

Sections

Theme switcher

Traffic & Engagement

Header Parameters

api-keystring

Query Parameters

domainstring Required

Website domain without 'www.' (e.g., 'example.com')

start_datestring

Start date in 'YYYY-MM' or 'YYYY-MM-DD' format

end_datestring

End date in 'YYYY-MM' or 'YYYY-MM-DD' format

granularitystring

Time granularity

Enum values:
dailyweeklymonthly
web_sourcestring

Specifies the web source device type

Enum values:
desktopmobile_webtotal
countrystring

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_users
mtdboolean

'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:
jsonxml

Response

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?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in Claude

Code with AI