Api settlement price request
Lookup the historical settlement price of various pairs.
Pagination works as follows:
- We perform a reverse chronological lookup, starting from
end_time. Ifend_timeis not set, we start from the most recent data. - The lookup is limited to
limitrecords. If more data is requested, the response will contain anextcursor for you to query the next page. - If a
cursoris provided, it will be used to fetch results from that point onwards. - Pagination will continue until the
start_timeis reached. Ifstart_timeis not set, pagination will continue as far back as our data retention policy allows.
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
baseb |
Currency | True | The base currency to select |
quoteq |
Currency | True | The quote currency to select |
start_timest |
string | False0 |
Start time of settlement price in unix nanoseconds |
end_timeet |
string | Falsenow() |
End time of settlement price in unix nanoseconds |
limitl |
integer | False30 |
The limit to query for. Defaults to 500; Max 1000 |
cursorc |
string | False'' |
The cursor to indicate when to start the query from |
Currency
The list of Currencies that are supported on the GRVT exchange
| Value | Description |
|---|---|
USD = 1 |
the USD fiat currency |
USDC = 2 |
the USDC token |
USDT = 3 |
the USDT token |
ETH = 4 |
the ETH token |
BTC = 5 |
the BTC token |
SOL = 6 |
the SOL token |
ARB = 7 |
the ARB token |
BNB = 8 |
the BNB token |
ZK = 9 |
the ZK token |
POL = 10 |
the POL token |
OP = 11 |
the OP token |
ATOM = 12 |
the ATOM token |
KPEPE = 13 |
the 1000PEPE token |
TON = 14 |
the TON token |
XRP = 15 |
the XRP token |
TRUMP = 20 |
the TRUMP token |
SUI = 21 |
the SUI token |
LINK = 25 |
the LINK token |
JUP = 27 |
the JUP token |
FARTCOIN = 28 |
the FARTCOIN token |
ENA = 29 |
the ENA token |
DOGE = 30 |
the DOGE token |
ADA = 33 |
the ADA token |
AAVE = 34 |
the AAVE token |
BERA = 35 |
the BERA token |
IP = 40 |
the IP token |
Currency
The list of Currencies that are supported on the GRVT exchange
| Value | Description |
|---|---|
USD = 1 |
the USD fiat currency |
USDC = 2 |
the USDC token |
USDT = 3 |
the USDT token |
ETH = 4 |
the ETH token |
BTC = 5 |
the BTC token |
SOL = 6 |
the SOL token |
ARB = 7 |
the ARB token |
BNB = 8 |
the BNB token |
ZK = 9 |
the ZK token |
POL = 10 |
the POL token |
OP = 11 |
the OP token |
ATOM = 12 |
the ATOM token |
KPEPE = 13 |
the 1000PEPE token |
TON = 14 |
the TON token |
XRP = 15 |
the XRP token |
TRUMP = 20 |
the TRUMP token |
SUI = 21 |
the SUI token |
LINK = 25 |
the LINK token |
JUP = 27 |
the JUP token |
FARTCOIN = 28 |
the FARTCOIN token |
ENA = 29 |
the ENA token |
DOGE = 30 |
the DOGE token |
ADA = 33 |
the ADA token |
AAVE = 34 |
the AAVE token |
BERA = 35 |
the BERA token |
IP = 40 |
the IP token |