Skip to main content
Plain JavaScript that runs in any modern browser or in Node.js 18 and later. No API key or dependencies are needed.

A minimal client

kash-embed-client.js

List live markets

Keep prices live

Load the cards once, then poll the state endpoint. It refreshes about every second, so polling every 5 to 10 seconds is plenty.

Price a trade

“Predict on X” buttons

Paginate through everything

Listen to iframe events

Next steps

React examples

Components and hooks

API overview

Endpoints, limits and errors