API
Read market data and submit signed orders or cancellations through public JSON endpoints.
API basics
No API key is required. Reads are public; order placement and cancellation are authorized by the trader’s EIP-712 wallet signature.
https://app.settle.marketcurl https://app.settle.market/v1/marketsThe server cannot create or alter an order because POST requests require a valid EIP-712 signature. Deposits, withdrawals, claims, and on-chain cancellations remain wallet transactions.
Markets and odds
/healthzService health, indexer progress, keeper and roller status, and active alarms.
/v1/marketsMarkets and app configuration, including chain ID and contract addresses.
/v1/markets/:id/orderbookAggregated Above/YES bids and asks, including the best available odds.
/v1/markets/:id/tradesRecent matched trades, including odds, quantity, and settlement mechanism.
/v1/markets/:id/candles?tf=5m|15m|1h|4h|1dOpen, high, low, and close odds built from on-chain trades.
Orders and accounts
/v1/orders?user=0x…&status=openA wallet’s orders, filterable by open, filled, cancelled, or expired status.
/v1/positions/:addressAbove/YES and Below/NO contract balances, plus claimable payouts.
/v1/activity/:addressWallet history: deposits, withdrawals, orders, trades, and claims.
/v1/pnl/:addressCumulative realized-PnL series derived from the balance ledger; deposits and withdrawals are excluded.
/v1/history/:addressSettled trades by resolved market and side, including contracts, entry odds, settled odds, and PnL.
Submit and cancel orders
/v1/ordersPlace an order with { order, signature, tif }. The EIP-712 domain and order types are returned under exchange by GET /v1/markets.
/v1/orders/cancelCancel an order with { orderHash, signature }, using an EIP-712 CancelOrder signature.
{order: {maker, marketId, kind, tick, qty, expiry, nonce, salt}, signature, tif}kind 0BUY_YES
kind 1SELL_YES
kind 2BUY_NO
kind 3SELL_NO
Both requests require no gas. The matching engine validates the signature before accepting the order, and the hub verifies it again when a trade settles. An order that would cross the same maker’s resting order is rejected.
The API accepts an order expiry up to seven days, but the order stops being usable when its market expires.
Response terminology
YES / NOThe API names for Above and Below.
OHLCOpen, high, low, and close odds for one candle interval.
EIP-712Structured order data signed by the trader and verified by the matching engine and hub.
TIFTime in force: GTC, IOC, or post-only.
nonceAn account version used to invalidate older signed orders.