OKX Copy Trading lead traders: rankings, profiles, performance, open positions, closed positions and executed orders.
Base URL https://api.kopyon.com/v5/okx-copy-trading/ · send your key in the X-API-KEY header · trader id: The code at the end of a lead trader's OKX URL.
{ "data": { "traderId": "762940277354284613", "name": "JohnBread49", "avatarUrl": "https://static.coinall.ltd/cdn/okex/users/headimages/20261017/3dbbe6b78a4f4b9699bbe6c1a7cbad23", "bio": "你好,听说过麦门吗?\n这里是桂系金拱門哦~\nBa la ba ba ba~欢迎光临麦当当,请自助点单哦~\n\n十三年 A 股交易经验,具备较丰富盘感与策略体系。\n\n不建议市价复制仓位哦\n仓位结构上,部分多空双开,部分稳健持仓。\n\n跟单若因滑点未成交,不必纠结;我不会一次打满,错过即错过。\n\n风险敞口合理控制,追求账户长期稳健。", "aum": 168533.51814838842, "copiers": 50, "maxCopiers": 50, "totalCopiers": 136, "profitShare": 0.06, "sourceDetails": { "translatedBio": "Hello, have you heard of Mai Men?\nThis is the Gui faction's Golden Arches~\nBa la ba ba ba~ Welcome to McDonDon, please order by yourself~\n\nThirteen years of A-share trading experience, with relatively rich market intuition and strategy system.\n\nMarket price copying of positions is not recommended.\nIn terms of position structure, some are long and short dual positions, some are stable holdings.\n\nIf an order is not executed due to slippage when following, don't worry; I won't fill the order all at once, if missed, then missed.\n\nRisk exposure is reasonably controlled, aiming for long-term stable account growth.", "level": "Lvl 0", "followers": 43, "country": "China", "currency": "USDT" } }}
Performance
GET/v5/okx-copy-trading/performance
Win rate, profitable and losing days, what was invested and what copiers made over a period.
The trader's open positions, up to 100. OKX hides the instrument, prices and size of some; those are only counted.
Query parameters
Name
Type
Description
traderIdrequired
string
The lead trader's unique code, from traders
Response fields, in data
Field
Type
Description
positions[]always
array
positions[].symbolalways
string
positions[].sidealways
LONG | SHORT
positions[].size
number
Position size, always positive; side gives the direction
positions[].entryPricealways
number
positions[].markPrice
number
The exchange's mark price
positions[].leverage
number
positions[].marginMode
ISOLATED | CROSS
positions[].unrealizedPnl
number
In pnlCurrency
positions[].pnlCurrency
string
positions[].liquidationPrice
number
positions[].margin
number
Margin the position uses, in pnlCurrency
positions[].roi
number
unrealizedPnl over margin, as a fraction. Where the exchange sends its own (KuCoin; BingX, over the opening margin), it is passed on and can differ from that ratio
positions[].positionId
string
positions[].openedAt
number
hiddenalways
boolean
true when OKX hides some or all of them
hiddenPositions
number
How many OKX hides; a trader can hide some and show others. Absent when the trader hides all
Executed perpetual orders, newest first, as OKX's profile lists them under Latest records. An unknown trader answers 404; one who hides their data has none to show (hidden).
Query parameters
Name
Type
Description
traderIdrequired
string
The lead trader's unique code, from traders
cursor
string
The nextCursor of the previous answer; leave it out for the first page
rows
intdefault 20
Rows per page1 to 100
Response fields, in data
Field
Type
Description
orders[]always
array
orders[].symbolalways
string
orders[].sidealways
string
orders[].positionSide
string
BOTH in one-way mode; LONG or SHORT in hedge mode
orders[].price
number
orders[].quantity
number
orders[].quoteQuantity
number
orders[].createdAt
number
When the order was placed, in Unix milliseconds
orders[].updatedAtalways
number
Last change, in Unix milliseconds
orders[].orderType
string
For example MARKET or LIMIT
orders[].orderId
string
orders[].leverage
number
hiddenalways
boolean
true when the trader hides their orders from non-copiers
nextCursor
string
Send it back as cursor, with the same query, to read the next page; absent on the last page