For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mark Price

Real-time mark price for futures pairs.

Use this stream to follow the mark price — the fair price the exchange uses for risk checks such as liquidation. The mark price differs from the last traded price; do not use one in place of the other.

Endpoint

wss://futures-marketdata-service.outpoll.com/ws/mark-price

Authentication

No authentication required.

Message Envelope

Field
Type
Description

pi

integer

Pair ID

mp

number

Mark price

t

integer

Calculation time, epoch ms

Message Types

Type
Direction
Description

subscribe / unsubscribe

Client → Server

Start or stop pairs

Mark price

Server → Client

New mark price of one pair

Error

Server → Client

{"er", "msg"} — see Errors

ping / pong

Both

Plain-text keep-alive

Subscribe

Every pair:

Server confirmation: there is no confirmation frame. When you subscribe by pair ID, the pair's current mark price arrives immediately. With all: true, mark prices arrive as each pair's value changes.

When Frames Are Sent

The mark price is recalculated on a fixed short cycle. A frame is sent only when the value changes; while it stays the same, nothing is sent. Silence on this stream does not mean the connection is broken — use ping to check.

Mark Price Payload

Field
Type
Description

pi

integer

Pair ID

mp

number

Mark price

t

integer

Time the value was calculated, epoch ms

Python Example

Was this helpful?