API Reference
REST Sketch
Section titled “REST Sketch”This page separates implemented pulse-server routes from target execution routes. The alpha terminal and paper routes below exist in the Go pulse server. Production order, settlement, and redemption routes are target contracts unless called out as implemented by a specific page or release note.
GET /api/statusGET /api/statsGET /api/eventsGET /api/events/sportsGET /api/events/{id}
GET /api/marketsGET /api/markets/{marketId}
POST /api/alpha/polymarket/markets/mapGET /api/alpha/markets/{marketId}/insights/rulesPOST /api/alpha/markets/{marketId}/paper-mirrorGET /api/alpha/markets/{marketId}/brief/previewPOST /api/alpha/markets/{marketId}/briefsGET /api/alpha/briefs/{briefId}POST /api/alpha/markets/{marketId}/decision-notesGET /api/alpha/markets/{marketId}/decision-notesPOST /api/alpha/decision-notes/{noteId}/reviewGET /api/alpha/markets/{marketId}/wallet-radarGET /api/alpha/wallets/{address}PUT /api/alpha/wallets/{address}/tag
POST /api/paper/faucet/claimGET /api/paper/statusGET /api/paper/marketsGET /api/paper/markets/{marketId}GET /api/paper/markets/{marketId}/bookGET /api/paper/markets/{marketId}/tradesGET /api/paper/markets/{marketId}/rulesGET /api/paper/accounts/{address}/portfolioGET /api/paper/accounts/{address}/positionsGET /api/paper/accounts/{address}/fillsPOST /api/paper/ordersPOST /api/paper/orders/{orderId}/cancelPOST /api/paper/settlement/runPOST /api/paper/markets/{marketId}/live-events/simulatePOST /api/paper/markets/{marketId}/closePOST /api/paper/markets/{marketId}/resolvePOST /api/paper/markets/{marketId}/resolution/finalizePOST /api/paper/markets/{marketId}/redeemGET /api/paper/users/{userId}/walletsPOST /api/paper/users/{userId}/walletsGET /api/paper/users/{userId}/retentionPOST /api/paper/wallets/{walletId}/refreshGET /api/paper/wallets/{walletId}/portfolioGET /api/paper/ws
GET /api/commentsPOST /api/commentsGET /api/comments/noncePOST /api/comments/{commentId}/report
GET /api/auth/noncePOST /api/auth/loginGET /api/auth/meTarget execution routes:
GET /api/markets/{marketId}/bookGET /api/markets/{marketId}/tradesGET /api/markets/{marketId}/rulesPOST /api/ordersPOST /api/orders/{orderId}/cancelPOST /api/orders/cancel-allGET /api/accounts/{address}/portfolioGET /api/accounts/{address}/ordersGET /api/accounts/{address}/tradesGET /api/accounts/{address}/redeemableGET /api/markets/{marketId}/redemptionGET /api/contract-registryGET /api/paper/contract-registryThe registry routes above are target public client surfaces. The current pulse server has exchange registry config loading and validation, but does not expose those registry URLs in the route table yet.
WebSocket Sketch
Section titled “WebSocket Sketch”WS /ws
market:{marketId}:bookmarket:{marketId}:tradesmarket:{marketId}:statusmarket:{marketId}:live-statepaper:statusaccount:{address}:ordersaccount:{address}:fillsaccount:{address}:portfolioPaper WebSocket events use concrete event names while the production channel contract is still maturing:
paper_market_bookpaper_matched_pending_fillpaper_settlement_confirmedpaper_account_positionspaper_market_lifecyclepaper_redemption_confirmedpaper_market_live_statepaper_statusSettlement And Portfolio Semantics
Section titled “Settlement And Portfolio Semantics”matchedPendingfills are not confirmed Outcome Shares.- Settlement confirmation is required before portfolio positions appear.
- Primary binary matching creates YES/NO Outcome Shares through CTF Collateral splitting.
- Secondary resale transfers existing Outcome Shares.
- Redeemable Markets appear only after final resolution.
- Redemption APIs must prepare direct CTF redemption data, not a claim against an Arenaton balance.
Public Market Data
Section titled “Public Market Data”Public APIs should expose market list/detail, best bid/ask, recent trades, volume, open interest, resolution source, market status, and selected WebSocket updates.
Private account APIs require authentication and must enforce geo/risk restrictions for trading actions.
Market Brief Semantics
Section titled “Market Brief Semantics”Market Brief APIs expose a free preview before any credit-consuming full run. The current pulse implementation supports a daily free full-run allowance and stores failed runs without consuming quota. Paid fallback is explicit: the request must confirm paid fallback before another full brief can use paid credits after free quota is exhausted.
A full brief may consume free-run allowance or paid credits only after the quality gate confirms the required sections, timestamped sources, price context, rules context, Watch/Risk/Avoid/Rehearse fields, generated-at timestamp, and visible source list. If the provider is unavailable or the output fails validation, the response degrades to a stored failed artifact or preview state without charging.
Brief output is decision support. It must not contain financial advice, buy/sell instructions, expected-return claims, confidence scores, fair-value models, edge ratings, or official resolution claims.
Freshness is recomputed when a stored brief is opened. The current implementation marks a brief Stale after a 4-cent YES price move, Review Needed when tracked lineup or injury timestamps change, Watch when the brief ages near tip-off, and Stale when the mapped market is closed, suspended, or resolved.
External CTF Market Data
Section titled “External CTF Market Data”Arenaton can consume public third-party CTF market data for browsing and research surfaces. External market-data APIs must not become Arenaton order intake, settlement authority, or registry configuration.
GET /markets — List all active CTF markets (up to 500)GET /market?condition_id= — Single market detailsGET /book?token_id= — Order book for a tokenPOST /prices — Batch prices for up to 500 token IDsWS wss://ws-subscriptions-clob.polymarket.com/ws/market
Third-party contract addresses are references only. Arenaton clients must read live addresses from /api/contract-registry or /api/paper/contract-registry. See Gnosis CTF Model for the contract-boundary rules.
Compatibility Routes
Section titled “Compatibility Routes”The pulse server still exposes compatibility routes for current health checks, event data, and GraphQL probes while the exchange API matures.