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

# allPerpMetas | Hyperliquid Info API

> Hyperliquid allPerpMetas: fetch the perpetuals metadata — universe definitions and margin tables — for every perp DEX in a single request.

> [card] Credit Cost
>
> 1 per call

> [card] Processing
>
> Realtime

The Hyperliquid info endpoint with `type: "allPerpMetas"` is used to fetch the perpetuals metadata — universe definitions and margin tables — for every perp DEX in a single request.

> [!TIP]
>
> Estimate your monthly cost for this API using the [Pricing Calculator](https://goldrush.dev/docs/pricing-calculator.md?endpoint=%2Fapi-reference%2Fhyperliquid-info%2Fall-perp-metas).

> [!NOTE]
>
> * GoldRush-native — not part of the original Hyperliquid API. It fans [meta](https://goldrush.dev/docs/api-reference/hyperliquid-info/meta.md) out across every perp DEX so you get the whole map in one call.
> * The response is an array: index `0` is the native Hyperliquid perp DEX; each later entry is a HIP-3 builder-deployed perp DEX, in the same order as [perpDexs](https://goldrush.dev/docs/api-reference/hyperliquid-info/perp-dexs.md).
> * For a single DEX's metadata, use [meta](https://goldrush.dev/docs/api-reference/hyperliquid-info/meta.md) with the `dex` field — this endpoint is the heavier, all-DEX equivalent.

Returns the full universe and margin tables across every perp DEX on HyperCore. Each element carries a DEX's universe (its perp asset definitions), its marginTables (leverage-bracket tiers), and the collateralToken index.

## Endpoint

```
POST https://hypercore.goldrushdata.com/info
Authorization: Bearer <GOLDRUSH_API_KEY>
Content-Type: application/json
```

## Request

**type** `string` *required*

Always `"allPerpMetas"`.

### Example

```bash cURL theme={null}
curl -X POST https://hypercore.goldrushdata.com/info \
  -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "allPerpMetas"
  }'
```

```typescript TypeScript theme={null}
const response = await fetch("https://hypercore.goldrushdata.com/info", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.GOLDRUSH_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    type: "allPerpMetas",
  }),
});

const allPerpMetas = await response.json();
```

```python Python theme={null}
import os, requests

response = requests.post(
    "https://hypercore.goldrushdata.com/info",
    headers={"Authorization": f"Bearer {os.environ['GOLDRUSH_API_KEY']}"},
    json={"type": "allPerpMetas"},
)

all_perp_metas = response.json()
```

## Response

An array with one entry per perp DEX. Index `0` is the native Hyperliquid perp DEX; later entries are the HIP-3 builder-deployed perp DEXes in `perpDexs` order.

```json theme={null}
[
  {
    "universe": [
      { "szDecimals": 5, "name": "BTC", "maxLeverage": 40, "marginTableId": 56 },
      { "szDecimals": 4, "name": "ETH", "maxLeverage": 25, "marginTableId": 55 }
    ],
    "marginTables": [
      [50, { "description": "", "marginTiers": [{ "lowerBound": "0.0", "maxLeverage": 50 }] }]
    ],
    "collateralToken": 0
  }
]
```

### Field descriptions

**\[n]** `object`

Perpetuals metadata for one perp DEX (index `0` = native Hyperliquid; later = HIP-3 DEXes).

**properties**

**universe** `array\<object\>`

The DEX's perp asset definitions.

**properties**

**name** `string`

Asset name (with the DEX prefix for builder-deployed perps, e.g. `xyz:TSLA`).

**szDecimals** `int`

Number of decimals for the size field.

**maxLeverage** `int`

Maximum leverage for the asset.

**marginTableId** `int`

Margin table id referenced in `marginTables`.

**isDelisted** `bool`

Present and `true` if the asset is delisted.

**marginTables** `array\<[int, object]\>`

List of `[marginTableId, marginTable]` pairs for this DEX. Each `marginTable` has a `description` and a `marginTiers` array of `{ lowerBound, maxLeverage }` tiers (decimal-string bounds).

**collateralToken** `int`

Token index used as collateral for this DEX.

## Related endpoints

> [card] [perpDeployAuctionStatus](https://goldrush.dev/docs/api-reference/hyperliquid-info/perp-deploy-auction-status.md)
>
> fetch the current perp-deploy Dutch-auction status.

> [card] [perpDexLimits](https://goldrush.dev/docs/api-reference/hyperliquid-info/perp-dex-limits.md)
>
> fetch the open-interest, position-size, and transfer limits for a HIP-3 perp DEX.

> [card] [perpDexs](https://goldrush.dev/docs/api-reference/hyperliquid-info/perp-dexs.md)
>
> enumerate every HIP-3 builder-deployed perpetual DEX on HyperCore.

> [card] [meta](https://goldrush.dev/docs/api-reference/hyperliquid-info/meta.md)
>
> fetch the perpetuals universe metadata without live market context.

> [card] [metaAndAssetCtxs](https://goldrush.dev/docs/api-reference/hyperliquid-info/meta-and-asset-ctxs.md)
>
> fetch the full Hyperliquid perpetuals market universe with live per-asset trading context.

> [card] [outcomeMeta](https://goldrush.dev/docs/api-reference/hyperliquid-info/outcome-meta.md)
>
> enumerate all active HIP-4 binary outcome markets on HyperCore.

See all Hyperliquid endpoints: [Overview hub](https://goldrush.dev/docs/goldrush-hyperliquid/overview.md) · [Info API reference](https://goldrush.dev/docs/goldrush-hyperliquid/info-api/overview.md)

*Last reviewed: 2026-08-17*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.