Token
Get token price chart data
Retrieves historical price data for a SUI token with different time intervals based on the range Unix timestamp in seconds. If not provided, returns data for last 24 hours. Different ranges will have different intervals:
- < 1 day: 5-minute intervals
- < 7 days: 1-hour intervals
- ≥ 7 days: 1-day intervals
GET
Query Parameters
The token contract address
(recommended) The time range to get the price chart data. If not provided, defaults to using the 'from' and 'to' parameters.
Available options:
1h
, 1D
, 1W
, 1M
, YTD
, ALL
Start timestamp in seconds. If not provided, defaults to 24 hours ago
End timestamp in seconds. If not provided, defaults to current time
Response
200
application/json
Successful response with price chart data
The response is of type object
.