Analytics API Explorer

In this topic, you will learn how to get started quickly using the Analytics API by testing some of the common request types and seeing what the response data contains.

Overview

The Analytics API allows you to retrieve various analytics reports for your Video Cloud videos. This quick start will allow you to test a number of different requests to see what the request URL and response look like.

Authorization

API calls are authorized using OAuth2 access tokens. The token is passed with requests in an authorization header:

    Authorization: Bearer {access_token}

Access tokens are short-lived (5 min), so you must get one each time you make a request

In quick start, all requests will be for a Brightcove sample account, using a proxy that has the necessary client credentials and will fetch an access token and then make the request.

CodePen

Use the CodePen below to test out different Analytics API requests.

See the Pen Analytics API Tester by Brightcove Learning Services (@rcrooks1969) on CodePen.