---
title: "Connect OKX with a read-only key"
canonical: https://flicker.finance/portfolio/connect/okx
---

# Connect OKX with a read-only key

Flicker reads positions, balances and orders with this key. Where OKX reports its permissions, Flicker refuses a key that can trade or withdraw, so create a read-only one.

## On OKX

1. Sign in to OKX and open **Profile** › **API and connections**.
2. Choose **Create API key** and name it Flicker.
3. Under **Permissions**, choose **Read** only. Leave **Trade** and **Withdraw** off.
4. Set a passphrase and keep it: OKX can't show it again, and Flicker needs it.
5. Restrict the key to Flicker's IP address, 18.153.160.58. It's recommended for security.
6. Confirm with your 2FA, then copy the **API Key**, the **Secret Key** and your passphrase.
7. Paste it below. Where the exchange reports it, Flicker checks what the key can do before saving it.

[Full OKX guide](https://flicker.finance/learn/faq/how-to-create-okx-read-only-api-key)

## OKX at a glance

- **Connect with:** Key, secret and passphrase
- **Synced:** Positions, balances and order history
- **Stops and targets:** Read
- **Setup:** 7 steps
- **First sync:** Positions while you connect; history can take a few minutes
- **After that:** On each visit and once a day

## What you'll see after connecting

- Every open position with entry, mark and unrealized P&L, beside your other exchanges.
- Each position's stop and target as set on OKX, and what you'd lose if every stop fills.
- Flicker's read on each asset you hold: its verdict and how many factors agree.
- Closed trades as a record, measured in R, and a weekly review.

## If something goes wrong

When OKX rejects a key, check that it was copied whole, has read access and allows 18.153.160.58. Each message below comes with its fix.

- **OKX rejected this key.** — Create a new read-only key on OKX and paste it here.
- **OKX refused the request.** — Try again in a minute. If it repeats, create a new key.
- **Couldn't reach OKX.** — Try again in a minute.
- **Too many key checks.** — Try again in an hour.

Free for up to 4 exchange accounts; every portfolio feature is included.

[All exchanges](https://flicker.finance/portfolio/connect)

---

Canonical HTML: https://flicker.finance/portfolio/connect/okx
Machine-readable index: https://flicker.finance/llms.txt · API: https://api.flicker.finance/docs/openapi.json · MCP: https://api.flicker.finance/mcp
