> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.drazill.com/documentation/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.drazill.com/_mcp/server. # Documentation > Canonical developer documentation for the Drazill API — a Canadian prediction-market exchange with a hybrid CLOB + LMSR-AMM engine, one versioned REST API, a realtime WebSocket feed, and signed webhooks. Generated from the same CI-gated contract the exchange is built against. ## Docs - [Drazill API](https://docs.drazill.com/documentation/introduction.md): Build on Drazill — a Canadian prediction-market exchange with a hybrid CLOB + LMSR-AMM engine, over one versioned REST API, a realtime WebSocket feed, and signed webhooks. - [Quickstart](https://docs.drazill.com/documentation/quickstart.md): First call in under a minute — no signup, no key. Then a paper trade and a live price tick in five. - [Get an API key](https://docs.drazill.com/documentation/get-a-key.md): Mint a paper key on staging, run a real call from this site, then run the same call from the SDK. - [Authentication](https://docs.drazill.com/documentation/authentication.md): One header. Server-side keys, class-tagged live vs test, scoped least-privilege — and no wallet signatures anywhere. - [How pricing works](https://docs.drazill.com/documentation/concepts/how-pricing-works.md): One price, two engines. A central limit order book and an LMSR market maker share a single source of truth — so a quote and a fill can never disagree. - [Order lifecycle](https://docs.drazill.com/documentation/concepts/order-lifecycle.md): Types, time-in-force, self-trade prevention, and the status machine — every value generated from the order model so the lists cannot rot. - [Fees](https://docs.drazill.com/documentation/concepts/fees.md): Volume-based maker/taker tiers, in percent, straight from the fee engine — with a maker rebate at the top tier. - [Markets & settlement](https://docs.drazill.com/documentation/concepts/markets-settlement.md): Market types, the lifecycle from draft to payout, resolution and disputes, and exactly what a winning share pays. - [Complete-set redemption](https://docs.drazill.com/documentation/concepts/complete-set-redemption.md): A complete set is worth exactly $1 at resolution, so you can redeem it for $1 now — no fee, no counterparty, no price impact. - [Paper vs live](https://docs.drazill.com/documentation/concepts/paper-vs-live.md): Test keys trade paper money on the real engine, fully isolated from real state. A paper key cannot move a real cent. - [Market data](https://docs.drazill.com/documentation/concepts/market-data.md): The read endpoints an integration lives on — list, detail, order book, trade tape, and price history. - [Request for quote (RFQ)](https://docs.drazill.com/documentation/concepts/request-for-quote.md): Ask permissioned responders to price size you do not want to show the book, then cross against the best quote through the same matching engine every other fill goes through. - [Data products](https://docs.drazill.com/documentation/concepts/data-products.md): The three licensable surfaces — historical exports, the premium realtime feed, and versioned bulk datasets — and the entitlements that unlock them. - [Sandbox](https://docs.drazill.com/documentation/sandbox.md): A full paper-trading environment on the real engine — mint a test key, trade virtual money, reset, and receive sandbox webhooks. - [Backtesting & replay](https://docs.drazill.com/documentation/backtesting.md): Replay a market's real recorded history through a WebSocket with a test key, trade into it with simulated orders, and get a P&L summary — with zero real-money surface. - [Rate limits & quotas](https://docs.drazill.com/documentation/rate-limits-quotas.md): Per-key throughput tiers, daily/monthly quotas, and per-IP ceilings — every number generated from config, with self-describing headers and a fail-open posture. - [SDKs](https://docs.drazill.com/documentation/sd-ks/overview.md): Official Python and TypeScript clients, generated one-to-one from the same contract this site renders. - [Python SDK](https://docs.drazill.com/documentation/sd-ks/python.md): drazill — sync and async clients with retries, idempotency, cursor iteration, and a WebSocket client. - [TypeScript SDK](https://docs.drazill.com/documentation/sd-ks/type-script.md): drazill — typed, native fetch, with a WebSocket client and webhook verification. - [Google Sheets](https://docs.drazill.com/documentation/google-sheets.md): =DRAZILL() and =DRAZILLHIST() — live market prices in a spreadsheet, over the public API, with your own key. - [Automation (Zapier & Make)](https://docs.drazill.com/documentation/automation-zapier-make.md): Turn Drazill webhooks into no-code workflows — fills to a sheet, resolutions to a channel, alerts to your inbox. - [AI & agents](https://docs.drazill.com/documentation/ai-agents.md): Point Claude, Cursor, ChatGPT, or your own agent at these docs — and integrate against Drazill correctly on the first try. - [Conformance & badges](https://docs.drazill.com/documentation/conformance.md): A badge that says exactly what was run, against which contract date, and is re-runnable by anyone — including you, against our SDKs. - [Community bots](https://docs.drazill.com/documentation/community-bots.md): Slack and Discord bots that bring Drazill odds into the channels where communities already talk — built on nothing but this public API. - [Platform status](https://docs.drazill.com/documentation/status.md): A versioned JSON status document, an edge-triggered webhook, and an RSS feed — three ways to watch Drazill's health without scraping a page. - [Platform stats](https://docs.drazill.com/documentation/platform-stats.md): The venue's own measured aggregates — traded volume, open interest, market counts — as two public JSON reads, with every figure carrying the timestamp of the measurement behind it. - [Compliance & regions](https://docs.drazill.com/documentation/compliance-regions.md): Who can trade, what your integration sees when a gate fires, where data lives, and what you may redistribute — documented plainly, because on a real-money platform these walls are features, not bugs.