Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sieblyio/kraken-api/llms.txt
Use this file to discover all available pages before exploring further.
DerivativesClient provides full access to the Kraken Futures REST API. It covers all perpetual and fixed-maturity contract markets — market data, order book snapshots, candles, open positions, fill history, account state, leverage settings, batch order management, and transfers between Futures and Spot wallets. All live requests are routed to https://futures.kraken.com.
Kraken Futures uses separate API keys from the Spot exchange. Generate dedicated Futures API keys in your Kraken account under Settings → API → Futures. Spot API keys will not authenticate Futures endpoints.
Constructor
Symbol Conventions
Kraken Futures symbols follow a structured prefix convention that identifies the contract type:| Prefix | Type | Example |
|---|---|---|
PF_ | Perpetual Futures (multi-collateral) | PF_BTCUSD, PF_ETHUSD |
PI_ | Perpetual Inverse Futures | PI_XBTUSD |
FI_ | Inverse Fixed-Maturity Futures | FI_XBTUSD_250328 |
FF_ | Flex (multi-collateral) Fixed-Maturity Futures | FF_XBTUSD_250328 |
IN_ | Index | IN_XBTUSD |
getInstruments() to fetch the full list of currently listed symbols with their specifications.
generateNewOrderID()
DerivativesClient exposes a generateNewOrderID() helper that returns a cryptographically random 32-character string using nanoid. Use this to generate a unique cliOrdId for each order you submit. Client order IDs let you idempotently track and reference your orders even before Kraken assigns an internal order ID.
Available Endpoints
- Public Endpoints
- Private Endpoints
Public methods require no authentication.
| Method | Description |
|---|---|
getInstruments() | All currently listed contracts and indices with full specifications (tick size, contract size, leverage, etc.). |
getInstrumentStatusList() | Price dislocation and volatility status for all markets. |
getInstrumentStatus(params) | Price dislocation and volatility status for a single market. |
getTickers() | Live market data for all contracts and indices (last price, mark price, bid/ask, 24h volume, open interest, funding rate). |
getTicker(params) | Market data for a single contract or index by symbol. |
getOrderbook(params) | Full non-cumulative order book for a contract. |
getTradeHistory(params) | The 100 most recent trades for a symbol (up to 7 days back). |
getHistoricalFundingRates(params) | Historical funding rate series for a perpetual contract. |
getFeeSchedules() | All fee schedules with maker/taker tiers. Deprecated as of 2026-06-22 — use SpotClient.getTradingVolume() instead. |
getPublicExecutionEvents(params) | Public trade executions for a market (market history). |
getPublicOrderEvents(params) | Public order events for a market. |
getPublicMarkPriceEvents(params) | Public mark price events for a market. |
getTickTypes() | Available tick types for use with the candle endpoints. |
getMarketsForTickType(params) | Markets available for a given tick type. |
getResolutions(params) | Candle resolutions available for a given tick type and symbol. |
getCandles(params) | OHLC candles for a given tick type, symbol, and resolution. |
getLiquidityPoolStatistic(params) | Liquidity pool statistics including USD value. |
getMarketAnalytics(params) | Market analytics data in time buckets. |
getOpenRFQs() | All currently open RFQs (demo environment only). |
getOpenRFQ(params) | A single open RFQ by UID (demo environment only). |
Usage Examples
Public Market Data
Account
Order Management
Position Management
Further Reading
Market Data Reference
Full parameter documentation for all public Futures endpoints.
Account Reference
Wallets, positions, fills, and history endpoint details.
Orders Reference
Order types, batch management, and Dead Man’s Switch details.