Mux
APIVideo API for encoding, storing and streaming on-demand and live video
- Access
- Access token ID and secret
About
Video infrastructure API: send a file or live stream in, get an HLS playback URL out, with a player and playback analytics included. Pricing is per minute of video, not per GB. A free plan covers 100,000 delivered minutes a month.
What you can do with it
- Upload a video file and stream it anywhere with one playback URL
- Run live streams over RTMP or SRT and record them for replay
- Measure playback quality and engagement with built-in analytics
Get started
- Create an access token with Mux Video read and write permissions
- Play the asset at https://stream.mux.com/{PLAYBACK_ID}.m3u8
Example
curl https://api.mux.com/video/v1/assets \
-X POST \
-H "Content-Type: application/json" \
-u "$MUX_TOKEN_ID:$MUX_TOKEN_SECRET" \
-d '{ "inputs": [{ "url": "https://muxed.s3.amazonaws.com/leds.mp4" }], "playback_policies": ["public"], "video_quality": "basic" }'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- JavaScript/TypeScript, Python, PHP, Ruby, Elixir, Java, C#, Go
- MCP server
- Remote