Our API, live, on one page.
Everything here comes from the Diamond API sandbox API through a small server of ours, so no key is in your browser. Open your browser's Network tab: the calls to /v1/… return exactly what the API returns to you. Each panel has a Show code button with the code behind it.
Pick a match
Its markets and prices load from GET /v1/events/{id}, then the live stream keeps them current.
Settled markets
Results from GET /v1/events/{id}/results and the stream's result messages. They stay here until the match ends. Result values are hidden on this demo; with your key you receive them in full.
Stream messages
What GET /v1/stream sends for this match, newest first. Each one changes the page.
- Pick a match to start its stream.
Sandbox data. Prices and results are real; the sandbox is for testing your integration. Full API reference · @diamond_fancy