API Reference

Retrieve Multiple Coin Price

Retrieve the latest price information for multiple tokens. Maximum 10 tokens.

📘

Supported on Sui Mainnet.

🚧

The Indexing API on Sui is currently exclusively available to Pro Members. Non-Pro members can also enjoy a trial period with an allocation of 30 free calls. If you're interested, please register directly through here. Please note that the API Key can also be used for your RPC endpoint.

Parameter

  • tokenIds, string – the full type tag(s) of the token(s) to retrieve data for. Required.
    You can pass one or multiple tokens, separated by commas (,). Example: 0x...::deep::DEEP,0x...::usdc::USDC. Maximum 10 tokens.

  • show24hChange, boolean – whether to include 24-hour price change in the response.Defaults to false.

Response

  • prices, object – A map of token type tags to their current price (as stringified decimals).
    Example key: 0xdeeb7a...::deep::DEEP Example value: "0.1608679420697804"

  • coin24HChange, object – A map of token type tags to their 24-hour percentage price change (as stringified decimals).
    Positive means price increased; negative means price dropped. Example value: "10.55212665981173" means a +10.55% change.

Language
Credentials
Header
Click Try It! to start a request and see the response here!