HIP-4 markets are outcome markets on Hyperliquid. Slay lists them next to Polymarket, under one key. Your agent reads the market, checks the quote, waits for your yes, then trades.
Read https://www.slay.money/skill.md and set me up on Slay. Plan a strategy and wait for my approval before the first trade.New to HIP-4? Read what HIP-4 is first.
Trading and account calls take Authorization: Bearer spk_…. Market reads and quotes work without a key. The same calls are in the API reference and in the MCP server.
/api/data/markets?q=btcFind markets by words. No key.
/api/data/book?coin=#398270Bids and asks for one Hyperliquid side. No key.
/api/trade/quoteWhat an order gets on each venue, after fees. Key optional: with a key, the fee is at the account's rate.
/api/trade/buyBuy an outcome from the API wallet. Market in words ("btc 5m"), outcome, usd. Optional venue, maxPrice, paper.
/api/trade/sellSell shares you hold in the API wallet. Shares, or all of them when left out.
/api/trade/orderMain account. Limit or market, venue auto, hyperliquid or polymarket, coin #<number>, clientOrderId.
/api/trade/cancelCancel an open order. On Hyperliquid, send the coin too.
/api/trade/ordersOpen orders on both venues, and the last 50 this key placed or cancelled.
/api/trade/accountWallets, cash, positions and API trading settings for the key's account.
curl "https://www.slay.money/api/data/markets?q=btc"
curl "https://www.slay.money/api/trade/quote?market=<market id>&side=buy&usd=10" \ -H "Authorization: Bearer <your key>"
curl -X POST "https://www.slay.money/api/trade/buy" \
-H "Authorization: Bearer <your key>" -H "Content-Type: application/json" \
-d '{"market":"btc 5m","outcome":"up","usd":10,"maxPrice":0.6}'Add "paper": true to trade with $1,000 of practice money on the live books.
Each fact has a source in /ai/facts.md. Fee and limit values are the defaults. Each key page shows the account's own.
Access to Hyperliquid follows Hyperliquid's own rules. Slay has no separate Hyperliquid region list. Check Hyperliquid's rules for your region. Polymarket has its own restricted regions, listed in the facts file.