1. Check the service is up
2. Fetch the current BTC 5-minute target price
3. Get all market windows for today
4. Compare target, snapshot close, and TWAP close
For a closed BTC 5m market:/api/v1/twap/recent for the last closed markets:
5. Fetch an active Hyperliquid prediction market by official slug
Omit
slug to return every active Hyperliquid prediction market in the live catalog. You can also pass the full Hyperliquid trade URL instead of only the slug.6. Look up a token ID by market slug
7. Place a market order (API key required)
The
easyMarketOrder endpoint resolves the token ID for you. For programmatic trading where you already have a tokenId, use createMarketOrder or createLimitOrder directly.