Fetch analytics
Fetch analytics
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The bucket each value falls into (the x-axis)
day
, country
, domain
"day"
The value within each metric (the y-axis))
views
"views"
The start date
"2023-12-20T00:00:00.000Z"
The end date
"2023-12-21T00:00:00.000Z"
Only include events that match a particular restriction. For example to only include the views for a particular video ID. This should be 'name:operator:value'. You need to URL-encode the value if it contains non-alphanumeric characters
"video_id:eq:abcde12345abcde12345a"
Order by the x-axis (the chosen dimension) or y-axis (the chosen metric). For example to see the days that had the most views, you would use 'views'. If you were plotting the results on a graph, you might like to use 'date'
views
"views"
The number of rows returned. Useful to show the top X, such as the top 10
1 <= x <= 100
10