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

# OKX

> Connect OKX with a read-only API key and its passphrase to see trading, funding and earn accounts and your futures beside everything else.

Burokku reads OKX through an API key you create on OKX, with the passphrase you set for it. A read-only key shows everything. Burokku turns away any key that can withdraw.

## What Burokku reads

* **Your trading, funding and earn accounts**, added up without counting the same coin twice.
* **Open futures and perpetual positions**, in [Perps](https://docs.burokku.app/web-app/perps.md) next to your other venues.
* **History:** all your deposits and withdrawals, and the last 3 months of spot and perpetual trades and funding. Older history fills in over the first hours.

Keys from OKX's regional sites work too. Burokku finds the site your key belongs to.

## Add it

Exchange keys are kept with your account, so [sign in](https://docs.burokku.app/getting-started/account.md) first.

**1. Pick OKX**

Choose **Add account**, then **Connect an exchange**, then **OKX**. Leave **What Burokku can do** on **Read only**.

**2. Create the key on OKX**

Open the API page from the link Burokku shows and create a new key named Burokku. Under **Used for**, choose **API trading**, not **Linking third-party app**. Set a passphrase and keep it.

**3. Set its permissions**

Keep **Read** on, and **Trade** and **Withdraw** off. Paste the IP address Burokku shows into the key's IP allowlist, so the key works only from Burokku.

**4. Paste and verify**

Choose **I've created the key**, paste the **API key**, **Secret key** and **Passphrase**, then **Verify key**.

**5. Name it**

Under **Include in portfolio**, turn off any account you don't want counted. Name it, pick a bundle and choose **Add OKX**.

## After you add it

OKX shows under **Portfolio → Accounts** and counts in your net worth. Balances refresh every few minutes. For trades older than OKX's API shares, choose **Import older history** and upload OKX's own export.

## Trading

Choose **Read and trade** in the guide and turn on **Trade**, never **Withdraw**. Under **Trading markets**, turn on **Spot & margin trading**, and **Perpetual** to trade perps. Under **Trading crypto**, add every coin you want to trade, including the stablecoin you pay with: OKX refuses orders for coins that aren't on the list. The key must be locked to Burokku's IP address, and your Burokku account needs two-step verification. Orders over \$1,000 ask for your second step. Trading isn't offered in the EU, the UK or Singapore yet.

## Limits

* If OKX says the passphrase doesn't match, replace the key with the passphrase you set when you created it.
* Burokku never accepts a key that can withdraw.

More on OKX in Burokku: [burokku.app/integrations/okx](https://burokku.app/integrations/okx).


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