Skip to main content
POST
/
info
spotMetaAndAssetCtxs
curl --request POST \
  --url https://hypercore.goldrushdata.com/info \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>"
}
'
{
  "universe": [
    {
      "name": "<string>",
      "tokens": [
        123
      ],
      "index": 123,
      "isCanonical": true
    }
  ],
  "tokens": [
    {
      "name": "<string>",
      "szDecimals": 123,
      "weiDecimals": 123,
      "index": 123,
      "tokenId": "<string>",
      "isCanonical": true,
      "evmContract": {},
      "fullName": {}
    }
  ],
  "coin": "<string>",
  "markPx": "<string>",
  "midPx": "<string>",
  "prevDayPx": "<string>",
  "dayNtlVlm": "<string>",
  "dayBaseVlm": "<string>",
  "circulatingSupply": "<string>"
}

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.

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

curl -X POST https://hypercore.goldrushdata.com/info \
  -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "spotMetaAndAssetCtxs"
  }'

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.
[
  {
    "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.
tokens
array<object>
Token configuration referenced by universe[].tokens.

Element 1: assetCtxs[]

Array of per-pair live context, indexed identically to universe.
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.

Notes

  • Wire-equal to POST api.hyperliquid.xyz/info with {"type": "spotMetaAndAssetCtxs"}.
  • For perp universe + live contexts, use metaAndAssetCtxs instead.
  • For real-time mark-price updates on a discovered spot pair, use the Streaming API OHLCV pair stream.