GET
Quote a pair

Query Parameters

long
string
required

The long leg, venue:market, as the opportunities list gives it.

Example:

"aster:ETHUSDT"

short
string
required

The short leg, venue:market.

Example:

"hyperliquid:ETH"

size
number
default:10000

Notional per leg, in dollars.

Required range: x <= 1000000000
hold
number
default:30

Holding period, in days. The round trip's cost is spread over it.

Required range: x <= 3650
leverage
number

The leverage you want on each leg, capped per leg at the venue's maximum.

Required range: x <= 1000
Example:

10

maxAge
integer
default:15

How old a leg's costs served from memory may be, in seconds: a list pricing many pairs at once takes up to a minute, so its visitors share one read of each book. Not part of what is priced.

Required range: 1 <= x <= 60

Response

The quote and the four costs behind it.

quote
object
required
costs
object
required
isolatedOnly
object
required

Whether each leg's venue margins its market in isolated only, where a position can't be cross.