---
name: okx
title: "OKX"
kind: data
auth: api_key
managed_operations: 0
total_operations: 381
url: https://duang.ai/providers/okx
---

# OKX MCP Server & API for AI Agents

Prices, order books, candles and funding rates from OKX with no key, and an account's trading, funding and earn with a key.

- **Access & Pricing**: Connect your existing OKX account for $0 in Duang's encrypted vault (381 operations).
- **Remote MCP endpoint**: `https://api.duang.ai/mcp`
- **Agent Skill**: https://duang.ai/SKILL.md
- **Official Docs**: https://www.okx.com/docs-v5/en/

## Normalized Capabilities (4)

- [`crypto.price`](https://duang.ai/data/crypto/price): Get a coin's price — from $0.000002
- [`crypto.candles`](https://duang.ai/data/crypto/candles): Get a coin's price history — Free
- [`crypto.funding.rate`](https://duang.ai/data/crypto/funding-rate): Get a perpetual's funding rate
- [`crypto.open.interest`](https://duang.ai/data/crypto/open-interest): Get a perpetual's open interest

## Operations (showing 40 of 381)

| Operation | Capability | Managed Price |
| :--- | :--- | :--- |
| `GET www.okx.com/api/v5/market/ticker` | [`crypto.price`](https://duang.ai/data/crypto/price) | Your account |
| `GET www.okx.com/api/v5/market/books` | - | Your account |
| `GET www.okx.com/api/v5/market/candles` | [`crypto.candles`](https://duang.ai/data/crypto/candles) | Your account |
| `GET www.okx.com/api/v5/market/trades` | - | Your account |
| `GET www.okx.com/api/v5/public/instruments` | - | Your account |
| `GET www.okx.com/api/v5/public/funding-rate` | [`crypto.funding.rate`](https://duang.ai/data/crypto/funding-rate) | Your account |
| `GET www.okx.com/api/v5/public/open-interest` | [`crypto.open.interest`](https://duang.ai/data/crypto/open-interest) | Your account |
| `GET www.okx.com/api/v5/account/account-position-risk` | - | Your account |
| `GET www.okx.com/api/v5/account/adjust-leverage-info` | - | Your account |
| `GET www.okx.com/api/v5/account/balance` | - | Your account |
| `GET www.okx.com/api/v5/account/bills` | - | Your account |
| `GET www.okx.com/api/v5/account/bills-archive` | - | Your account |
| `GET www.okx.com/api/v5/account/bills-history-archive` | - | Your account |
| `GET www.okx.com/api/v5/account/collateral-assets` | - | Your account |
| `GET www.okx.com/api/v5/account/config` | - | Your account |
| `GET www.okx.com/api/v5/account/greeks` | - | Your account |
| `GET www.okx.com/api/v5/account/instruments` | - | Your account |
| `GET www.okx.com/api/v5/account/interest-accrued` | - | Your account |
| `GET www.okx.com/api/v5/account/interest-limits` | - | Your account |
| `GET www.okx.com/api/v5/account/interest-rate` | - | Your account |
| `GET www.okx.com/api/v5/account/leverage-info` | - | Your account |
| `GET www.okx.com/api/v5/account/max-avail-size` | - | Your account |
| `GET www.okx.com/api/v5/account/max-loan` | - | Your account |
| `GET www.okx.com/api/v5/account/max-size` | - | Your account |
| `GET www.okx.com/api/v5/account/max-withdrawal` | - | Your account |
| `GET www.okx.com/api/v5/account/mmp-config` | - | Your account |
| `GET www.okx.com/api/v5/account/move-positions-history` | - | Your account |
| `GET www.okx.com/api/v5/account/position-tiers` | - | Your account |
| `GET www.okx.com/api/v5/account/positions` | - | Your account |
| `GET www.okx.com/api/v5/account/positions-history` | - | Your account |
| `GET www.okx.com/api/v5/account/precheck-set-delta-neutral` | - | Your account |
| `GET www.okx.com/api/v5/account/risk-state` | - | Your account |
| `GET www.okx.com/api/v5/account/set-account-switch-precheck` | - | Your account |
| `GET www.okx.com/api/v5/account/spot-borrow-repay-history` | - | Your account |
| `GET www.okx.com/api/v5/account/subaccount/balances` | - | Your account |
| `GET www.okx.com/api/v5/account/subaccount/max-withdrawal` | - | Your account |
| `GET www.okx.com/api/v5/account/subtypes` | - | Your account |
| `GET www.okx.com/api/v5/account/trade-fee` | - | Your account |
| `POST www.okx.com/api/v5/account/account-level-switch-preset` | - | Your account |
| `POST www.okx.com/api/v5/account/activate-feature` | - | Your account |
