API
Integrate video upload, transcoding, live streaming, and embed on your site or app. No infrastructure to run.
Base URL & auth
Base URL: https://api.dcast.pro/api/v1
Auth: Authorization: Bearer YOUR_API_KEY. Create an account and get your API key in Settings → API Keys.
Main endpoints
GET /me— key infoGET/POST /videos,POST /videos/upload— video upload (Direct Upload flow)GET/POST /streams,GET /streams/:id/preview-url— live streams + HTTP-FLV preview forflv.jsplayback (same URL the cabinet renders)GET/POST /restreams,GET /restreams/:id/preview-url— multistream + HTTP-FLV preview forflv.jsplaybackGET/POST /rooms,POST /rooms/:id/token— real-time video roomsGET /analytics/*— analytics
Machine-readable spec
GET https://api.dcast.pro/docs/openapi.json— JSON inventory of every Partner API route (method + path), the canonical doc landing URL, and a topic index. Public, no auth required. Use it to verify integration coverage and detect doc ↔ implementation drift.GET https://api.dcast.pro/docs/<topic>— 302 redirect to the topic page (e.g./docs/streams,/docs/restreams,/docs/upload). Lets partners link straight from the API host.
🤖 Build it with AI
Point your AI assistant (Cursor, Claude Code, ChatGPT) at our llms.txt / OpenAPI spec, drop in our agent skill or MCP config, and use ready-made prompts to scaffold the integration.
Full integration guide (Direct Upload, webhooks, SDK) is available in the dashboard after registration.
Get API key