> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockhouse.app/llms.txt
> Use this file to discover all available pages before exploring further.

# BIT and Kraken

> Get a Kraken sub-account from BIT, check its Unified Wallet, then create its four API keys and enter them in Blockhouse.

> [!NOTE]
>
> Kraken's Spot and Futures APIs use separate keys, so the Kraken tab in Blockhouse asks for four: a read-only and a trading key for each. Use the Kraken Pro website for these steps.

**1. Apply for your Kraken sub-account**

In the BIT Prime Brokerage portal, open **Accounts** → **Open Account**. On the **CEFI** tab, choose **Application** next to Kraken, then set:

* **Account's Type:** where it's offered, the type the strategy needs, such as **Portfolio Margin** on Binance
* **Custody:** **Kraken with no external Custody**
* **Account's Api:** **Create API by yourself**

Choose **Confirm** and complete the verification. BIT usually approves the sub-account within a day. Then, in **Accounts** → **My Accounts**, choose **Login Info** on its row for the sub-account's login, and log in to it for the steps below.

> [!NOTE]
>
> The other custody options, such as Ceffu, Copper or Oasis, are only needed if you're taking out a loan through BIT. If you are, ask BIT which one to choose, and make sure every sub-account you apply for is in the same [risk control unit (RCU)](https://docs.blockhouse.app/reference/glossary.md#risk-control-unit-rcu): confirm both with your BIT contact.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/bit-request-sub-account.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=171a86cf261614379a836b1199b1454c" aria-label="Accounts, then Open Account, then Application next to Binance, with Portfolio Margin, no external custody and Create API by yourself chosen before Confirm" />

**2. Check the Unified Wallet and derivatives**

In the sub-account on Kraken Pro, the portfolio overview should show **Main · Unified** and a **Derivatives** card. If either is missing, ask BIT to enable them before you create the keys.

![The Kraken Pro portfolio overview, with the Main · Unified card and a Derivatives card](https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/kraken-1-unified-wallet.png?fit=max\&auto=format\&n=lG-XTofc-2encmxB\&q=85\&s=35b431833b64b67e8f08f5590a3e60ad)

**3. Create the Spot read-only key**

In Blockhouse, on the **Kraken** tab of the Credentials step, choose **Copy** → **Comma** on the **Read-only API IPs**.

On Kraken Pro, open the profile icon → **Settings** → **Connections & API**, then under **Spot trading API** choose **Create API key**. Enter a name, such as `Blockhouse read-only`, and tick only:

* **Funds permissions:** **Query**
* **Orders and trades:** **Query open orders & trades** and **Query closed orders & trades**
* **Data:** **Query ledger entries** and **Export data**

Leave **WebSocket interface** off. Turn **IP address restriction** on and paste the IPs, then choose **Generate key** and enter your 2FA code. Paste Kraken's **API Key** and **Private Key** into **Spot Read-only API Key** and **Spot Read-only Private Key** in Blockhouse straight away.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/kraken-2-spot-read-only-key.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=7c2ce980d1ec2c6de7e34261473763dd" aria-label="Connections & API, then Create API key under Spot trading API, with the query permissions ticked and the IPs pasted" />

**4. Create the Spot trading key**

In Blockhouse, choose **Copy** → **Comma** on the **Trading API IPs**, then create a second Spot key the same way, named such as `Blockhouse trading`, with those IPs. Tick the same permissions, plus **Create & modify orders** and **Cancel & close orders**. Leave **Deposit**, **Withdraw** and **Earn** off.

Paste its **API Key** and **Private Key** into **Spot Trading API Key** and **Spot Trading Private Key**.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/kraken-3-spot-trading-key.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=25cfc04cee85882ea7002c553b7fb25e" aria-label="Creating a second Spot key with the order permissions added and the trading IPs pasted" />

**5. Create the Futures read-only key**

On the same page, under **Futures trading API**, choose **Create API key** and set:

* **General API:** **Read only**
* **Withdrawal API:** **No access**
* **IP address restriction:** on, with the **Read-only API IPs**

Choose **Generate key** and enter your 2FA code. Paste Kraken's **Public Key** and **Private Key** into **Futures Read-only API Key** and **Futures Read-only Private Key**.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/kraken-4-futures-read-only-key.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=81cf0a8ab460263ff24505b2a0adb4fd" aria-label="Create API key under Futures trading API, with General API Read only, Withdrawal API No access and the IPs pasted" />

**6. Create the Futures trading key**

Create a second Futures key with:

* **General API:** **Full access**
* **Withdrawal API:** **Full access**, so the strategy can move margin between this account's Futures and Spot wallets. On a Futures key, it can't send funds anywhere else.
* **IP address restriction:** on, with the **Trading API IPs**

Paste its **Public Key** and **Private Key** into **Futures Trading API Key** and **Futures Trading Private Key**, then tick **IPs are whitelisted for read-only API** and **IPs are whitelisted for trading API**: the boxes cover both the Futures and Spot keys.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/kraken-5-futures-trading-key.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=fd4b48959f8b1e016ed53c5ef1b451e4" aria-label="Creating a second Futures key with General API and Withdrawal API on Full access and the trading IPs pasted" />

| Kraken key | Kraken shows | Blockhouse fields |
| - | - | - |
| Spot read-only | **API Key**, **Private Key** | **Spot Read-only API Key**, **Spot Read-only Private Key** |
| Spot trading | **API Key**, **Private Key** | **Spot Trading API Key**, **Spot Trading Private Key** |
| Futures read-only | **Public Key**, **Private Key** | **Futures Read-only API Key**, **Futures Read-only Private Key** |
| Futures trading | **Public Key**, **Private Key** | **Futures Trading API Key**, **Futures Trading Private Key** |

**7. Finish in Blockhouse**

In the BIT Prime Brokerage portal, open **Accounts** → **My Accounts**. In the **Sub-account List**, copy the **Account Number** for Kraken, for example `1234567_kraken_000001`. In Blockhouse, on the **Kraken** tab, enter it in **BIT account number for Kraken**.

Check that every key field on the tab is filled in and both IP boxes are ticked. Set up any other exchange from the [BIT guide](https://docs.blockhouse.app/open-an-account/connect-your-exchanges/prime-brokers/bit), then [submit the Credentials step](https://docs.blockhouse.app/open-an-account/connect-your-exchanges).

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/bit-2-account-list.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=8fd7ba48653d4f25ab2e073708560198" aria-label="Accounts, then My Accounts, showing the Sub-account List with each account's Account Number and Exchange" />

> **Kraken sources**
>
> Checked against Kraken's support centre and API docs on 20 October 2026, and on screen the same day. Kraken renames menus from time to time; if a label differs, use the nearest match.
>
> * [How to create a spot API key](https://support.kraken.com/articles/360000919966-how-to-create-an-api-key)
> * [How to create an API key for Kraken Derivatives](https://support.kraken.com/articles/360022839451-how-to-create-an-api-key-for-kraken-derivatives)
> * [API key permissions](https://docs.kraken.com/exchange/guides/rest/api-keys)
> * [Understanding Derivatives subaccounts](https://support.kraken.com/hc/articles/360042809671-Subaccounts-on-Kraken-Futures)
> * [Initiate withdrawal to Spot wallet (Futures API)](https://docs.kraken.com/api/docs/futures-api/trading/withdrawal)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.