# Hyperliquid — Retrieve spot asset contexts

Get Hyperliquid Spot Asset Contexts data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as type, and retrieve structured data including token index, hexadecimal token identifier, spot pair index, context coin identifier, and reported mark price for spot dashboards, and asset references.

Documentation: https://openany.si/market/apis/hyperliquid/hyperliquid-retrieve-spot-asset-contexts/?offering=cac3d51a-2bec-4e62-8939-9383a6ce4683
API ID: cac3d51a-2bec-4e62-8939-9383a6ce4683
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/spot-meta-and-asset-ctxs
Page update time: 2026-12-03T02:49:36.172Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:35.837Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Retrieve spot asset contexts request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "type": "spotMetaAndAssetCtxs"
        }
      ],
      "properties": {
        "type": {
          "const": "spotMetaAndAssetCtxs",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "spotMetaAndAssetCtxs"
          ],
          "example": "spotMetaAndAssetCtxs",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object",
      "description": "Retrieve spot asset contexts Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "anyOf": [
      {
        "type": "object",
        "properties": {
          "tokens": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "deployerTradingFeeShare": {
                  "type": "string"
                },
                "evmContract": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string"
                    },
                    "evm_extra_wei_decimals": {
                      "type": "integer"
                    }
                  }
                },
                "fullName": {
                  "type": "null"
                },
                "index": {
                  "type": "integer"
                },
                "isCanonical": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                },
                "szDecimals": {
                  "type": "integer"
                },
                "tokenId": {
                  "type": "string"
                },
                "weiDecimals": {
                  "type": "integer"
                }
              }
            }
          },
          "universe": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "index": {
                  "type": "integer"
                },
                "isCanonical": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                },
                "tokens": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        }
      },
      {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "circulatingSupply": {
              "type": "string"
            },
            "coin": {
              "type": "string"
            },
            "dayBaseVlm": {
              "type": "string"
            },
            "dayNtlVlm": {
              "type": "string"
            },
            "markPx": {
              "type": "string"
            },
            "midPx": {
              "type": "string"
            },
            "prevDayPx": {
              "type": "string"
            },
            "totalSupply": {
              "type": "string"
            }
          }
        }
      }
    ]
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/hyperliquid/info/spot-meta-and-asset-ctxs' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "type": "spotMetaAndAssetCtxs"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[
  {
    "tokens": [
      {
        "deployerTradingFeeShare": "0.0",
        "evmContract": {
          "address": "0x6b9e773128f453f5c2c60935ee2de2cbc5390a24",
          "evm_extra_wei_decimals": -2
        },
        "fullName": null,
        "index": 0,
        "isCanonical": true,
        "name": "USDC",
        "szDecimals": 8,
        "tokenId": "0x6d1e7cde53ba9467b783cb7c530ce054",
        "weiDecimals": 8
      },
      {
        "deployerTradingFeeShare": "0.0",
        "evmContract": {
          "address": "0x9b498c3c8a0b8cd8ba1d9851d40d186f1872b44e",
          "evm_extra_wei_decimals": 13
        },
        "fullName": null,
        "index": 1,
        "isCanonical": true,
        "name": "PURR",
        "szDecimals": 0,
        "tokenId": "0xc1fb593aeffbeb02f85e0308e9956a90",
        "weiDecimals": 5
      },
      {
        "deployerTradingFeeShare": "0.0",
        "evmContract": {
          "address": "0xa320d9f65ec992eff38622c63627856382db726c",
          "evm_extra_wei_decimals": 10
        },
        "fullName": null,
        "index": 2,
        "isCanonical": false,
        "name": "HFUN",
        "szDecimals": 2,
        "tokenId": "0xbaf265ef389da684513d98d68edf4eae",
        "weiDecimals": 8
      }
    ],
    "universe": [
      {
        "index": 0,
        "isCanonical": true,
        "name": "PURR/USDC",
        "tokens": [
          1,
          0
        ]
      },
      {
        "index": 1,
        "isCanonical": false,
        "name": "@1",
        "tokens": [
          2,
          0
        ]
      },
      {
        "index": 2,
        "isCanonical": false,
        "name": "@2",
        "tokens": [
          3,
          0
        ]
      }
    ]
  },
  [
    {
      "circulatingSupply": "594709422.5915999413",
      "coin": "PURR/USDC",
      "dayBaseVlm": "8853412.0",
      "dayNtlVlm": "912895.5019269999",
      "markPx": "0.099303",
      "midPx": "0.0993955",
      "prevDayPx": "0.10425",
      "totalSupply": "594709433.8981200457"
    },
    {
      "circulatingSupply": "995714.7198891999",
      "coin": "@1",
      "dayBaseVlm": "1393.94",
      "dayNtlVlm": "16603.3262",
      "markPx": "11.81",
      "midPx": "11.794",
      "prevDayPx": "11.951",
      "totalSupply": "995714.7707153599"
    },
    {
      "circulatingSupply": "4869923779.8203802109",
      "coin": "@2",
      "dayBaseVlm": "0.0",
      "dayNtlVlm": "0.0",
      "markPx": "0.00005779",
      "midPx": "0.0000577",
      "prevDayPx": "0.0000583",
      "totalSupply": "6867929573.127530098"
    }
  ]
]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- hyperliquid: https://openany.si/market/apis/hyperliquid/hyperliquid-retrieve-spot-asset-contexts/?offering=cac3d51a-2bec-4e62-8939-9383a6ce4683

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
