Skip to main content
GET
cURL

Path Parameters

base
string
required

Base Asset

quote
string
required

Quote Asset

Query Parameters

network
enum<string>
required
Available options:
starknet-mainnet,
starknet-sepolia
timestamp
string
required

Represents a range of timestamps

chunk_interval
null | enum<string>
Available options:
100ms,
1s,
5s,
10s,
1min,
5min,
15min,
1h,
2h,
1d,
1w
routing
boolean | null

Response

200 - application/json

Get the historical onchain median price

decimals
integer<int32>
required
Required range: x >= 0
median_price
string
required
nb_sources_aggregated
integer<int32>
required
Required range: x >= 0
pair_id
string
required
timestamp
integer<int64>
required
Required range: x >= 0