GET
A pair's history

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"

Response

The pair's averages and its last 7 days, hour by hour.

carry24hApr
number | null
required

The funding spread on average over the last 24 hours, APR in percent of one leg's notional: each leg's average carry for its side over the window, added. Null while a leg has no history then.

carry7dApr
number | null
required

The same over the last 7 days.

carry30dApr
number | null
required

The same over the last 30 days.

historyHours
integer
required

The hours of history the 30-day average stands on, the fewer of the two legs'.

long
string
required
Example:

"aster:ETHUSDT"

short
string
required
Example:

"hyperliquid:ETH"

worstDay7dApr
number | null
required

The lowest daily average of the spread over the last 7 days, each day the 24 hours before the next, counted once 12 of its hours have a spread.

series
object[]
required

Every hour of the last 7 days either leg has a rate for, oldest first.