Docs
Search docs...⌘K

Countries Chart

API + MCP
GET/v3/web-analytics/countries-chart

Requests to this endpoint are free and do not consume any API units.

Query parameters

countries_to_chartstring

Specify which values to chart (as a comma separated list), if not provided then (top5-by-visitors) is used by default (which charts top 5 values by visitor count).

wherestring

Filter expression. Can mention dimensions and metrics.

granularitystringRequired

Time granularity for chart data points.

Allowed values:hourlydailyweeklymonthly
tostring (date-time)

end datetime for the data query

fromstring (date-time)

start datetime for the data query

project_idintegerRequired

Project ID

outputstring

The output format.

Allowed values:jsoncsvxmlphp

Responses

pointsarray<object>
timestampstring

Timestamp of the data point

countrystring

Country

visitorsinteger

Number of visitors