Kraken — Direct API Endpoints
Kraken provides 55 unique direct API endpoints across the following categories:- Centralized Finance (21 endpoints)
- Historical (1 endpoint)
- Market Data (28 endpoints)
- Token (1 endpoint)
- Trading (13 endpoints)
- Utility (7 endpoints)
- Wallets (5 endpoints)
Prefix and Example
Prefix: No prefix is required for Kraken, an example URL will therefore look like:https://api.uniblock.dev/direct/v1/Kraken + /[Kraken_endpoint].
Example Request:
Centralized Finance
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/api/history/v3/executions | 20 | Lists executions/trades for authenticated account. |
direct/v1/Kraken/derivatives/api/v3/feeschedules | 20 | This endpoint lists all fee schedules. |
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint provides the platforms notifications. |
direct/v1/Kraken/derivatives/api/v3/openorders | 20 | This endpoint returns information on all open orders for all Futures contracts. |
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint returns the size and average entry price of all open positions in Futures contracts. This includes Futures contracts that have matured but have not yet been settled. |
direct/v1/Kraken/api/history/v3/orders | 20 | Lists order events for authenticated account. |
direct/v1/Kraken/derivatives/api/v3 | 20 | The PNL currency preference is used to determine which currency to pay out when realizing PNL gains. |
direct/v1/Kraken/derivatives/api/v3 | 20 | Retrieve current portfolio margin calculation parameters. |
direct/v1/Kraken/derivatives/api/v3/unwindqueue | 20 | This endpoint returns the percentile of the open position in case of unwinding. |
direct/v1/Kraken/api/history/v3/positions | 20 | Lists position events for authenticated account. |
direct/v1/Kraken/derivatives/api/v3 | 20 | Returns account-wide self-trade matching strategy. |
direct/v1/Kraken/0/public/Time | 20 | Get the server’s time. |
direct/v1/Kraken/0/public/SystemStatus | 20 | Get the current system status or trading mode. |
direct/v1/Kraken/api/history/v3/triggers | 20 | Lists trigger events for authenticated account. |
direct/v1/Kraken/derivatives/api/v3/fills | 20 | This endpoint returns information on your filled orders for all futures contracts. |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve all currently open RFQs |
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint returns information on assignment program preferences change history |
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint returns information on currently active assignment programs |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve all open offers for the account on currently open RFQs |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve all currently open RFQs created by the authenticated account. |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve a specific open RFQ by its unique identifier |
Historical
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint returns information on assignment program preferences change history |
Market Data
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/derivatives/api/v3/feeschedules | 20 | Returns your fee schedule volumes for each fee schedule. |
direct/v1/Kraken/0/public/GroupedBook | 20 | The GroupedBook endpoint aggregates the volume in the order book over a specified tick range. It provides a summary of liquidity deep into the book, useful for user interface display. |
direct/v1/Kraken/derivatives/api/v3/instruments | 20 | Returns price dislocation and volatility details for given market. |
direct/v1/Kraken/derivatives/api/v3/instruments | 20 | Returns price dislocation and volatility details for all markets. |
direct/v1/Kraken/derivatives/api/v3/instruments | 20 | Returns specifications for all currently listed markets and indices. |
direct/v1/Kraken/api/charts/v1/analytics | 20 | Get liquidity pool statistic including usd value |
direct/v1/Kraken/0/public/OHLC | 20 | Retrieve OHLC market data. |
direct/v1/Kraken/0/public/Depth | 20 | Returns level 2 (L2) order book, which describes the individual price levels in the book with aggregated order quantities at each level. |
direct/v1/Kraken/derivatives/api/v3/orderbook | 20 | This endpoint returns the entire non-cumulative order book of currently listed Futures contracts. |
direct/v1/Kraken/api/history/v3/market | 20 | Lists trades for a market. |
direct/v1/Kraken/api/history/v3/market | 20 | Lists price events for a market. |
direct/v1/Kraken/api/history/v3/market | 20 | Lists order events for a market. |
direct/v1/Kraken/0/public/Spread | 20 | Returns the last ~200 top-of-book spreads for a given pair |
direct/v1/Kraken/0/public/Trades | 20 | Returns the last 1000 trades by default |
direct/v1/Kraken/derivatives/api/v3/tickers | 20 | Get market data for contract or index by symbol |
direct/v1/Kraken/0/public/Ticker | 20 | Get ticker information for all or requested markets. |
direct/v1/Kraken/derivatives/api/v3/tickers | 20 | This endpoint returns current market data for all currently listed Futures contracts and indices. |
direct/v1/Kraken/0/public/AssetPairs | 20 | Get tradable asset pairs |
direct/v1/Kraken/derivatives/api/v3/history | 20 | This endpoint returns the most recent 100 trades prior to the specified lastTime value up to past 7 days or recent trading engine restart (whichever is sooner). |
direct/v1/Kraken/derivatives/api/v3/trading | 20 | Returns specifications for all currently accessible markets and indices. |
direct/v1/Kraken/derivatives/api/v3 | 20 | Returns list of historical funding rates for given market. |
direct/v1/Kraken/api/charts/v1/analytics | 20 | Analytics data divided into time buckets |
direct/v1/Kraken/api/charts/v1/:tick_type | 20 | Candles for specified tick type, market, and resolution. |
direct/v1/Kraken/api/charts/v1/{tick_type} | 20 | Markets available for specified tick type. |
direct/v1/Kraken/0/public/PostTrade | 20 | Returns a list of trades on the spot exchange. If no filter parameters are specified, the last 1000 trades for all pairs are received. |
direct/v1/Kraken/0/public/PreTrade | 20 | Returns the price levels in the order book with aggregated order quantities at each price level. The top 10 levels are returned for each trading pair. |
direct/v1/Kraken/api/charts/v1/{tick_type} | 20 | Candle resolutions available for specified tick type and market. |
direct/v1/Kraken/api/charts/v1 | 20 | Returns all available tick types to use with the markets endpoint. |
Token
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/0/public/Assets | 20 | Get information about the assets that are available for deposit, withdrawal, trading and earn. |
Trading
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/api/history/v3/executions | 20 | Lists executions/trades for authenticated account. |
direct/v1/Kraken/derivatives/api/v3/feeschedules | 20 | This endpoint lists all fee schedules. |
direct/v1/Kraken/derivatives/api/v3/openorders | 20 | This endpoint returns information on all open orders for all Futures contracts. |
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint returns the size and average entry price of all open positions in Futures contracts. This includes Futures contracts that have matured but have not yet been settled. |
direct/v1/Kraken/api/history/v3/orders | 20 | Lists order events for authenticated account. |
direct/v1/Kraken/derivatives/api/v3/unwindqueue | 20 | This endpoint returns the percentile of the open position in case of unwinding. |
direct/v1/Kraken/api/history/v3/positions | 20 | Lists position events for authenticated account. |
direct/v1/Kraken/api/history/v3/triggers | 20 | Lists trigger events for authenticated account. |
direct/v1/Kraken/derivatives/api/v3/fills | 20 | This endpoint returns information on your filled orders for all futures contracts. |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve all currently open RFQs |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve all open offers for the account on currently open RFQs |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve all currently open RFQs created by the authenticated account. |
direct/v1/Kraken/derivatives/api/v3/rfqs | 20 | Retrieve a specific open RFQ by its unique identifier |
Utility
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint provides the platforms notifications. |
direct/v1/Kraken/derivatives/api/v3 | 20 | The PNL currency preference is used to determine which currency to pay out when realizing PNL gains. |
direct/v1/Kraken/derivatives/api/v3 | 20 | Retrieve current portfolio margin calculation parameters. |
direct/v1/Kraken/derivatives/api/v3 | 20 | Returns account-wide self-trade matching strategy. |
direct/v1/Kraken/0/public/Time | 20 | Get the server’s time. |
direct/v1/Kraken/0/public/SystemStatus | 20 | Get the current system status or trading mode. |
direct/v1/Kraken/derivatives/api/v3 | 20 | This endpoint returns information on currently active assignment programs |
Wallets
GET
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Kraken/api/history/v3/accountlogcsv | 20 | Lists recent account log entries in CSV format. |
direct/v1/Kraken/derivatives/api/v3/subaccount | 20 | Returns trading capability info for given subaccount. |
direct/v1/Kraken/api/history/v3/account-log | 20 | Lists account log entries, paged by timestamp or by ID. |
direct/v1/Kraken/derivatives/api/v3/subaccounts | 20 | Return information about subaccounts, including balances and UIDs. |
direct/v1/Kraken/derivatives/api/v3/accounts | 20 | This endpoint returns key information relating to all your accounts which may either be cash accounts or margin accounts. This includes digital asset balances, instrument balances, margin requirements, margin trigger estimates and auxiliary information such as available funds, PnL of open positions and portfolio value. |