Actions13
- Account Actions
- Market Data Actions
- Trading Actions
Market Data → Get Order Book
AI-generatedSummary
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