Cloudflare Stream
Cloudflare Stream is the video streaming, hosting, and live-video product from Cloudflare - a single REST API for uploading, storing, encoding, and delivering on-demand and live video across Cloudflare's global network. It handles direct and TUS resumable uploads, copy-from-URL ingest, live inputs over RTMPS and SRT (with simulcast outputs and WebRTC/WHIP/WHEP beta), a built-in adaptive-bitrate player and HLS/DASH manifests, AI-generated and uploaded captions, signed-URL access control, per-account webhooks, and viewing analytics. This entry documents the Cloudflare Stream product specifically, not the broader Cloudflare platform. The API is served under https://api.cloudflare.com/client/v4/accounts/{account_id}/stream and authenticates with a Bearer API token. Billed at $5 per 1,000 minutes of video stored and $1 per 1,000 minutes delivered.
APIs
Cloudflare Stream Videos API
Upload, store, encode, list, edit, and delete on-demand video. Supports direct uploads, TUS resumable uploads, copy-from-URL ingest, one-time direct creator uploads, video clipp...
Cloudflare Stream Live Inputs API
Create and manage live inputs that receive broadcasts over RTMPS or SRT and deliver them live and as recordings. Manage simulcast outputs that restream one input to other RTMP o...
Cloudflare Stream Captions API
List, upload, AI-generate, retrieve (including WebVTT), and delete per-language captions and subtitles for a video, keyed by BCP 47 language tag, under /accounts/{account_id}/st...
Cloudflare Stream Signed URLs API
Restrict playback with signed URLs. Create and revoke RSA signing keys (up to 1,000 per account) under /accounts/{account_id}/stream/keys, and mint per-video signed tokens via P...
Cloudflare Stream Webhooks API
Subscribe, view, and delete the single per-account webhook that Stream calls when a video finishes processing or enters an error state. Notifications are signed with a secret an...
Cloudflare Stream Analytics API
Measure minutes viewed and stored. Read account video storage usage via GET /accounts/{account_id}/stream/storage-usage, and query rich viewing analytics (minutes viewed, by vid...