Skip to main content
Every endpoint and every stream can be tried without an account or API key. The public demo is meant for reading the docs, testing a request and letting AI agents explore the API. It is not meant for production.
The demo is only for trying CabalSpy out. To build on it you need an API key, passed as shown on API Key and in every endpoint’s examples. Get a free key.
The Try it button on every endpoint page uses the demo automatically: leave the api_key field empty and press Send.

Two ways in

Both are the same demo with the same limits. demo-api.cabalspy.xyz adds the demo key for you, so a link or an example request works as it is. The key demo works anywhere a normal key does: in the SDKs, the MCP server and WebSocket connections.

Limits

The 20 requests are shared between REST and WebSocket; opening a WebSocket connection counts as one request. The counter resets at 00:00 UTC. IPv6 addresses are counted per /64 network. Events younger than 15 minutes are left out of every answer, so the newest trade you see is about 15 minutes old. Totals and profiles are current, but lists stop at 5 rows and pagination always reports has_more: false.

How a demo answer looks

Every demo answer carries a demo block and the header X-CabalSpy-Demo: true, so you, your code and an AI agent can always tell demo data from live data.
The header X-Demo-Remaining carries the same count as remaining_today. When the 20 requests are used up, the API answers with HTTP 429:

WebSocket

The welcome message carries a demo block. Replies such as subscribed arrive at once; trade and stream events arrive 15 minutes after they happened. The connection closes after 30 minutes. A second demo connection from the same IP is refused while the first is open.

SDKs and the MCP server

The SDKs raise a dedicated error when the demo budget is spent (DemoLimitError in TypeScript and Python, Error::DemoLimit in Rust) and do not retry it, because the budget only resets the next day. The MCP server uses the demo automatically when you connect without a key, so an assistant can answer its first questions before anyone signs up.

When the demo is not enough

Free test key

1,000 real-time requests a month, full lists, every stream. Free account, no credit card.

Pay per request

AI agents pay per call in USDC with x402. No account, no key.