DCAST
pro.dcast/dcast
Live streams, multistreaming, video hosting and embeddable players on your own DCAST account.
- add_item_to_playlist — Append one item to the end of a playlist: send video_id or stream_id, exactly one. Both must belong to the connected account.
- ask_paid_tier — Ask the account owner to create a paid subscription tier with these exact terms (instead of telling them to make it in the cabinet). The owner sees them with the currency on DCAST's approval page and
- ask_site_access — Ask the account owner (one Allow click on DCAST's approval page) to let a website you built call DCAST from its own server. First, in the website's project folder, run: curl -fsSL https://api.dcast.pr
- create_playlist — Create an empty playlist. is_public false keeps it visible to the owner only. site_section true shows it on the author's site as its own row. Add videos and streams with add_item_to_playlist.
- create_restream — Forward one of my DCAST streams to YouTube, Twitch, Facebook, Instagram, TikTok, Kick or custom RTMP; Instagram, TikTok, Kick and custom RTMP need rtmp_url (Instagram only rtmps://). Destination keys
- create_room — Create a video room and get joinUrl for guests. No start step: it goes LIVE by itself when the first person is in it through joinUrl (INSTANT, the default, starts LIVE). At joinUrl only DCAST accounts
- create_stream — Create a stream card and get ingest server addresses for RTMP, SRT or WHIP (browser). A stream card has no planned start time: it goes on air when start_stream is called. The stream key is hidden; cal
- create_video_upload — Create a video card and a one-time upload URL; the bytes go with HTTP PUT to upload.url, not through this connector. If you can run commands where the file is, send them yourself (see Next); only if y
- dcast_call_operation — Call one documented POST, PUT or PATCH operation of the DCAST Partner API v1 (https://api.dcast.pro/api/v1, documented at https://dcast.pro/docs, OpenAPI document https://api.dcast.pro/api/v1/docs/ope
- dcast_delete_operation — Call one documented DELETE operation of the DCAST Partner API v1 (https://api.dcast.pro/api/v1); what it deletes is gone. The arguments are checked against the operation's contract first; a mismatch i
- dcast_describe_operation — The exact contract of one Partner API operation, taken from the API's own OpenAPI document: path parameters, query parameters, the JSON body schema (types, required fields, allowed values, defaults, l
- dcast_find_operation — Find operations of the DCAST Partner API by what you want to do. Returns ranked operations with operationId, method, path and a one-line summary. This covers the WHOLE documented API (streams, videos,
- dcast_get_recipe — Step-by-step recipes with the exact tool calls and arguments for common jobs: put a stream (player and chat) on a website, a password-protected broadcast for employees, a radio station on a company we
- dcast_read_operation — Call one documented GET (read-only) operation of the DCAST Partner API v1 (https://api.dcast.pro/api/v1). Changes nothing. A GET that the API marks as writing (x-dcast-side-effect, shown by dcast_desc
- dcast_search_docs — Search the published DCAST documentation (developer API pages, errors and limits, embedding, access modes, webhooks, plans, prices and limits) and get the matching sections word for word, each with it
- delete_playlist — Delete a playlist. The videos and streams in it stay. Cannot be undone. Confirm with the user first.
- delete_room — Delete a room. A room that holds recordings is cancelled instead and its recordings are kept: data.type is complete-deletion or soft-delete, read it before reporting. Cannot be undone. Confirm with th
- delete_stream — Delete a stream card of the connected account. Cannot be undone. Confirm with the user first.
- delete_video — Permanently delete a video of the connected account with its files. Cannot be undone. Confirm with the user first.
- end_room — End the meeting of a room for everyone in it. The room and its link stay; the next entry opens a new meeting. Confirm with the user first.
- end_stream — Stop the live broadcast of a stream for viewers. The stream card stays and can be used again.
- get_account — Show the connected DCAST account: who it is (display name, public handle, the public address of its channel, brand), the plan, granted access scope and permissions, and how many videos and streams it
- get_account_analytics — Views, storage use and content counts of the connected account over a period.
- get_embed_domains — The websites that are allowed to show this account's player and chat iframes. An empty list means every website is allowed. Entries look like example.com, www.example.com or *.example.com (the wildcar
- get_import_status — Status of a video import started with import_video_from_url (queued, downloading, done, failed) and the created video id.
- get_paid_tier_status — Status of an ask_paid_tier ask: PENDING, APPROVED (with tierId), REJECTED or EXPIRED.
- get_playlist — One playlist with its items in order (videos and streams). The owner can read a private playlist too.
- get_room — One room: type, status, seats, recording and chat settings, planned start and end, and joinUrl (the page guests open).
- get_site_access_status — Status of an ask_site_access request by site code (delivered true = key issued to the site connector, which then writes it to the site environment: check its output), and the websites this connection
- get_storage_quota — Storage used and the storage allowance of the connected account's DCAST plan, with the quota state (OK, NEAR_LIMIT, CRITICAL, EXCEEDED_GRACE, EXCEEDED_HARD). Use when the user asks how much space is l
- get_stream — One stream card: protocol, access mode (visibility), recording (whether broadcasts are kept as a recording), ingest server addresses (RTMP/SRT/WHIP), playback links, state. The stream key is hidden; u
- get_stream_embed_codes — Copy-paste HTML for putting a stream on a website: the video player (player.responsive, the default; player.iframe for a fixed size) and the live chat (chat.iframe), plus their plain URLs, and withCha
- get_stream_status — Whether a stream is live, whether the encoder signal is arriving, current viewers and duration.
- get_video — Get one video of the connected account: title, description, visibility, duration, resolution, status and playback links.
- get_video_embed_code — Embed code and URL for a video. Rules (also in the answer as embedRules): Paste the code exactly as returned. Use `responsive` (it fills its container's width in the video's shape); `iframe` only for
- get_video_status — Upload and processing progress of a video (upload, transcoding, thumbnails) with an ETA when known.
- import_video_from_url — Create a video in the connected account by importing it from a public URL (direct file link). DCAST downloads, stores and transcodes it. Poll with get_import_status.
- list_playlists — List the playlists of the connected account, most recently changed first, with title, visibility and item count.
- list_restreams — List restream setups that forward a DCAST stream to other platforms. Destination keys are not shown.
- list_rooms — List the video rooms (meetings, webinars, broadcasts) of the connected account, newest first, with status, type, seats, join URL and planned start. Cancelled rooms are not listed.
- list_streams — List stream cards of the connected account with access mode (visibility), recording, live/offline state, viewers and playback links. Stream keys are hidden; use reveal_stream_key.
- list_videos — List videos in the connected DCAST account, newest first. Filter by processing status, visibility or a search phrase in title/description.
- remove_item_from_playlist — Remove one item from a playlist; the video or stream itself stays. item_id is the video id, the stream id or the playlist item id.
- reveal_stream_key — Return the secret stream key and full ingest URLs of one stream, for configuring an encoder such as OBS. Only call when the user explicitly asks for the key. Anyone with the key can broadcast to the s
- set_embed_domains — Replace the list of websites allowed to show this account's player and chat iframes, for example the company website so nobody else can embed the stream. This REPLACES the whole list: call get_embed_d
- start_room — Usually not needed for people who join through joinUrl: a meeting starts on the first connection. It does not set LIVE.
- start_stream — Press Start on a stream whose encoder is already sending: viewers get the multi-bitrate broadcast.
- update_playlist — Change the title, description (null clears it) or visibility of a playlist, or make it a row of the author's site (site_section, site_order). Send only what changes.
- update_room — Change a room: title, description, seats, recording, chat, screen share, guest video/audio, waiting room, raise-hand-opens-mic, planned start and end (null clears a planned time). Send only what chang
- update_stream — Change the title, description, access mode or paid access (is_paid, price in USD; needs a payout gateway connected by the user, otherwise NO_PAYOUT_GATEWAY; outside get_account saleBounds: 400 PRICE_B