# Hyperliquid — Retrieve information about a token

Get Hyperliquid Token Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as tokenId, type, and retrieve structured data including token name, reported total supply, reported circulating supply, reported maximum supply, and reported size precision for token references, and precision handling, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/hyperliquid/hyperliquid-retrieve-information-about-a-token/28814cf6-7dc2-4928-b30c-1a71cc8f0efa/
API ID: 28814cf6-7dc2-4928-b30c-1a71cc8f0efa
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/token-details
Page update time: 2026-12-03T02:49:36.098Z
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
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:35.663Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Hyperliquid Token Details API

Send type="tokenDetails" and tokenId. tokenId is 0x followed by 32 hexadecimal characters. The object includes supply, precision and price-reference fields; deployment and genesis information may be null and should remain distinct from zero.

## What You Can Build

- **Token references**: Display supply and price-reference fields with the token identity.
- **Precision handling**: Retain separate size and base-unit precision.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `name` | Token name |
| `totalSupply` | Reported total supply |
| `circulatingSupply` | Reported circulating supply |
| `maxSupply` | Reported maximum supply |
| `szDecimals` | Reported size precision |
| `weiDecimals` | Reported base-unit precision |
| `markPx` | Reported mark price |
| `midPx` | Reported mid price |
| `deployTime` | Deployment time; can be null |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Retrieve information about a token 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": [
        {
          "tokenId": "0x6d1e7cde53ba9467b783cb7c530ce054",
          "type": "tokenDetails"
        }
      ],
      "properties": {
        "tokenId": {
          "description": "Onchain id in 34-character hexadecimal format; e.g. 0x00000000000000000000000000000000.",
          "example": "0x6d1e7cde53ba9467b783cb7c530ce054",
          "pattern": "^0x[0-9a-fA-F]{32}$",
          "type": "string"
        },
        "type": {
          "const": "tokenDetails",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "tokenDetails"
          ],
          "example": "tokenDetails",
          "type": "string"
        }
      },
      "required": [
        "type",
        "tokenId"
      ],
      "type": "object",
      "description": "Retrieve information about a token Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "circulatingSupply": {
      "type": "string"
    },
    "deployGas": {
      "type": "null"
    },
    "deployTime": {
      "type": "null"
    },
    "deployer": {
      "type": "null"
    },
    "futureEmissions": {
      "type": "string"
    },
    "genesis": {
      "type": "null"
    },
    "markPx": {
      "type": "string"
    },
    "maxSupply": {
      "type": "string"
    },
    "midPx": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "nonCirculatingUserBalances": {
      "type": "array",
      "items": {}
    },
    "prevDayPx": {
      "type": "string"
    },
    "seededUsdc": {
      "type": "string"
    },
    "szDecimals": {
      "type": "integer"
    },
    "totalSupply": {
      "type": "string"
    },
    "weiDecimals": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/hyperliquid/info/token-details' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "tokenId": "0x6d1e7cde53ba9467b783cb7c530ce054",
  "type": "tokenDetails"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "circulatingSupply": "297338081.2337440252",
  "deployGas": null,
  "deployTime": null,
  "deployer": null,
  "futureEmissions": "0.0",
  "genesis": null,
  "markPx": "1.0",
  "maxSupply": "1000000000000.0",
  "midPx": "1.0",
  "name": "USDC",
  "nonCirculatingUserBalances": [],
  "prevDayPx": "1.0",
  "seededUsdc": "0.0",
  "szDecimals": 8,
  "totalSupply": "297338081.2337440252",
  "weiDecimals": 0
}
```

## 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.

## Common questions
### Can I pass a token index or an EVM address?
No. tokenId requires the 34-character hexadecimal token identifier. Numeric indices and 42-character EVM addresses are different identifiers.

### Are totalSupply and circulatingSupply the same value?
Keep their meanings and returned values separate, even when they happen to match in a response.

### Does null deployment metadata mean a zero deployment cost or time?
No. Preserve unavailable metadata as null instead of manufacturing a numeric value.

### Are szDecimals and weiDecimals interchangeable?
No. Keep both precision fields with their original names and values when formatting quantities.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- hyperliquid: https://openany.si/hyperliquid/hyperliquid-retrieve-information-about-a-token/28814cf6-7dc2-4928-b30c-1a71cc8f0efa/

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