Hyperliquid

Outcome Markets

Returns Hyperliquid outcome (binary) market definitions from hyperliquid.hl_outcome_market. Filter by a coin that appears on either the YES or NO leg of a market. When a coin is supplied, each row is annotated with the matched leg (side), the matched coin, and the opposite leg (coin_counterparty).

POST/v2/semantic/retrieve/parameterized

Query Parameters

coinstring
Coin (asset) that appears as the YES or NO leg of a market. ALL returns every outcome market.
Example:
"ALL"

Response Fields

FieldTypeDescription
outcome_idIntegerOutcome market identifier
nameStringMarket name
descriptionStringPipe-encoded market metadata (`class:...\underlying:...\expiry:...\targetPrice:...\period:...`)
underlyingString \nullUnderlying asset (e.g. BTC)
expiryString \nullExpiry timestamp, YYYYMMDD-HHMM
target_priceNumber \nullTarget/strike price
periodString \nullRecurrence period (e.g. 1d)
market_classString \nullMarket class (e.g. priceBinary)
yes_coinStringAsset representing the YES leg
no_coinStringAsset representing the NO leg
yes_asset_idIntegerNumeric asset id of the YES leg
no_asset_idIntegerNumeric asset id of the NO leg
sideString \nullWhich leg the queried coin matched: yes or no. null when coin is ALL.
coinString \nullThe matched coin. null when coin is ALL.
coin_counterpartyString \nullThe opposite leg's coin. null when coin is ALL.
Outcome Markets
curl --request POST \
  --url https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_id": 615,
  "params": {
    "coin": "ALL"
  },
  "pagination": {
    "limit": 10,
    "offset": 0
  },
  "formatter_config": {
    "format_type": "raw"
  }
}'
200Example response
{
  "timestamp": "",
  "params": {
    "coin": "#350"
  },
  "pagination": {
    "limit": 50,
    "offset": 0,
    "has_more": false
  },
  "data": {
    "results": [
      {
        "outcome_id": 35,
        "name": "Recurring",
        "description": "class:priceBinary|underlying:BTC|expiry:20260514-0600|targetPrice:80983|period:1d",
        "underlying": "BTC",
        "expiry": "20260514-0600",
        "target_price": 80983,
        "period": "1d",
        "market_class": "priceBinary",
        "yes_coin": "#350",
        "no_coin": "#351",
        "yes_asset_id": 100000350,
        "no_asset_id": 100000351,
        "side": "yes",
        "coin": "#350",
        "coin_counterparty": "#351"
      }
    ]
  }
}
Outcome Markets — Heisenberg AI API Docs