/

docs

Log inSign up
GuidesAPI Reference

CONTENT

Overview

Start live streaming

Getting started tutorial

Configure broadcast software

Get an API key

Verify a live stream is active

Create a stream

Playback a live stream

Record a live stream session

Stream delivery via CDN

Redundant back-up transcoding

Tips for reducing latency

Handling disconnects

Debug live stream issues

Supported codecs and workflows

API Requests

Usage and Billing

#API Requests

The Livepeer.com API is a video live streaming API. With the Livepeer.com API, you or the client can configure details for live broadcasting software, generate a playback URL for stream viewers, get usage data about your stream sessions and more. Explore the Livepeer.com API reference for more information.

The Livepeer.com API base url is https://livepeer.com/api/. As you make requests, the Livepeer.com API returns JSON responses.

#Authentication

The Livepeer.com API uses API keys to authenticate most requests, including all requests associated with creating and retrieving a stream or session object.

The Livepeer.com API uses Bearer authentication. You or the client must send an API key in the Authorization header when making requests to protected information:

Authorization: Bearer <api-key>

All API requests must be made over HTTPS. API requests without proper authentication will fail.

#Errors

The Livepeer.com API uses conventional HTTP status codes.

2XX = success

4XX = client error, problem with information provided

5XX = internal server error, problem with Livepeer servers