1. Get a key
In the Totalis app, go to Account, then API keys, pick the taker scopes, and approve with your wallet. The key is shown once. A market maker issues its keys headless instead: Market making.2. Read
Markets need no key:native_question_id. For a market in a question, Get market
returns its question, with the title and all its markets. A standalone market has
native_question_id: null and question: null. List questions
(GET /v1/discovery) groups markets under their question titles, and lists standalone markets separately.
Your identity checks the key:
wallet is your Totalis wallet. It signs your trades.
3. Request quotes
Subscribe to your account first, so no quote is missed:YES of outcome 1209:
QUOTE_CREATED, each with a payout. Generate a new lowercase UUIDv7
Idempotency-Key for every command.
4. Accept
Sign a quote and accept it before itsaccept_before: Trading.
