REST API: Latest token candlestick
Retrieve the most recent OHLCV candlestick for a token at a chosen interval, with open, high, low, close, and average prices in tinybar and USD.
Authorizations
API key provisioned by the SaucerSwap team. Request one from [email protected] and send it in the x-api-key header with every request.
Headers
API key for authentication. Request a key from [email protected].
"YOUR_API_KEY"
Path Parameters
Token id (shard.realm.num)
"0.0.731861"
Query Parameters
Data interval
FIVEMIN, HOUR, DAY, WEEK "HOUR"
Response
Successful response
Token id (shard.realm.num)
"0.0.731861"
The open price of the token in tinybars (i.e. first minutely observation over the INTERVAL)
36358807
The open price of the token in USD (i.e. first minutely observation over the INTERVAL)
0.017246927356274498
The high price of the token over the INTERVAL, in tinybars
36370090
The high price of the token over the INTERVAL, in USD
0.017248478665373164
The low price of the token over the INTERVAL, in tinybars
36334867
The low price of the token over the INTERVAL, in USD
0.0169388611613325
The close price of the token over the INTERVAL, in tinybars
36353193
The close price of the token over the INTERVAL, in USD
0.0169388611613325
The (minutely) avg price of the token over the INTERVAL, in tinybars
36347000.92028988
The (minutely) avg price of the token over the INTERVAL, in USD
0.017085609229304164
The sum of total volume traded of the token over the INTERVAL, in tinybars
"4484168318250"
The point in time liquidity of the token, as of timestampSeconds (the end timestamp of the INTERVAL), in tinybars
"5976854242691456"
The sum of total volume traded of the token over the INTERVAL, in USD
2110.33
The point in time liquidity of the token, as of timestampSeconds (the end timestamp of the INTERVAL), in USD
2784930.18
The end unix timestamp of the INTERVAL, in seconds
1697681880
The start unix timestamp of the INTERVAL, in seconds
1697673600