Skip to content

Bind a stream to a market

POST
/api/m/{marketId}/streams

One operator, one active market at a time: prior bindings under the caller’s handle are cleared before (re)binding. The handle is resolved server-side from the verified identity, never from the body.

marketId
required
string

Protocol market id. Numeric → Polymarket (Gamma), lmt-… → Limitless, kalshi-… → Kalshi, denpa-… → Denpa-native.

object
url
required

HLS URL — must contain .m3u8 or stream.mux.com.

string
label

Defaults to the upper-cased handle.

string

Bound

object
ok
required
boolean
streams
required
Array<object>
object
handle
required
string
url
required

HLS playback URL.

string
label
required
string
updatedAt
required
string

Validation error. error names the missing or malformed field.

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any

Missing or invalid credential.

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any