Skip to main content
For more information regarding the endpoints, please visit Kraken’s website: Kraken API Docs.

Prefix:

No prefix is required for Kraken, an example URL will therefore look like: https://api.uniblock.dev/direct/v1/Kraken + /[Kraken_endpoint].

Example:

curl --request GET \
  --url https://api.uniblock.dev/direct/v1/Kraken/0/public/Ticker?pair=XBTUSD \
  --header 'accept: application/json' \
  --header 'x-api-key: YOUR_UNIBLOCK_API_KEY'

Supported Endpoints:

Spot REST API

Market Data

MethodPathDescription
GET0/public/TimeGet the server’s time.
GET0/public/SystemStatusGet the current system status or trading mode.
GET0/public/AssetsGet information about the assets that are available for deposit, withdrawal, trading and earn.
GET0/public/AssetPairsGet tradable asset pairs.
GET0/public/TickerGet ticker information for all or requested markets.
GET0/public/OHLCRetrieve OHLC market data.
GET0/public/DepthReturns level 2 (L2) order book data with aggregated order quantities at each price level.
GET0/public/GroupedBookAggregates order book volume over a specified tick range for liquidity summaries.
GET0/public/TradesReturns the last 1000 trades by default.
GET0/public/SpreadReturns the last ~200 top-of-book spreads for a given pair.

Transparency

MethodPathDescription
GET0/public/PreTradeReturns the top 10 aggregated price levels in the order book for each trading pair.
GET0/public/PostTradeReturns a list of trades on the spot exchange. If no filters are specified, the last 1000 trades for all pairs are returned.

Futures REST API

Market Data

MethodPathDescription
GETderivatives/api/v3/historyReturns the most recent 100 trades before the specified lastTime, up to the past 7 days or the most recent trading engine restart.
GETderivatives/api/v3/orderbookReturns the full non-cumulative order book for currently listed Futures contracts.
GETderivatives/api/v3/tickersReturns current market data for all currently listed Futures contracts and indices.
GETderivatives/api/v3/tickers/{symbol}Get market data for a contract or index by symbol.

Instrument Details

MethodPathDescription
GETderivatives/api/v3/instrumentsReturns specifications for all currently listed markets and indices.
GETderivatives/api/v3/trading/instrumentsReturns specifications for all currently accessible markets and indices.
GETderivatives/api/v3/instruments/statusReturns price dislocation and volatility details for all markets.
GETderivatives/api/v3/instruments/{symbol}/statusReturns price dislocation and volatility details for a given market.
GETderivatives/api/v3/openordersReturns information on all open orders for all Futures contracts.
GETderivatives/api/v3/pnlpreferencesReturns PNL currency preferences used to determine which currency pays out realized PNL gains.

Account Information

MethodPathDescription
GETderivatives/api/v3/accountsReturns account balances, instrument balances, margin requirements, margin trigger estimates, available funds, open-position PNL, and portfolio value.
GETderivatives/api/v3/openpositionsReturns size and average entry price for all open Futures positions, including matured contracts that have not yet settled.
GETderivatives/api/v3/unwindqueueReturns the percentile of the open position in case of unwinding.
GETderivatives/api/v3/portfolio-margining/parametersRetrieve current portfolio margin calculation parameters.

Assignment Program

MethodPathDescription
GETderivatives/api/v3/assignmentprogram/currentReturns information on currently active assignment programs.
GETderivatives/api/v3/assignmentprogram/historyReturns assignment program preference change history.

Fee Schedules

MethodPathDescription
GETderivatives/api/v3/feeschedulesLists all fee schedules.
GETderivatives/api/v3/feeschedules/volumesReturns fee schedule volumes for each fee schedule.

General

MethodPathDescription
GETderivatives/api/v3/notificationsProvides platform notifications.

Fills

MethodPathDescription
GETderivatives/api/v3/fillsReturns filled order information for all Futures contracts.

Historical Funding Rates

MethodPathDescription
GETderivatives/api/v3/historical-funding-ratesReturns historical funding rates for a given market.

Trading Settings

MethodPathDescription
GETderivatives/api/v3/self-trade-strategyReturns the account-wide self-trade matching strategy.

Subaccounts

MethodPathDescription
GETderivatives/api/v3/subaccount/{subaccountUid}/trading-enabledReturns trading capability information for a given subaccount.
GETderivatives/api/v3/subaccountsReturns information about subaccounts, including balances and UIDs.

RFQs

MethodPathDescription
GETderivatives/api/v3/rfqsRetrieve all currently open RFQs.
GETderivatives/api/v3/rfqs/{rfqUid}Retrieve a specific open RFQ by its unique identifier.
GETderivatives/api/v3/rfqs/open-offersRetrieve all open offers for the account on currently open RFQs.
GETderivatives/api/v3/rfqs/open-rfqsRetrieve all currently open RFQs created by the authenticated account.

Account History

MethodPathDescription
GETapi/history/v3/executionsLists executions and trades for the authenticated account.
GETapi/history/v3/ordersLists order events for the authenticated account.
GETapi/history/v3/triggersLists trigger events for the authenticated account.
GETapi/history/v3/positionsLists position events for the authenticated account.
GETapi/history/v3/account-logLists account log entries, paged by timestamp or ID.
GETapi/history/v3/accountlogcsvLists recent account log entries in CSV format.

Market History

MethodPathDescription
GETapi/history/v3/market/{tradeable}/executionsLists trades for a market.
GETapi/history/v3/market/{tradeable}/ordersLists order events for a market.
GETapi/history/v3/market/{tradeable}/priceLists price events for a market.

Candles

MethodPathDescription
GETapi/charts/v1Returns all available tick types to use with the markets endpoint.
GETapi/charts/v1/{tick_type}Returns markets available for the specified tick type.
GETapi/charts/v1/{tick_type}/{symbol}Returns candle resolutions available for the specified tick type and market.
GETapi/charts/v1/:tick_type/{symbol}/{resolution}Returns candles for the specified tick type, market, and resolution.

Analytics

MethodPathDescription
GETapi/charts/v1/analytics/liquidity-poolGet liquidity pool statistics, including USD value.
GETapi/charts/v1/analytics/{symbol}/{analytics_type}Returns analytics data divided into time buckets.