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 URL
https://api.slay.money/api/predictGet started
QuickstartSign a user in with a code to their email, then read their account.AuthenticationEvery sign-in returns
{ token }, a Predict session token (sp_…).Identity modelA Predict user is a Slay account.Deposits and withdrawalsCash is USDC in the user's Hyperliquid spot balance, on their own wallet.Building a profileA profile is the account (GET /profiles/{handle}: name, photo, followers) plus its trading, read straight from Hyperliquid's public info API for wallet:ErrorsErrors are JSON: { "error": "<message for a person>", "code"?: "<machine code>" }.Rate limitsLimits are fixed windows shared across the whole API.Security model- No custody. Funds live in the user's own Hyperliquid account; orders are signed in the browser.API reference
| Area | What it covers | Endpoints |
|---|---|---|
| Sign-in | Get a session: email or Slay ID with a one-time code, or Google / Telegram through Magic. | 4 |
| Account | The signed-in user: account, Slay ID, Points. | 5 |
| Wallet | Map the user's Magic wallet to their Slay ID, and Magic's identity bridge. | 1 |
| Deposits | Bring money in from other networks or by card, and see every deposit. | 9 |
| Withdrawals | Move Cash out to any network, signed by the user's own wallet. | 6 |
| Markets | Market data Hyperliquid no longer serves, such as settled markets. | 3 |
| Market data | Every 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 |
| Polymarket | Polymarket'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 |
| Social | Public profiles, the follow graph and the leaderboard. | 9 |