# Hyperliquid — Retrieve perpetuals metadata (universe and margin tables)

Get Hyperliquid Perps Metadata 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 perpetual coin identifier, size precision, reported leverage limit, associated margin-table identifier, and collateral token index for asset selectors, and margin configuration, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/hyperliquid/hyperliquid-retrieve-perpetuals-metadata-universe-and-margin-tables/?offering=ac957717-6c9f-4586-97b6-465f0e0b3a91
API ID: ac957717-6c9f-4586-97b6-465f0e0b3a91
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/meta
Page update time: 2026-12-03T02:49:36.030Z
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.498Z. 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 perpetuals metadata (universe and margin tables) 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": "meta"
        }
      ],
      "properties": {
        "dex": {
          "description": "Perp dex name. Defaults to the empty string which represents the first perp dex.",
          "type": "string"
        },
        "type": {
          "const": "meta",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "meta"
          ],
          "example": "meta",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object",
      "description": "Retrieve perpetuals metadata (universe and margin tables) 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": {
    "collateralToken": {
      "type": "integer"
    },
    "marginTables": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "marginTiers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lowerBound": {
                        "type": "string"
                      },
                      "maxLeverage": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    "universe": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "marginTableId": {
            "type": "integer"
          },
          "maxLeverage": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "szDecimals": {
            "type": "integer"
          }
        }
      }
    }
  }
}
```

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

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "collateralToken": 0,
  "marginTables": [
    [
      50,
      {
        "description": "",
        "marginTiers": [
          {
            "lowerBound": "0.0",
            "maxLeverage": 50
          }
        ]
      }
    ],
    [
      51,
      {
        "description": "tiered 10x",
        "marginTiers": [
          {
            "lowerBound": "0.0",
            "maxLeverage": 10
          },
          {
            "lowerBound": "3000000.0",
            "maxLeverage": 5
          }
        ]
      }
    ],
    [
      52,
      {
        "description": "tiered 10x (2)",
        "marginTiers": [
          {
            "lowerBound": "0.0",
            "maxLeverage": 10
          },
          {
            "lowerBound": "20000000.0",
            "maxLeverage": 5
          }
        ]
      }
    ]
  ],
  "universe": [
    {
      "marginTableId": 56,
      "maxLeverage": 40,
      "name": "BTC",
      "szDecimals": 5
    },
    {
      "marginTableId": 55,
      "maxLeverage": 25,
      "name": "ETH",
      "szDecimals": 4
    },
    {
      "marginTableId": 5,
      "maxLeverage": 5,
      "name": "ATOM",
      "szDecimals": 2
    }
  ]
}
```

## 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-perpetuals-metadata-universe-and-margin-tables/?offering=ac957717-6c9f-4586-97b6-465f0e0b3a91

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