Overview
The three Daejin prediction-market APIs, and where each one lives.
Daejin exposes three HTTP surfaces. They share one credential model — an API key from this portal, or the app's own session — described in Authentication.
| Surface | What it is for | Base URL (this environment) |
|---|---|---|
| CLOB Market Maker API | The matching engine: live books, depth, trades, placing and cancelling signed limit orders, and the real-time WebSocket feed. | https://api-prediction.daejin.xyz/clob-engine/v1 |
| Settlement Bridge API | Market orders against the AMM, quotes, and Solana transaction builders. Every POST here makes the bridge spend gas. | https://api-prediction.daejin.xyz/clob-bridge |
| Public API | Polymarket-shaped market discovery, positions and a synthetic book over the AMM markets. | https://api.daejin.xyz/v1/public |
Staging mirrors production at app-staging.tokenplay.ai — with one trap: on staging
/clob is the engine and /clob-engine is the bridge, while on production
/clob-engine is the engine and /clob-bridge is the bridge. Read the base URL from
your environment; never hardcode a path.
Start here
- Sign in on the API keys page with the wallet that will own your keys and create one with the scopes you need.
- Read Authentication for headers, rate limits and the migration timeline.
GET /marketson the engine tells you what is live and the exactmarketlabel every other call takes.- Orders are signed by your own wallet — EIP-712 on EVM, ed25519 over a canonical string on Solana. The API never holds a key of yours; see the operation pages under API Reference for the exact payloads.
- Subscribe to the WebSocket feed instead of polling.