Compress video files through an asynchronous workflow, a practical API for large-scale or long-duration videos / tasks.
Compress Video API is a hosted service from ApyHub that compresses video files asynchronously. Requests are submitted either as a direct multipart file upload or as a source video URL, with an optional compression_percentage parameter (0-100, defaulting to 50) that maps to an FFmpeg CRF value. Both submission methods return a job ID immediately rather than the processed file.
Job status is checked through a separate polling endpoint that reports pending, successful, or failed, and returns a URL to the compressed output video once the job succeeds; failed or pending jobs include a human-readable message. File uploads are capped at 100MB per request, with the URL-based endpoint suggested as an alternative for larger source files.
The API is intended for upload pipelines, media libraries, and other workflows that need to reduce video file size before storage or delivery, such as for reducing bandwidth use, speeding up playback, or preparing assets for further processing.
Submit a video file via POST /file-to-json or a video URL via POST /url-to-json to get a job_id, then poll GET /jobs/:job_id until the status is successful and read the returned output URL.
File uploads are capped at 100MB total per request; larger videos should use the URL-based submit endpoint instead.
It accepts an integer from 0 to 100 (defaulting to 50 if omitted) and maps to an FFmpeg CRF value of 30 + (percentage / 4); invalid or out-of-range values return a 400 error.
Poll at most once per second, since faster polling counts against your rate limit without finishing the job sooner.
It's aimed at upload pipelines, media libraries, and workflows that need smaller video files for storage or delivery, such as reducing bandwidth or speeding up playback.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Some Breaking Bad quotes.
Get episode, cast and crew data from Buffy the Vampire Slayer and Angel.
Doctor Who API.
TV programme of Czech TV.
Dailymotion Developer API.
Unofficial Eurovision Song Contest API.