API Documentation
Address
Airdrops
Events
Farming
DEFI Actions
Token
Retrieve SUI Token Price
Fetches the price of one or more SUI tokens for specified addresses and an optional timestamp.
POST
/
tokens
/
sui
/
price
curl --request POST \
--url https://api.getnimbus.io/tokens/sui/price \
--header 'Content-Type: application/json' \
--data '{
"addresses": "0x2::sui::SUI",
"timestamp": 123
}'
{
"data": [
{
"contract_address": "<string>",
"symbol": "<string>",
"price": 123,
"last24hPrice": 123,
"timestamp": 123,
"decimals": 123,
"source": "<string>"
}
]
}
Body
application/json
Response
200
application/json
Successful response with SUI token price information.
The response is of type object
.
curl --request POST \
--url https://api.getnimbus.io/tokens/sui/price \
--header 'Content-Type: application/json' \
--data '{
"addresses": "0x2::sui::SUI",
"timestamp": 123
}'
{
"data": [
{
"contract_address": "<string>",
"symbol": "<string>",
"price": 123,
"last24hPrice": 123,
"timestamp": 123,
"decimals": 123,
"source": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.