Spot
The section documents the info endpoints that are specific to spot.
Retrieve spot metadata
POST
https://api.hyperliquid.xyz/info
Headers
Name | Value |
---|---|
Content-Type* | "application/json" |
Body
Name | Type | Description |
---|---|---|
type* | String | "spotMeta" |
Response
Retrieve spot asset contexts
POST
https://api.hyperliquid.xyz/info
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | "application/json" |
Request Body
Name | Type | Description |
---|---|---|
type* | String | "spotMetaAndAssetCtxs" |
Retrieve a user's token balances
POST
https://api.hyperliquid.xyz/info
See a user's token balances
Headers
Name | Type | Description |
---|---|---|
Content-Type* | "application/json" |
Request Body
Name | Type | Description |
---|---|---|
type* | String | "spotClearinghouseState" |
user* | String | Onchain address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000. |
Last updated