Developers
Open app
Developers

Slay Predict API

Accounts, Slay IDs, wallets, Points, social graph and deposits for Slay Predict.

Slay Predict lets people trade prediction markets on Hyperliquid and Polymarket with a Slay ID.

This API covers everything around the trade: signing in, the user's Slay ID and wallet, Points and the leaderboard, follows, and bringing money in from other networks. Trading itself never goes through this API. Orders are signed in the user's browser with keys only the user holds, and funds stay in the user's own wallets (Cash on Hyperliquid, pUSD on Polygon for Polymarket). Slay never has custody of a Predict user's money.

Base URLhttps://api.slay.money/api/predict

Get started

API reference

AreaWhat it coversEndpoints
Sign-inGet a session: email or Slay ID with a one-time code, or Google / Telegram through Magic.4
AccountThe signed-in user: account, Slay ID, Points.5
WalletMap the user's Magic wallet to their Slay ID, and Magic's identity bridge.1
DepositsBring money in from other networks or by card, and see every deposit.9
WithdrawalsMove Cash out to any network, signed by the user's own wallet.6
MarketsMarket data Hyperliquid no longer serves, such as settled markets.3
Market dataEvery live market on Hyperliquid HIP-4 and Polymarket in one list, with each market on both venues linked option by option; any side's order book and price history. Public, no session, CORS open. Served by the Predict site: base URL https://www.slay.money/api. Settled markets and who won: GET /settled on the Slay API.3
PolymarketPolymarket's markets in Slay's market shape: the catalog the app lists, search across every live event, a category's next page, one event by id, and the price to beat of a timed Up or Down market. Public, cached at the edge, no session. Served by the Predict site, so the base URL is https://www.slay.money/api. Trading happens in the user's browser from their own Polymarket wallet; nothing here places orders.5
SocialPublic profiles, the follow graph and the leaderboard.9