Get Analytics via API

This article explains how you can get the video analytics using the DynTube API.

The first step is to make sure that you use Bearer authentication in your API request as explained here.

In order to get the analytics, you need to make a HTTP POST request to following URL.

The body of the request should be having following fields. The Content-Type of HTTP request should be 'application/json'.


Description of fields:

from: The start date of analytics
to: The end date of analytics
page: The current page number
size: Total number of results per page. The maximum allowed is 200.