> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# allPerpMetas | Hyperliquid info

> The info endpoint with type: "allPerpMetas" retrieves metadata for all perpetual DEXes on Hyperliquid. Hyperliquid info via Chainstack.

<Info>
  This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see [Hyperliquid methods](/docs/hyperliquid-methods) for the full availability breakdown.
</Info>

The `info` endpoint with `type: "allPerpMetas"` retrieves metadata for all perpetual DEXes on Hyperliquid. Returns an array of universe and margin table configurations for each perp DEX.

## Parameters

### Request body

* `type` (string, required) — The request type. Must be `"allPerpMetas"`.

## Response

The response is an array of objects, one per perp DEX, each containing:

* `universe` (array) — Array of perpetual assets with `name`, `szDecimals`, `maxLeverage`, `marginTableId`, and optional `onlyIsolated` and `isDelisted` flags.
* `marginTables` (array) — Array of margin table tuples with table ID and margin tier configurations.

## Example request

<CodeGroup>
  ```shell Shell theme={"system"}
  curl -X POST \
    -H "Content-Type: application/json" \
    -d '{"type": "allPerpMetas"}' \
    https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info
  ```

  ```python Python (hyperliquid-python-sdk) theme={"system"}
  from hyperliquid.info import Info

  # skip_ws=True avoids opening a WebSocket connection for this REST call
  info = Info("YOUR_CHAINSTACK_ENDPOINT", skip_ws=True)

  # The SDK has no dedicated allPerpMetas helper, so post the request directly.
  all_perp_metas = info.post("/info", {"type": "allPerpMetas"})
  print(all_perp_metas)
  ```

  ```typescript TypeScript (@nktkas/hyperliquid) theme={"system"}
  import { HttpTransport, InfoClient } from "@nktkas/hyperliquid";

  // apiUrl points the transport at a custom server (your Chainstack endpoint)
  const transport = new HttpTransport({ apiUrl: "YOUR_CHAINSTACK_ENDPOINT" });
  const info = new InfoClient({ transport });

  const allPerpMetas = await info.allPerpMetas();
  console.log(allPerpMetas);
  ```
</CodeGroup>

<Note>
  **Use your own endpoint in your code.** The code examples use a placeholder Chainstack endpoint (YOUR\_CHAINSTACK\_ENDPOINT) — replace it with your own Hyperliquid node endpoint from the [Chainstack console](https://console.chainstack.com/). The curl above uses a shared public endpoint for quick checks only; do not use it in production.
</Note>

## Example response

```json theme={"system"}
[
  {
    "universe": [
      {
        "szDecimals": 5,
        "name": "BTC",
        "maxLeverage": 40,
        "marginTableId": 56
      },
      {
        "szDecimals": 4,
        "name": "ETH",
        "maxLeverage": 25,
        "marginTableId": 55
      }
    ],
    "marginTables": []
  }
]
```

## Use case

The `info` endpoint with `type: "allPerpMetas"` is useful for:

* Retrieving perpetual metadata across all DEXes in a single call
* Building multi-DEX trading interfaces
* Comparing available assets and leverage limits across different perp DEXes
* Caching exchange-wide perpetual configuration data


## OpenAPI

````yaml openapi/hyperliquid_node_api/hypercore_info/info_all_perp_metas.json post /4f8d8f4040bdacd1577bff8058438274/info
openapi: 3.0.0
info:
  title: Hyperliquid Node API
  version: 1.0.0
  description: This is an API for interacting with Chainstack Hyperliquid node.
servers:
  - url: https://hyperliquid-mainnet.core.chainstack.com
security: []
paths:
  /4f8d8f4040bdacd1577bff8058438274/info:
    post:
      tags:
        - hyperliquid operations
      summary: info (allPerpMetas)
      operationId: infoAllPerpMetas
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: Request type
                  default: allPerpMetas
                  enum:
                    - allPerpMetas
              required:
                - type
      responses:
        '200':
          description: Array of perp metadata for all DEXes
          content:
            application/json:
              schema:
                type: object

````