REST · WebSocket · Webhooks · v5

Every public trader, one API

Copy-trading leads and leaderboard traders from 12 exchanges and blockchains: rankings, open positions, closed positions, orders and transfers. One JSON format for all of them, and a stream that tells you when they trade.

16 sources · 12 exchangesStream and webhooksFree tier 10,000 req/mo
GET /v5/{source}/openPositions15 sources
GET /v5/binance-smart-money/openPositions
GET /v5/binance-copy-trading/openPositions
GET /v5/hyperliquid/openPositions
GET /v5/hyperliquid-vaults/openPositions
GET /v5/okx-copy-trading/openPositions
GET /v5/bybit-copy-trading/openPositions
GET /v5/bybit-leaderboard/openPositions
GET /v5/bitget-copy-trading/openPositions
… and every other source
{
"data": {
"positions": [
{
"symbol": "XRPUSDT",
"side": "LONG",
"size": 77283,
"entryPrice": 1.3111813374222014,
"markPrice": 1.2705,
"leverage": 15,
"marginMode": "ISOLATED",
"unrealizedPnl": -3143.9757999999983,
"pnlCurrency": "USDT",
"positionId": "4012165130171781120",
"margin": 6755.468486666667,
"openedAt": 1792074238682,
"roi": -0.4653971528703435,
"sourceDetails": {}
}
],
"hidden": false,
"hiddenPositions": 0
}
}
The same fields from every exchangeCompare two
ExchangesBinanceHyperliquidOKXBybitBitgetGateBingXMEXCKuCoinHTXBloFindYdX
16 sources

Every source, one format

Pick a source to see its routes and real responses. Code you write for one works on the others.


One format

Two exchanges, one shape

The same route on OKX and on Hyperliquid answers with the same fields. Rates are fractions, sizes are in the base asset, and what only one exchange sends sits apart in sourceDetails.

GET /v5/okx-copy-trading/openPositions
{
"data": {
"positions": [
{
"symbol": "XRPUSDT",
"side": "LONG",
"size": 77283,
"entryPrice": 1.3111813374222014,
"markPrice": 1.2705,
"leverage": 15,
"marginMode": "ISOLATED",
"unrealizedPnl": -3143.9757999999983,
"pnlCurrency": "USDT",
"positionId": "4012165130171781120",
"margin": 6755.468486666667,
"openedAt": 1792074238682,
"roi": -0.4653971528703435,
"sourceDetails": {}
}
],
"hidden": false,
"hiddenPositions": 0
}
}
GET /v5/hyperliquid/openPositions
{
"data": {
"accountValue": 148717903.968475,
"positions": [
{
"symbol": "BTCUSD",
"side": "SHORT",
"size": 2758.97017,
"entryPrice": 76204.7,
"markPrice": 81098.6,
"leverage": 5,
"marginMode": "CROSS",
"unrealizedPnl": -13502096.016888,
"pnlCurrency": "USDC",
"liquidationPrice": 153162.6348896415,
"margin": 44749723.645752,
"roi": -0.3211015306,
"sourceDetails": {}
}
]
}
}

The routes every source shares

Each source offers the ones its exchange publishes.

traders14 of 16 sources
The ranking, by the exchange's own orders and periods
traderSearch13 of 16 sources
Traders by name
traderProfile15 of 16 sources
Who the trader is, with copy-trading figures
performance12 of 16 sources
PnL, ROI, win rate and drawdown over a period
traderChart15 of 16 sources
PnL or ROI over time
openPositions15 of 16 sources
What the trader holds now
positionHistory14 of 16 sources
Closed positions
orderHistory9 of 16 sources
Orders and fills
transferHistory8 of 16 sources
Money in and out of the account

Every route, parameter and response is in the reference. API reference


Real time

Get told when a trader trades

Subscribe once and the API polls for you. Hold a WebSocket open, or let signed webhooks POST each change to your server. Both count one request per check, however many of your clients follow the same trader.

openPositionsOpen positions, whenever they change
positionEventsOpened, increased, decreased, closed
orderHistoryNew and updated orders
positionHistoryNewly closed positions
webhooksThe same changes, as signed POSTs to your URL
Stream and webhook reference
Subscribe
const ws = new WebSocket("wss://api.kopyon.com/v5/stream?apiKey=" + KEY);

ws.onopen = () => ws.send(JSON.stringify({
  type: "subscribe",
  source: "okx-copy-trading",
  topic: "positionEvents",
  traderId: TRADER_ID,
}));

ws.onmessage = (m) => console.log(JSON.parse(m.data));
You receive
{
  "type": "events",
  "source": "okx-copy-trading",
  "topic": "positionEvents",
  "traderId": "TRADER_ID",
  "data": {
    "events": [
      {
        "event": "opened",
        "symbol": "SOLUSDT",
        "side": "LONG",
        "size": 620,
        "position": {
          "symbol": "SOLUSDT",
          "side": "LONG",
          "size": 620,
          "entryPrice": 142.31,
          "markPrice": 142.4,
          "leverage": 20,
          "unrealizedPnl": 55.8
        }
      }
    ]
  }
}


Pricing

Priced on throughput, not on features

Every plan reaches every source, and paid plans add the stream and webhooks. The rest is how fast you can call, how many calls you get, and what you may do with the data.

Billed directly, with no marketplace in between
Free
Build the whole integration before you pay anything.
$0/mo
No card required
Start free
  • 120 requests / minute, per endpoint
  • 10,000 requests / month
  • Every source, REST only
  • Evaluation use
  • Community support
Most popular
Developer
A single bot or dashboard, running in production.
$49/mo
Billed monthly
Get started
  • 600 requests / minute, per endpoint
  • 5,000,000 requests / month
  • Every source, with stream and webhooks
  • One production system, no resale
  • Email support
Trading Desk
Funds and prop firms running this across a team.
$299/mo
Billed monthly
Get started
  • 1,800 requests / minute, per endpoint
  • 50,000,000 requests / month
  • Every source, with stream and webhooks
  • Commercial use across your firm
  • Telegram support, same day
Dedicated

Capacity, uptime and redistribution rights are all negotiated. It's for firms reselling the data, or running it as core infrastructure.

From $1,500 /mo
scoped to a custom contract
Talk to us
No card on file, nothing auto-renewsMonthly quota runs 30 days from your first callUpgrade or downgrade between months

FAQ

Before you write the first request

How fresh is the data?

As fresh as the exchange publishes it. Each request is read from the source when you make it; identical requests in the same second share one read. Exchanges refresh on their own schedule, from about a second to several minutes, and each route's reference says how often where we know it.

Can I try it before I pay?

Yes. A free key gets 10,000 requests a month on every source and never asks for a card, and the console has a playground that runs any route or stream with your key. Without a key, each IP gets 10 calls a day per route.

Is the format really the same on every exchange?

Yes. Every source answers the same routes with the same field names: traders, traderProfile, openPositions, positionHistory and so on. Rates are fractions, sizes are in the base asset, and rankings page with page while histories page with a cursor. What only one exchange sends goes in sourceDetails.

How do the stream and webhooks work?

You subscribe to a topic for one trader, and the API polls the exchange for you and sends only what changed: a WebSocket message, or a signed POST to your URL. Each poll counts one request, shared by all your connections and webhooks on the same trader. They come with every paid plan.

What if a trader hides their positions?

The answer says so with hidden: true and an empty list, rather than an empty list you would read as closed, and the stream sends a hidden message instead of closing everything.

Is this an official exchange API?

No. Kopyon reads what traders share publicly on each exchange or blockchain. A few sources, such as OKX, Hyperliquid and dYdX, publish it through documented APIs; the rest through their websites. An exchange can change what it publishes, and the changelog in the reference says when that affects a route.

Can I get a custom plan?

Yes. Dedicated plans negotiate limits, capacity and the right to redistribute the data. Tell us the volume you need on Telegram at @nunnito, or by email.

Ship against real trader data.

The free tier is 10,000 requests a month. That is enough to build a whole integration and test it against live data before you pay anything.

Usually answered within a day · [email protected]