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

# spotMetaAndAssetCtxs | Hyperliquid Info API

> Hyperliquid spotMetaAndAssetCtxs: fetch the spot universe metadata, token configuration, and live market data in a single call.

> [card] Credit Cost
>
> 1 per call

> [card] Processing
>
> Realtime

The Hyperliquid info endpoint with `type: "spotMetaAndAssetCtxs"` is used to fetch the spot universe metadata, token configuration, and live market data in a single call.

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

> [!NOTE]
>
> * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "spotMetaAndAssetCtxs"}`.
> * For perp universe + live contexts, use [`metaAndAssetCtxs`](https://goldrush.dev/docs/api-reference/hyperliquid-info/meta-and-asset-ctxs) instead.

Returns a tuple `[spotMeta, assetCtxs[]]` covering the entire Hyperliquid spot universe - every pair’s universe entry, every token’s metadata, and a live snapshot of mark price, mid price, prior-day price, and 24-hour notional volume per pair.

This is the spot counterpart of `metaAndAssetCtxs`. Global, non-user-keyed; a single cache entry is shared across all callers and 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*

Always `"spotMetaAndAssetCtxs"`.

### 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": "spotMetaAndAssetCtxs"
  }'
```

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

const [spotMeta, 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": "spotMetaAndAssetCtxs"},
)

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

## Response

A two-element JSON array. Element 0 is the spot universe and token metadata; element 1 is an array of per-pair live contexts indexed identically to element 0's `universe`.

```json theme={null}
[
  {
    "universe": [
      {
        "name": "PURR/USDC",
        "tokens": [1, 0],
        "index": 0,
        "isCanonical": true
      }
    ],
    "tokens": [
      {
        "name": "USDC",
        "szDecimals": 8,
        "weiDecimals": 8,
        "index": 0,
        "tokenId": "0x6d1e7cde53ba9467b783cb7c530ce054",
        "isCanonical": true,
        "evmContract": null,
        "fullName": null
      },
      {
        "name": "PURR",
        "szDecimals": 0,
        "weiDecimals": 5,
        "index": 1,
        "tokenId": "0xc1fb593aeffbeb02f85e0308e9956a90",
        "isCanonical": true,
        "evmContract": null,
        "fullName": null
      }
    ]
  },
  [
    {
      "coin": "PURR/USDC",
      "markPx": "0.5250",
      "midPx": "0.5245",
      "prevDayPx": "0.4800",
      "dayNtlVlm": "1250000.0",
      "dayBaseVlm": "2380952.38",
      "circulatingSupply": "1000000000.0"
    }
  ]
]
```

### Element 0: `spotMeta`

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

Array of spot pairs, indexed identically to element 1's `assetCtxs`.

**properties**

**name** `string`

Pair label - e.g. `"PURR/USDC"`.

**tokens** `array\<int\>`

Two-element array of token indices `[base, quote]` referencing entries in `tokens[].index`.

**index** `int`

Numeric pair index. The spot encoding for trading subscriptions is `10000 + index`.

**isCanonical** `boolean`

`true` for pairs in the canonical Hyperliquid spot universe.

**tokens** `array\<object\>`

Token configuration referenced by `universe[].tokens`.

**properties**

**name** `string`

Token symbol - e.g. `"USDC"`, `"PURR"`.

**szDecimals** `int`

Number of decimals used for size precision.

**weiDecimals** `int`

Number of decimals used for the on-chain wei representation.

**index** `int`

Token index. `(coin, index)` together identifies the asset.

**tokenId** `string`

Hyperliquid token identifier (hex).

**isCanonical** `boolean`

`true` for tokens deployed in the canonical Hyperliquid spot universe.

**evmContract** `object | null`

EVM contract address if the token has an HyperEVM mapping; `null` otherwise.

**fullName** `string | null`

Optional full token name.

### Element 1: `assetCtxs[]`

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

> [!NOTE]
>
> All numeric fields below are returned as **decimal strings**. Do not parse them as floats.

**coin** `string`

Pair symbol - matches `universe[].name`.

**markPx** `string`

Current mark price.

**midPx** `string`

Current orderbook mid price.

**prevDayPx** `string`

Mark price 24 hours ago.

**dayNtlVlm** `string`

24-hour notional volume in USDC.

**dayBaseVlm** `string`

24-hour volume in base units.

**circulatingSupply** `string`

Circulating supply of the base token.

## Related endpoints

> [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] [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.

> [card] [spotClearinghouseState](https://goldrush.dev/docs/api-reference/hyperliquid-info/spot-clearinghouse-state.md)
>
> fetch a single user's spot account balances by wallet address.

> [card] [spotDeployState](https://goldrush.dev/docs/api-reference/hyperliquid-info/spot-deploy-state.md)
>
> fetch the spot-token deployment state and gas auction for a deployer.

> [card] [batchSpotClearinghouseState](https://goldrush.dev/docs/api-reference/hyperliquid-info/batch-spot-clearinghouse-state.md)
>
> fetch spot account balances for up to 50 wallets in a single request.

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-20*


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