API
Video infrastructure for your product
One secure API for VOD, live, multistream, interactive sessions, analytics, and payments — so your team ships playback instead of operating encoders and origins.
Operated as a first-class platform · Cohesive REST interface · Authorization: Bearer
How teams use the API
Connect, deliver, and scale — without a home-grown video stack
Three motions most product teams need. Each maps to doc sections and endpoints you can adopt incrementally.
Upload to workers with resumable flows, open live inputs (RTMP, SRT, WebRTC, HTTP pull), and mint room tokens for realtime sessions — all over HTTPS with your API key.
- Direct & TUS-style upload handoffs
- Stream + multistream ingest URLs
- Participant tokens for interactive rooms
Automatic HLS ladders, global CDN-style delivery, embed snippets, downloads, and restream outputs to major platforms — without operating your own origin cluster.
- Multi-bitrate VOD after transcode
- Embed + signed delivery patterns
- Restream to YouTube, Twitch, Facebook
Dashboard-grade analytics (account, summary, geography), Stripe Connect flows, checkout links, notifications, and quotas — suitable when video is core to your business.
- Analytics & revenue endpoints
- Subscriptions + PPV checkout
- Quota, /me, webhooks (see docs)
Platform areas in detail
Deeper slices of the API — each card links to public docs. Your dashboard includes the full reference after signup.
Ingest & VOD
Direct worker upload, TUS init, multipart fallbacks, automatic HLS transcoding (360p–8K), embed and signed delivery, MP4 download, watch-progress for resume.
Live & multistream
RTMP, SRT, WebRTC, HTTP pull. Create streams, patch metadata, end broadcast, thumbnails, lightweight status. Restreams to YouTube, Twitch, Facebook, custom RTMP with encoder URLs.
Realtime rooms
Managed realtime rooms: tokens, participant list, lobby admit/kick/mute, start/end session, recording, host reactions for webinars and meetings.
Grow & operate
Account analytics, summary, stats, geography, per-video and per-stream metrics. Quota and /me. Stripe Connect status, revenue, payments, checkout links, tiers (read), purchases.
Editor & notifications
Cloud video editor metadata and export jobs (plan-gated). In-app notifications: list, unread count, read state, preferences.
Recording
Start/stop/status for stream, restream, and room recordings — same API surface as the creator dashboard.
From upload to playback
Typical VOD path: create an asset, upload bytes to the worker URL we return, poll processing status, then play HLS from the CDN or use the embed endpoint.
Alternative flows (TUS, multipart, token fallback) are on the Upload flows page.
API map
| Area | Representative endpoints | Docs |
|---|---|---|
| Upload & assets | POST /videos/upload (alias POST /videos) → PUT data.upload.url; chunked Content-Range supported | Open |
| Videos | List, patch, delete, status, progress, embed, download | Open |
| Video editor | GET editor/metadata, POST export, GET export job | Open |
| Streams | CRUD-ish, PATCH, end, status, thumbnail, record | Open |
| Restreams | Destinations, encoder URLs, start/stop, PUT, record | Open |
| Rooms | PUT, participants, admit/kick/mute, start/end, record, reactions | Open |
| Analytics | account, summary, stats, geography, video, stream | Open |
| Monetization | GET /payouts, Stripe Connect, checkout, tiers (read), purchases | Open |
| Notifications | list, unread, read, preferences, delete | Open |
| Account | /health, /me, /quota | Open |
| Limits & delivery | Polling + notifications; rate limits & errors (webhooks roadmap) | Open |
Gift checkout, tier CRUD via API, session analytics, richer webhooks, and a realtime partner channel are on the Roadmap.
Try the API
After signup, create an API key in the dashboard (Settings → API Keys). Trial keys include a limited request budget. No card required for the free tier.
Health check (no key):
curl -s https://api.dcast.pro/api/v1/healthList videos (replace YOUR_API_KEY):
curl -s -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.dcast.pro/api/v1/videos?limit=5"Base URL & auth
Base URL
https://api.dcast.pro/api/v1Header
Authorization: Bearer YOUR_API_KEYReady to ship video?
Create an account, grab a key, and wire the endpoints you need. Pricing & quotas are documented separately.
