Kraken icon

Kraken

Interact with Kraken cryptocurrency exchange API

Market Data → Get Order Book

AI-generated

Summary

Retrieve order book (depth) for a specified asset pair from Kraken

Inputs

  • pair — Asset pair to get data for (e.g., XXBTZUSD for BTC/USD)
  • count — Maximum number of asks/bids

Output shape

json

Returns the order book data from the Kraken API, structured as bids and asks arrays

Examples

Example 1: Get top 50 bids/asks for BTC/USD

pair: XXBTZUSD, count: 50

Links

Discussion