Analytics
Fetch analytics
Fetch analytics
GET
/
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)
Available options:
day
, country
, domain
The value within each metric (the y-axis))
Available options:
views
The start date
The end date
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
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'
Available options:
views
The number of rows returned. Useful to show the top X, such as the top 10
Required range:
1 < x < 100