Skip to main content
This utility endpoint exposes the cached orderbook Krisis evaluates strategies against, so you can see the same numbers the engine sees. Use it while developing a strategy — it does not need a strategy to exist. To trial an expression against the live book, use POST /api/v1/dsl/evaluate. The endpoint is public — no Authorization header required.

Get orderbook

The cached snapshot for a market — the same book the engine reads when it evaluates bid, ask, and spread. Krisis caches books for markets it is working, so a market no strategy watches can return 404.

Request

Example

Response

Errors