Hyperliquid Get Outcome Price logo

Catalog action Hyperliquid

Get real-time pricing and orderbook depth for a HIP-4 outcome market. Returns mid prices, bid-ask spread, and orderbook levels for both Yes and No sides. Use outcomeIndex from get-outcome-markets. Ideal for: spread analysis, cross-venue arbitrage with Polymarket, liquidity assessment, and entry/exit cost estimation.

At a Glance

FieldValue
Action IDhyperliquid-get-outcome-price
CategoryHyperliquid
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagshyperliquid, prediction-market, trading, read

Payload Schema

FieldTypeRequiredDescription
outcomeIndexnumberYesOutcome index from get-outcome-markets (e.g., 2)
orderbookDepthnumberNoNumber of orderbook levels to return per side (default: 5, max: 20)

Result Schema

FieldTypeRequiredDescription
outcomeIndexnumberYesThe queried outcome index
sidesarrayYesPrice data for each side (Yes/No)
impliedProbabilitynumber | nullNoImplied probability of YES outcome based on mid price (0.0–1.0, null if unavailable)

Examples

json
{ "type": "hyperliquid-get-outcome-price", "payload": { "outcomeIndex": 1 }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.