Analytics
Fetch analytics
Fetch analytics
GET
/
analytics
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
dimension
enum<string>
requiredThe bucket each value falls into (the x-axis)
Available options:
day
, country
, domain
metric
enum<string>
requiredThe value within each metric (the y-axis))
Available options:
views
start
string
requiredThe start date
end
string
requiredThe end date
filter
string
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
by
enum<string>
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
limit
integer
The number of rows returned. Useful to show the top X, such as the top 10
Response
200 - application/json
success
boolean
requiredresult
object[]
requiredlinks
object
requirederrors
object[]
required