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

Futures Market Data

Public REST snapshots of futures market data: candles, order book, recent trades, funding rates, 24h statistics.

Use these endpoints to load history and the current state once; then follow the Futures Market Data streams for live updates.

Service host

Path prefix
Host

/api/v1/*

https://futures-marketdata-service.outpoll.com

Authentication

No authentication required.

Conventions

  • Pair ID (pairId) is the gid from Get Public Pairs.

  • Numbers are decimals. Parse them as decimals, not floats (in Python: response.json(parse_float=Decimal)).

  • Time is epoch milliseconds, UTC.

  • Server time: every response carries the HTTP Date header (UTC, one-second precision). Use it to check your clock before signing private requests — the signature timestamp must be within ±30 seconds of server time.

  • Unknown pairId → 404 with an empty body.

Get Candles

Return historical OHLCV candles of one pair, oldest first.

  • Paging:

    • no from / to → the latest limit candles;

    • from only → the first limit candles opening at or after from (page forward);

    • to only → the last limit candles opening at or before to (page back: pass the oldest loaded candle's t to get the previous page);

    • from and to → the first limit candles in the window.

  • The last candle of the latest page may still be open and changing; follow Candles for live updates.

  • An unsupported interval returns an empty cs array.

Query Parameters

Parameter
Type
Required
Default
Description

pairId

integer

Yes

—

Pair ID

interval

string

Yes

—

1m, 5m, 15m, 30m, 1h, 4h, 6h, 1d, 1w (opens Monday 00:00 UTC), 1mo (opens on the 1st, 00:00 UTC)

from

integer

No

—

Earliest candle open time, epoch ms, inclusive

to

integer

No

—

Latest candle open time, epoch ms, inclusive

limit

integer

No

500

Clamped to 1–1500

Response 200 OK

Field
Type
Description

pi

integer

Pair ID

iv

string

Interval

cs

array

Candles, oldest first

cs[].t

integer

Open time, epoch ms, UTC

cs[].o

number

Open price

cs[].h

number

High price

cs[].l

number

Low price

cs[].c

number

Close price; the latest trade price while the candle is open

cs[].v

number

Volume in the base coin

Get Order Book

Return a snapshot of the order book of one pair.

  • Asks ascending from the best ask, bids descending from the best bid.

  • With group, levels are placed on that price grid and their sizes aggregated. Omit it for the pair's tick size. More than 8 decimal places → 400.

  • To keep a local book, take this snapshot and apply Order Book stream updates on top of it.

Query Parameters

Parameter
Type
Required
Default
Description

pairId

integer

Yes

—

Pair ID

depth

integer

No

20

Levels per side; larger values are capped at 100

group

number

No

tick size

Price grouping step, e.g. 0.1, 1, 10

Response 200 OK

Field
Type
Description

pi

integer

Pair ID

t

integer

Snapshot time, epoch ms

a

array

Asks, best (lowest) first

b

array

Bids, best (highest) first

a[].p / b[].p

number

Price level

a[].v / b[].v

number

Size at the level, base coin

Errors with a body use the shape {"error", "timestamp", "message"}:

Get Recent Trades

Return the latest public trades of one pair, newest first.

Query Parameters

Parameter
Type
Required
Default
Description

pairId

integer

Yes

—

Pair ID

limit

integer

No

50

Clamped to 1–100

Response 200 OK

Field
Type
Description

pi

integer

Pair ID

ts

array

Trades, newest first

ts[].id

string

Trade ID. Here every fill is listed separately; the Trades stream merges fills of one price and time into one frame, which carries the ID of its newest fill

ts[].p

number

Trade price

ts[].v

number

Trade size, base coin

ts[].s

string

Taker side: buy or sell

ts[].t

integer

Trade time, epoch ms

Get Funding Rates

Return the funding rate that will be applied at the next funding time, for one pair or all pairs.

  • Cached for 5 seconds. Follow Funding for live updates.

Query Parameters

Parameter
Type
Required
Default
Description

pairId

integer

No

—

Pair ID; omit for all pairs

Response 200 OK

Field
Type
Description

rs

array

One item per pair

rs[].pi

integer

Pair ID

rs[].nft

integer

Next funding time, epoch ms, UTC

rs[].iv

integer

Funding interval in ms (28800000 = 8 hours)

rs[].elr

number

Rate applied to long positions at nft; positive = longs pay

rs[].esr

number

Rate applied to short positions at nft; positive = shorts pay

Get 24h Statistics

Return rolling 24-hour statistics of every pair.

  • A rolling window over the last 24 hours, not the UTC-day candle.

  • Cached for 5 seconds. Follow Ticker for live updates.

Response 200 OK

Field
Type
Description

d

array

One item per pair

d[].pi

integer

Pair ID

d[].o

number

Price 24 hours ago

d[].h

number | null

24h high; null if not known yet

d[].lo

number | null

24h low; null if not known yet

d[].c

number

Last price

d[].v

number

24h volume, base coin

d[].ch

number

24h change, c − o

d[].chp

number

24h change in percent; -2.0000 = −2 %

d[].mon

boolean

true = market open now, false = trading session closed

Python Example

  • Futures Market Data streams for live updates.

  • Market for pair IDs, tick size and lot size.

  • Futures API for trading endpoints.

Was this helpful?