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

# metaAndAssetCtxs | Hyperliquid Info API

> Hyperliquid metaAndAssetCtxs: fetch the full Hyperliquid perpetuals market universe with live per-asset trading context.

> [card] Credit Cost
>
> 1 per call

> [card] Processing
>
> Realtime

The Hyperliquid info endpoint with `type: "metaAndAssetCtxs"` is used to fetch the full Hyperliquid perpetuals market universe with live per-asset trading context.

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

> [!NOTE]
>
> * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "metaAndAssetCtxs"}`.

Returns a tuple `[meta, assetCtxs[]]` covering the entire Hyperliquid perpetuals universe - every coin’s metadata plus a live snapshot of mark price, funding rate, open interest, and 24-hour volume.

This is a global, non-user-keyed type. A single cache entry is shared across all callers and is refreshed continuously from upstream Hyperliquid.

## Endpoint

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

## Request

**type** `string` *required* (default: metaAndAssetCtxs)

Always `"metaAndAssetCtxs"`.

**dex** `string`

HIP-3 builder DEX identifier. Empty string (default) returns the canonical Hyperliquid perp universe. Pass a builder code (e.g. `"xyz"`) to query a HIP-3 deployer's universe.

### 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": "metaAndAssetCtxs",
    "dex": ""
  }'
```

```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: "metaAndAssetCtxs",
    dex: "",
  }),
});

const [meta, assetCtxs] = 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": "metaAndAssetCtxs", "dex": ""},
)

meta, asset_ctxs = response.json()
```

## Response

A two-element JSON array. Element 0 is the universe metadata; element 1 is an array of per-asset contexts indexed identically to the `universe` array.

```json theme={null}
[
  {
    "universe": [
      { "name": "BTC", "szDecimals": 5, "maxLeverage": 50 },
      { "name": "ETH", "szDecimals": 4, "maxLeverage": 50 },
      { "name": "SOL", "szDecimals": 2, "maxLeverage": 20 }
    ]
  },
  [
    {
      "funding": "0.0000125",
      "openInterest": "12345.67",
      "prevDayPx": "67500.0",
      "dayNtlVlm": "894500000.0",
      "premium": "0.00001",
      "oraclePx": "68210.5",
      "markPx": "68215.0",
      "midPx": "68214.0",
      "impactPxs": ["68210.0", "68220.0"],
      "dayBaseVlm": "13130.45"
    },
    { "funding": "0.0000050", "openInterest": "9876.54", "...": "..." },
    { "funding": "0.0000200", "openInterest": "543210.98", "...": "..." }
  ]
]
```

### Element 0: `meta`

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

Array of perp asset metadata, indexed identically to element 1's `assetCtxs`.

**properties**

**name** `string`

Asset symbol - e.g. `"BTC"`, `"ETH"`. For HIP-3 markets, includes the deployer prefix.

**szDecimals** `int`

Number of decimals for size precision.

**maxLeverage** `int`

Maximum leverage for this asset.

**onlyIsolated** `boolean`

If true, the asset only supports isolated margin.

### Element 1: `assetCtxs[]`

Array of per-asset live context, indexed identically to `universe`.

**funding** `string`

Current funding rate (decimal string).

**openInterest** `string`

Open interest in base units.

**prevDayPx** `string`

Mark price 24 hours ago.

**dayNtlVlm** `string`

24-hour notional volume in USD.

**premium** `string`

Mark vs oracle premium.

**oraclePx** `string`

Current oracle price.

**markPx** `string`

Current mark price.

**midPx** `string`

Current orderbook mid price.

**impactPxs** `array\<string\>`

Bid/ask impact prices `[bidImpact, askImpact]`.

**dayBaseVlm** `string`

24-hour volume in base units.

## Related endpoints

> [card] [spotMetaAndAssetCtxs](https://goldrush.dev/docs/api-reference/hyperliquid-info/spot-meta-and-asset-ctxs.md)
>
> fetch the spot universe metadata, token configuration, and live market data in a single call.

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

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

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

> [card] [allPerpMetas](https://goldrush.dev/docs/api-reference/hyperliquid-info/all-perp-metas.md)
>
> fetch the perpetuals metadata — universe definitions and margin tables — for every perp DEX in a single request.

> [card] [settledOutcome](https://goldrush.dev/docs/api-reference/hyperliquid-info/settled-outcome.md)
>
> retrieve resolution details for a settled HIP-4 binary outcome market 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-07-23*


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