Making Requests

How to call the BetaSeries API.

The calls to the API must be made in the form of HTTP requests using GET, POST, or DELETE to the domain, for example:


The API server is also accessible via HTTPS, and this protocol should be preferred if possible.

The return format can be either JSON or JSONP, which generally looks like this:

    ( ... response ... )
    "errors": []

If you add a jsonp parameter to your HTTP request, the JSON is transformed into JSONP:

callback(( ... response ... ), "errors":[]}})

If there are no errors, the HTTP return code is the standard 200. In case of an error, a 400 code is returned, and the information is in the errors array.

Mandatory parameters

API Version

All requests must have the version parameter set to at least 3.0 to use this API.


You can also specify an HTTP header instead of the parameter:


The current version is above. For more information, see the version details.


For all your requests, you must mention your API key in the request:

Either with the key parameter:


Or in the HTTP header:

X-BetaSeries-Key: <key>

This parameter is mandatory to prevent potential abuse of the API.

Member Token

When you need to interact with a member account, you must first identify this member with the /members/auth or /members/oauth function. Once identified, you retrieve a token that you will use in all subsequent requests:

Either to be placed as a parameter:


Or in the HTTP header:

Authorization: Bearer <token>

You can destroy the token at any time using /member/destroy.


It is recommended to specify a User-Agent specific to your application in your requests. This way, if you use your key for multiple applications, it will be easier for us to differentiate your traffic.

Field Parameter

On methods updated since version 3.0, it is possible to select the fields of the returned object by specifying the fields parameter.


In this example, we retrieve three fields id, title, and images.poster per returned element in shows:

    "shows": [  
            "id": 7719,  
            "title": "Better Call Saul",  
            "images": {  
                "poster": ""
    "errors": []  

This allows you to limit the bandwidth used and optimize your use of the API.

What’s Next

Learn now how you can authenticate your account to use the API