Retrieves overall values for a specified metric, providing summary statistics that help you understand the performance of your content. The response includes key metrics such as totalWatchTime, uniqueViews, totalPlayTime and totalViews.
Before using this endpoint, you can call the list dimensions endpoint to retrieve all available dimensions that can be used in your query.
Send a GET request to this endpoint with the required metricId and other query parameters.
You receive a response containing the overall values for the specified metric, which may vary based on the applied filters.
Related guide: Understand data definitions
The measurement for the given metrics. Possible Values : [95th, median, avg, count or sum]
This parameter specifies the time span between which the video views list must be retrieved by. You can provide either from and to unix epoch timestamps or time duration. The scope of duration is between 60 minutes to 30 days.
Accepted formats are:
array of epoch timestamps for example
timespan[]=1498867200×pan[]=1498953600
duration string for example
timespan[]=24:hours or timespan[]=7:days
Pass the dimensions and their corresponding values you want to filter the views by. For excluding the values in the filter we can pass ”!” before the filter value. The list of filters can be obtained from list of dimensions endpoint. Example Values : [ browser_name:Chrome , os_name:macOS , !device_name:Galaxy ]
Get filter/ dimension value details by dimension name.
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
Activate your FastPix account to generate your API credentials. See the guide here