Live API demo Connecting…

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.

Stream messages

What GET /v1/stream sends for this match, newest first. Each one changes the page.

  1. 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

Code