API documentation

Coconut's API is a config-based API built with simplicity and flexibility in mind.
Encode your first video in less than 5 minutes.

API Reference

Coconut's API is a config-based API built with simplicity and flexibility in mind.

The config file is used to describe your entire encoding workflow from transcoding to multiple formats to generating thumbnails of any size. It is then submitted to Coconut for processing. Very simple.

Getting started

You'll find tutorials on how to use and integrate Coconut with your application.


Libraries

We provide client libraries for the most popular languages so that you don't have to reinvent the wheel and you can start right away!


Changelogs

Current API version: 2016-05-24

2016-05-24

  • New dash output available. Simply add -> dash in the config file to get MPEG-Dash instantly!
  • New fit option for jpg and png output. If fit=crop, the image will be
  • New CDN Backblaze B2 supported – Added on January, 19th 2017

2015-05-07

  • New events option (boolean) for webhook setting. You will be able to receive a webhook notification each time a source file is transferred, an output is processed and more.
  • New Any custom headers are now supported in the Amazon S3 output URL.
  • New offsets option ([int,]) for jpg and png output. You can now specify the position in second for each thumbnail.

2015-04-07

  • New metadata option (boolean) for webhook setting. It is now possible to receive all the metadata of source and output videos in the webhook request.
  • Break Variable source_length renamed to source_duration

2015-01-08

Initial release of the API v2. Read our blog post.