Skip to main content
POST
/
tokens
/
sui
/
price
Retrieve SUI Token Price
curl --request POST \
  --url https://api.getnimbus.io/tokens/sui/price \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "addresses": "0x2::sui::SUI",
  "timestamp": 123
}'
{
  "data": [
    {
      "contract_address": "<string>",
      "symbol": "<string>",
      "price": 123,
      "last24hPrice": 123,
      "timestamp": 123,
      "decimals": 123,
      "source": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. Trial key: trial-0a620a64-975b-4f45-a73f-9d363200c92e

Body

application/json
addresses
string
required

Comma-separated list of SUI token addresses. Maximum 50 tokens.

Example:

"0x2::sui::SUI"

timestamp
integer

Optional timestamp to get the price at a specific time.

Response

Successful response with SUI token price information.

data
object[]
I