Overview
Seamlessly bridge your trading intelligence with automated execution using B3OS and Hyperliquid. Build sophisticated, self-executing perpetual trading workflows that react instantly to market volatility, funding rates, and position changes without manual intervention.
Popular ways to use the Hyperliquid integration onchain
View all templates ›
HIP-4 vs Polymarket Market Scanner
Scans all active HIP-4 outcome markets on Hyperliquid, automatically finds matching Polymarket markets using multi-signal scoring, and alerts when the fee-adjusted spread exceeds a configurable threshold.

Hyperliquid Wallet Tracker
Monitors specific wallet activity on Hyperliquid and logs detailed notifications when large position changes exceed a defined notional value.

Hyperliquid: Smart Position Alert
Monitor whales on Hyperliquid and catch the market-moving trades. This template watches Hyperliquid trades with enrichment, then alerts the channel of your choice when a position close results in a large realized PnL - profit or loss. Track big wins, painful losses, market-moving exits, and high-signal trader behavior without staring at charts all day. **Quick Setup:** * Connect your Hyperliquid monitor * Choose the channel where alerts should fire * Set your realized PnL threshold for profit and/or loss * Customize the alert format with trader, market, size, direction, and realized PnL * Test and publish!

Negative Funding Rate Squeeze Alert
Monitors Hyperliquid perpetual funding rates and alerts when funding goes deeply negative, signaling crowded shorts and elevated squeeze probability. Configurable asset, check frequency, and notification channel.

PM vs HL Edge Scanner
Scans for cross-platform arbitrage edges between Polymarket and Hyperliquid HIP-4 outcome markets. Compares implied probabilities on matching markets and sends a formatted report to your chosen notification channel.


Unusual Whales News → Hyperliquid Quick Trade
Listens for major market news from Unusual Whales, confirms sentiment via keyword analysis, maps ticker to Hyperliquid perp, opens a position (long for bullish, short for bearish), and sets a take-profit order.
Supported triggers and actions

Hyperliquid Get Outcome Markets
ActionGet all available HIP-4 outcome (prediction) markets on Hyperliquid. Returns binary and bucket markets with underlying asset, target price, expiry, and tradeable sides with their coin notations and asset IDs. Filter by underlying asset or include settled markets. Ideal for: prediction market monitoring, cross-venue comparison with Polymarket, outcome arbitrage detection, and automated trading strategies.

Hyperliquid Get Funding Rates
ActionGet current funding rates, open interest, and mark prices for Hyperliquid perpetual markets. Returns hourly and annualized rates, OI in USD, premium, and 24h volume. Filter by coin or get all markets sorted by absolute rate (extremes first). Pass dex='xyz' for trade.xyz TradFi markets. Ideal for: funding rate alerts, arbitrage detection, market health monitoring, and yield farming strategies.

Hyperliquid Position Change
TriggerTriggers when a monitored wallet opens or closes a perpetual position on Hyperliquid. Powered by real-time WebSocket stream — no polling delay.

Hyperliquid Trade
TriggerTriggers whenever a public trade occurs on a Hyperliquid market. Includes trader wallet addresses (taker + maker). Optionally enrich with taker's full position data for whale tracking.

Hyperliquid Account Balance & Equity
ActionRead a Hyperliquid account's balance and equity from its clearinghouse / user state: account value (total equity), available margin, and used margin (marginSummary), plus withdrawable balance. Also returns active perp positions (each with its own unrealized PnL), resting open orders, and HIP-4 outcome token holdings. Set `balanceOnly: true` for a cheap equity/balance read that skips position aggregation (positions, open orders and outcome holdings come back empty). Ideal for: live-equity position sizing, portfolio monitoring, risk and margin-health checks, and pre-trade balance gates.

Hyperliquid Update Leverage
ActionUpdate leverage and margin mode for an asset on Hyperliquid perpetual DEX. Supports cross (shared margin) and isolated (per-position margin) modes. Ideal for: risk management, adjusting margin requirements, and position sizing.