home

Get started

Seeryx API

Build trading bots and apps on Seeryx: a REST API and a WebSocket for crypto Up/Down rounds and event markets on Solana, with USDC payouts.

What you can build

Seeryx is a prediction market on Solana. Everything the website does goes through one public REST API and one WebSocket, and both are open to your code: trading bots and market makers, dashboards, alerts, analytics or a front end of your own. Market data needs no account; trading needs a Solana wallet with USDC.

Markets

Crypto Up or DownStocks and ETFs Up or DownEvent markets
QuestionWill BTC, ETH or BNB close the round above its open price?Will NVIDIA, the S&P 500 ETF or another of 11 US stocks and ETFs close the round above its open price?A Yes/No question about the world: politics, sports, finance and more
Rounds5 minutes, 15 minutes, 1 hour and 1 day, one after another; the next ten 5m and 15m rounds already trade before they start15 minutes, only during the NYSE regular session: 9:30 to 16:00 New York time on trading daysOne market per outcome, open until its close time
ResolutionThe Binance spot price (the middle of the best bid and ask) at the boundary second; an unchanged price is a tie and every share pays 50¢The value of Chainlink's data stream for the ticker at the boundary second, the index price of Binance USDⓈ-M futures; an unchanged price is a tie and every share pays 50¢UMA's Optimistic Oracle, with a public challenge window
SharesUp and DownUp and DownYes and No (Up and Down in the API)

Prices are in cents of a dollar. A winning share pays $1.00 in USDC and a losing one nothing, so a price of 37¢ reads as a 37% chance. Details in Concepts.

How trading works

  • An order book per market. Limit orders rest at their price; market orders trade at once against them, best price first, then the oldest order. Up and Down are one book seen from two sides.
  • Your money stays yours. Deposits are USDC in your own account of the Seeryx program on Solana. Every fill settles on chain, usually within seconds, and only a withdrawal your wallet signs can move your cash out.
  • One signature per session. Your wallet approves a trading session key once, for as long as the exchange allows (up to a year); the key then signs each order without a prompt. It can trade within its limits and withdraw only to your own wallet.
  • Fees. The taker pays a fee that is highest at 50¢ and close to zero near 0¢ and 100¢; the maker gets part of it back. See Fees. Solana network fees are paid by Seeryx, so your wallet needs no SOL.

Base URLs

REST
https://seeryx.com/api
WebSocket
wss://seeryx.com/ws
Right now
Reading GET /api/funds and GET /api/fees...
Clients
Call the API from a server, a script or a bot. Browsers on other websites cannot call it: it allows no other origin.

Conventions

QuantityUnitExample
MoneyUSDC as a JSON number, up to 6 decimals12.5
SharesUp to 4 decimals37.5
PricesCents of $1: whole cents 1-99, tenths below 1¢ and above 99¢; every tenth from 0.1 to 99.9 where a market's tenths is true45 is $0.45
TimesUnix seconds in rounds and slugs, Unix milliseconds in trades and account data1791916330063
Rounds{asset}-updown-{tf}-{start}btc-updown-5m-1791916200
  • JSON in and out; send Content-Type: application/json with a body.
  • Every error is { "error": "..." }, with a code where a program should act on it: see Rate limits and errors.
  • Every request that trades carries an Idempotency-Key, so a retry never places an order twice.

Where to go next