Skip to main content
GET
Price for a given trade size

Path Parameters

pair
string
required

Trading pair as BASE-QUOTE, e.g. BTC-USD or FTSE-GBP

Pattern: ^[A-Z0-9]+-[A-Z0-9]+$

Query Parameters

sizeUsd
number
required

Trade size as USD notional (not asset units)

Required range: 0.000001 < x <= 1000000000000

Response

Quote for both sides

pair
string
required
sizeUsd
number
required
mid
number
required

Unimpacted mid from the live feed

bid
object
required

One side of the book, named by the price a taker gets: ask is a taker buy — opening a long, or closing a short; bid is a taker sell — opening a short, or closing a long.

ask
object
required

One side of the book, named by the price a taker gets: ask is a taker buy — opening a long, or closing a short; bid is a taker sell — opening a short, or closing a long.

topOfBook
object
required
priceTimestampMs
integer
required

Feed timestamp of the price this quote was derived from, in milliseconds — not the time the quote was served.