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

# outcomeMeta | Hyperliquid Info API

> Hyperliquid outcomeMeta: enumerate all active HIP-4 binary outcome markets on HyperCore.

<CardGroup cols={2}>
  <Card title="Credit Cost"> 1 per call</Card>
  <Card title="Processing"> Realtime</Card>
</CardGroup>

The Hyperliquid info endpoint with `type: "outcomeMeta"` is used to enumerate all active HIP-4 binary outcome markets on HyperCore.

<Tip>
  Estimate your monthly cost for this API using the [Pricing Calculator](/pricing-calculator?endpoint=%2Fapi-reference%2Fhyperliquid-info%2Foutcome-meta).
</Tip>

<Info>
  * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "outcomeMeta"}`.
  * For real-time price updates on a discovered outcome, subscribe to <a href="https://goldrush.dev/docs/api-reference/streaming-api/subscriptions/ohlcv-pairs-stream" target="_blank" rel="noopener noreferrer">`ohlcvCandlesForPair`</a> using the per-side encoding. See the <a href="https://goldrush.dev/docs/goldrush-hyperliquid/streaming/hip4-markets" target="_blank" rel="noopener noreferrer">HIP-4 markets recipe</a> for end-to-end discovery and streaming patterns.
  * HIP-4 launched on Hyperliquid mainnet on May 2, 2026. Read the canonical spec: <a href="https://hyperliquid.gitbook.io/hyperliquid-docs/hyperliquid-improvement-proposals-hips/hip-4-outcome-markets" target="_blank" rel="noopener noreferrer">HIP-4: Outcome markets</a>.
</Info>

Returns the live HIP-4 outcome universe: every active binary outcome market on HyperCore with its integer `outcome` ID, human-readable `name`, structured `description`, and `sideSpecs` (Yes / No).

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

`outcomeMeta` is HIP-4’s dedicated metadata type - separate from `metaAndAssetCtxs`, which covers perps and spot. Use it to discover live outcome IDs and compute per-side market encodings (`encoding = 10 * outcome + side`) before subscribing to OHLCV or fills.

## Endpoint

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

## Request

<ParamField body="type" type="string" required>
  Always `"outcomeMeta"`.
</ParamField>

### Example

<CodeGroup>
  ```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": "outcomeMeta"
    }'
  ```

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

  const { outcomes } = 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": "outcomeMeta"},
  )

  outcomes = response.json()["outcomes"]
  ```
</CodeGroup>

## Response

```json theme={null}
{
  "outcomes": [
    {
      "outcome": 123,
      "name": "Recurring",
      "description": "class:priceBinary|underlying:HYPE|expiry:20260310-1100|targetPrice:34.5|period:3m",
      "sideSpecs": [
        { "name": "Yes" },
        { "name": "No" }
      ]
    }
  ]
}
```

### Field descriptions

<ResponseField name="outcomes" type="array<object>">
  Array of active outcome markets.

  <Expandable title="properties">
    <ResponseField name="outcome" type="int">
      Integer outcome ID. Combine with a side index to compute the tradeable market encoding: `encoding = 10 * outcome + side`. An outcome with `Yes` (side 0) and `No` (side 1) yields two encodings (e.g. `1230` and `1231`).
    </ResponseField>

    <ResponseField name="name" type="string">
      Human-readable label for the market - for example, `"Recurring"` for repeating daily/weekly markets.
    </ResponseField>

    <ResponseField name="description" type="string">
      Pipe-delimited spec describing the market. Parse it once to extract the full definition:

      | Field         | Example         | Meaning                                                 |
      | ------------- | --------------- | ------------------------------------------------------- |
      | `class`       | `priceBinary`   | Market class (binary outcome on a price threshold).     |
      | `underlying`  | `HYPE`          | Asset the outcome resolves against.                     |
      | `expiry`      | `20260310-1100` | Resolution timestamp, `YYYYMMDD-HHMM` UTC.              |
      | `targetPrice` | `34.5`          | Threshold the underlying is compared against at expiry. |
      | `period`      | `3m`            | Recurrence cadence for repeating markets.               |
    </ResponseField>

    <ResponseField name="sideSpecs" type="array<object>">
      Tradeable sides of the outcome, ordered by side index. For binary outcomes, index 0 is `Yes` and index 1 is `No`.

      <Expandable title="properties">
        <ResponseField name="name" type="string">Side label - typically `"Yes"` or `"No"` for binary outcomes.</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

## Related endpoints

<CardGroup cols={2}>
  <Card title="meta" href="/api-reference/hyperliquid-info/meta">fetch the perpetuals universe metadata without live market context.</Card>
  <Card title="metaAndAssetCtxs" href="/api-reference/hyperliquid-info/meta-and-asset-ctxs">fetch the full Hyperliquid perpetuals market universe with live per-asset trading context.</Card>
  <Card title="settledOutcome" href="/api-reference/hyperliquid-info/settled-outcome">retrieve resolution details for a settled HIP-4 binary outcome market on HyperCore.</Card>
  <Card title="spotMeta" href="/api-reference/hyperliquid-info/spot-meta">fetch the spot universe metadata and full token configuration without live market context.</Card>
</CardGroup>

*Last reviewed: 2026-06-13*
