ApyHub

Compress Video Job API

Compress large videos from a file upload or URL as a background job. Poll for status and get a downloadable output when processing succeeds. Video Compressor…

Media & content#video

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Compress large videos from a file upload or URL as a background job. Poll for status and get a downloadable output when processing succeeds.

Video Compressor compresses a video file asynchronously and gives you a job ID for polling the result. Send either a source video file or a source video URL, choose an optional compression_percentage from 0 to 100, and check the job until the compressed file is ready.

Use POST /file-to-json when you already have the video as multipart upload, or POST /url-to-json when the source lives at an HTTP(S) URL. If you omit compression_percentage, the job defaults to 50. Both submission endpoints return a UUID job_id immediately, without wrapping it in data.

Authenticate every request with your ApyHub token in the apy-token header. Documentation: https://apyhub.com/utility/job-compress-video

Endpoints 3

  • POSTSubmit file/apyhub/compress-video-job/file-to-jsonUpload a video file to start a compression job and get back a job ID.
  • GETCheck video compression job status/apyhub/compress-video-job/jobs/:job_idCheck the status of a video compression job by its job ID.
  • POSTSubmit url/apyhub/compress-video-job/url-to-jsonSubmit a video URL to start an async compression job.

API details

Base URL
https://api.eu.apyhub.com
Authentication
An API key in the apy-token header
Operations
3 operations on 3 pathsPOST 2GET 1
Response formats
application/json
Description format
OpenAPI 3.0.3, API version 1.0

How to test the Compress Video Job API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Compress Video Job API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the apy-token header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Submit file” (POST /apyhub/compress-video-job/file-to-json), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Compress Video Job API?

Compress large videos from a file upload or URL as a background job. Poll for status and get a downloadable output when processing succeeds. Video Compressor… It is listed under Media & content and has 3 endpoints.

Who publishes the Compress Video Job API?

It is listed from ApyHub's public API description (an OpenAPI document), not published by ApyHub on Swastik Codes. Anyone who controls apyhub.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Compress Video Job API?

Requests go to https://api.eu.apyhub.com. Endpoint paths are added to this base URL.

How do I authenticate with the Compress Video Job API?

With an API key in the apy-token header.

How many endpoints does the Compress Video Job API have?

3 operations on 3 paths (2 POST, 1 GET).

Is forking the Compress Video Job API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.