Skip to content

API reference

Endpoints

All 63 routes under /api/v1, grouped by resource.

Last updated:

The API has 63 routes under /api/v1. Each has its own page with the parameters, the body, the responses and a request in eight languages. The page of an operation is at /docs/api/<resource>.<action>.

Two more routes sit outside /api/v1 because they do not speak JSON: the resumable upload at /uploads/tus/ and the signed download of a result. Both are in the quick start.

Account#

MethodPathOperation
GET/api/v1/meShow the authenticated account
GET/api/v1/usageShow today's processing budget

API keys#

MethodPathOperation
GET/api/v1/abilitiesList the abilities a key may be granted
POST/api/v1/device-links/tokenCollect the key of an approved link
POST/api/v1/device-linksStart linking a program to an account
DELETE/api/v1/tokens/\{token\}Revoke one of the caller's keys by id
DELETE/api/v1/tokens/currentRevoke the key used by this request
GET/api/v1/tokensList the caller's API keys
POST/api/v1/tokensIssue an API key

Catalog#

MethodPathOperation
GET/api/v1/capabilitiesReport which engines this server has and what its limits are
GET/api/v1/clip-modesList the cut modes
GET/api/v1/conversion-errorsList the conversion error codes
GET/api/v1/download-platformsList the platforms a video can be downloaded from
GET/api/v1/toolsList the conversions on offer
GET/api/v1/upload-typesList the file types an upload may have

Uploads#

MethodPathOperation
GET/api/v1/uploadsList your unclaimed uploads

Conversions#

MethodPathOperation
GET/api/v1/conversions/\{id\}/eventsFollow a conversion as it runs
GET/api/v1/conversions/\{id\}/resultGet signed links to a conversion's result
GET/api/v1/conversions/\{id\}Show one conversion
DELETE/api/v1/conversions/\{id\}Cancel a conversion
GET/api/v1/conversionsList the caller's conversions

PDF tools#

MethodPathOperation
POST/api/v1/tools/excel-to-pdfConvert a spreadsheet to PDF
POST/api/v1/tools/images-to-pdfBind images into a PDF, one per page
POST/api/v1/tools/pdf-compareCompare two PDFs' text, page by page
POST/api/v1/tools/pdf-compressMake a PDF smaller
POST/api/v1/tools/pdf-cropTrim a PDF's margins
POST/api/v1/tools/pdf-extract-pagesKeep only the pages you name
POST/api/v1/tools/pdf-formsList, fill or flatten a PDF form
POST/api/v1/tools/pdf-mergeJoin several PDFs into one
POST/api/v1/tools/pdf-ocrMake a scanned PDF searchable
POST/api/v1/tools/pdf-organiseReorder or duplicate pages
POST/api/v1/tools/pdf-page-numbersStamp page numbers onto a PDF
POST/api/v1/tools/pdf-protectEncrypt a PDF with a password
POST/api/v1/tools/pdf-remove-pagesRemove the pages you name
POST/api/v1/tools/pdf-repairRebuild a damaged PDF's structure
POST/api/v1/tools/pdf-rotateRotate pages by 90, 180 or 270 degrees
POST/api/v1/tools/pdf-signSign a PDF with your own certificate
POST/api/v1/tools/pdf-splitSplit a PDF into several files
POST/api/v1/tools/pdf-to-imageRender pages to PNG or JPEG
POST/api/v1/tools/pdf-to-pdfaConvert to the archival PDF/A format
POST/api/v1/tools/pdf-to-textExtract a PDF's text, as text or Markdown
POST/api/v1/tools/pdf-unlockRemove a password you know
POST/api/v1/tools/pdf-watermarkStamp text across a PDF's pages
POST/api/v1/tools/powerpoint-to-pdfConvert a presentation to PDF
POST/api/v1/tools/word-to-pdfConvert a Word or OpenDocument text file to PDF

Image tools#

MethodPathOperation
POST/api/v1/tools/image-compressMake an image smaller without changing what it is
GET/api/v1/tools/image-convert/formatsList the image formats this server can read and write
POST/api/v1/tools/image-convertConvert, resize, crop, rotate or flip an image

Audio and video tools#

MethodPathOperation
GET/api/v1/tools/audio-convert/formatsList the audio formats this server can write
POST/api/v1/tools/audio-convertConvert audio, or extract a video's soundtrack
POST/api/v1/tools/video-clipCut, crop or split a video
POST/api/v1/tools/video-compressMake a video or an audio file smaller
GET/api/v1/tools/video-convert/capabilitiesList the containers and codecs this server can produce
POST/api/v1/tools/video-convertConvert a video between containers and codecs
POST/api/v1/tools/video-download/metadataReport what a platform says about a URL
POST/api/v1/tools/video-downloadDownload a video from a URL
POST/api/v1/tools/video-to-gifTurn part of a video into an animated GIF

Archive tools#

MethodPathOperation
POST/api/v1/tools/archive-createPack several files into one archive
POST/api/v1/tools/archive-extractUnpack an archive into its files

Sprite tools#

MethodPathOperation
POST/api/v1/tools/sprite-buildPack frames into a sprite sheet
GET/api/v1/tools/sprite-split/formatsThe metadata formats, the modes and the limits
POST/api/v1/tools/sprite-splitCut a sprite sheet into frames

Pixel art tools#

MethodPathOperation
POST/api/v1/tools/pixels-to-svgTurn pixel art into SVG