curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info \
--header 'Content-Type: application/json' \
--data '{
"type": "spotMeta"
}'
{
"tokens": [
{
"name": "<string>",
"szDecimals": 123,
"weiDecimals": 123,
"index": 123,
"tokenId": "<string>",
"isCanonical": true
}
],
"universe": [
{
"name": "<string>",
"tokens": [
123
],
"index": 123,
"isCanonical": true
}
]
}
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info \
--header 'Content-Type: application/json' \
--data '{
"type": "spotMeta"
}'
{
"tokens": [
{
"name": "<string>",
"szDecimals": 123,
"weiDecimals": 123,
"index": 123,
"tokenId": "<string>",
"isCanonical": true
}
],
"universe": [
{
"name": "<string>",
"tokens": [
123
],
"index": 123,
"isCanonical": true
}
]
}
info
endpoint with type: "spotMeta"
retrieves spot metadata including tokens and universe for the Hyperliquid exchange. This endpoint provides essential information about available spot tokens, their specifications, and trading pairs.
type
(string, required) — The request type. Must be "spotMeta"
to retrieve spot metadata.name
(string) — The token name (e.g., “USDC”, “PURR”).szDecimals
(integer) — Number of decimal places for size precision.weiDecimals
(integer) — Number of decimal places for wei representation.index
(integer) — Unique token index identifier.tokenId
(string) — Unique token identifier in hexadecimal format.isCanonical
(boolean) — Whether the token is canonical on the platform.evmContract
(string, nullable) — EVM contract address if applicable.fullName
(string, nullable) — Full descriptive name of the token.name
(string) — Trading pair name (e.g., “PURR/USDC”, “@1”).tokens
(array) — Array of token indices that make up the trading pair.index
(integer) — Unique pair index identifier.isCanonical
(boolean) — Whether the trading pair is canonical.curl -X POST \
-H "Content-Type: application/json" \
-d '{"type": "spotMeta"}' \
https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info
info
endpoint with type: "spotMeta"
is essential for spot trading applications that need to:
Spot metadata including tokens and universe
The response is of type object
.
Was this page helpful?