apyhub
Back

Convert Video File Format API

What it does

Video Converter turns an uploaded video into a different format and returns the converted file as binary output. Send a video in the request body, choose one of the supported formats, and get the transformed video back.

Use it when you need to standardize uploads for playback, editing, or downstream processing. Supported output formats are mp4, mp4-web, webm, and mov. The mp4-web option uses H.264 with faststart for web playback, which is useful when you need videos to start quickly in browsers.

The input schema is simple: file for the source video and format for the target format. The endpoint accepts videos up to 100 MB, which makes it a fit for ingest pipelines, user-upload workflows, or media tools that need consistent output types before storage or delivery.

POST
Convert a video
https://api.eu.apyhub.com/freedailypro/convert-video-file-format-api/video-convert

QUICKSTART

GUIDE

Quickstart

Convert a video by uploading the source file and choosing the output format.

curl -X POST "https://api.eu.apyhub.com/freedailypro/convert-video-file-format-api/video-convert" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/video.mp4" \
  -F "format=mp4"

What you'll get back

Returns a binary file (string with format: binary) containing the converted video.

TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
The video. Up to 100 MB.
mp4, mp4-web (H.264 with faststart for web playback), webm or mov

About this endpoint

What it does

Converts an uploaded video file into the format you specify and returns the converted video as a binary response.

Request Body

ParameterTypeMandatoryDescription
fileStringYesThe video file to convert. Binary upload. Up to 100 MB.
formatENUMYesOutput format. Allowed values: mp4, mp4-web (H.264 with faststart for web playback), webm, mov.

Response

Returns a binary file containing the converted video.

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.