Get timeseries data
This endpoint retrieves timeseries data for a specified metric, providing insights into how the metric values change over time. The response includes an array of data points, each representing the metrics value at specific intervals.
Key fields in response
- intervalTime: The timestamp for the data point indicating when the metric value was recorded.
- metricValue: The value of the specified metric at the given interval, reflecting the performance or engagement level during that time.
- numberOfViews: The total number of views recorded during that interval, providing context for the metric value.
Authentication
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.
- Username: Access Token ID
- Password: Secret Key
Activate your FastPix account to generate your API credentials. See the guide here
Path parameters
Query parameters
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 ]
Response
Get filter/ dimension value details by dimension name.