Discover/web3.okx.com API
live

web3.okx.com APIweb3.okx.com

Access OKX Web3 copy trading leaderboard data: top wallet addresses, PnL, ROI, win rate, volume, and transaction counts across Solana, Ethereum, BNB, Base, and X Layer.

Endpoints
2
Updated
3mo ago
Try it
Blockchain network. Accepted values: solana, ethereum, bnb, base, xlayer.
Time period for performance metrics. Accepted values: 24H, 7D, 30D, 90D.
Maximum number of traders to return.
api.parse.bot/scraper/3b24c4ed-6fe2-4441-9da9-00277d9222f9/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3b24c4ed-6fe2-4441-9da9-00277d9222f9/get_leaderboard?chain=solana&period=7D&max_results=5' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Get copy trading leaderboard for a specific blockchain network. Returns paginated trader data ranked by PnL, including wallet addresses, performance metrics, labels, and top tokens traded.

Input
ParamTypeDescription
chainstringBlockchain network. Accepted values: solana, ethereum, bnb, base, xlayer.
periodstringTime period for performance metrics. Accepted values: 24H, 7D, 30D, 90D.
max_resultsintegerMaximum number of traders to return.
Response
{
  "type": "object",
  "fields": {
    "chain": "string - blockchain network queried",
    "count": "integer - number of traders returned",
    "period": "string - time period used",
    "traders": "array of trader objects with wallet_address, wallet_name, wallet_page_url, chain, pnl, roi, win_rate, total_transactions, volume, labels, last_update_time, and top_tokens"
  },
  "sample": {
    "data": {
      "chain": "solana",
      "count": 2,
      "period": "7D",
      "traders": [
        {
          "pnl": 95340.09,
          "roi": 106.16,
          "chain": "solana",
          "labels": [
            "kol"
          ],
          "volume": 265518.46,
          "win_rate": 41.67,
          "top_tokens": [
            {
              "pnl": 69755.86,
              "roi": 1281.49,
              "symbol": "HANTA",
              "address": "2tXpgu2DLTsPUf9zFmuZmA4xrYxXKBTpVq9wAM7hzs9y"
            }
          ],
          "wallet_name": "RC",
          "wallet_address": "DxM1hfY8FQ8dNGrucuJzhJcF8KRbjk8WBwrgKvQ9spPv",
          "wallet_page_url": "https://web3.okx.com/address/DxM1hfY8FQ8dNGrucuJzhJcF8KRbjk8WBwrgKvQ9spPv",
          "last_update_time": 1778734139000,
          "total_transactions": 213
        }
      ]
    },
    "status": "success"
  }
}

About the web3.okx.com API

The OKX Web3 API exposes 2 endpoints for retrieving copy trading leaderboard data across five blockchain networks. get_leaderboard returns paginated trader rankings for a single chain — including wallet addresses, PnL, ROI, win rate, total transactions, and volume — while get_all_chains aggregates the same metrics across Solana, Ethereum, BNB, Base, and X Layer in a single response.

Endpoints and Parameters

The get_leaderboard endpoint accepts a chain parameter (solana, ethereum, bnb, base, xlayer), a period parameter (24H, 7D, 30D, 90D), and a max_results integer. It returns a traders array ranked by PnL for the specified chain and time window, with each trader object carrying wallet_address, wallet_name, wallet_page_url, chain, pnl, roi, win_rate, total_transactions, and volume. The response also surfaces count and the period used, making it straightforward to track how many results were returned and under what time horizon.

Multi-Chain Aggregation

The get_all_chains endpoint fetches leaderboard data from all five supported networks in one call. Results are returned under a by_chain object keyed by network name, each value being an array of trader objects with the same fields as get_leaderboard. A total_count field gives the aggregate trader count across all chains. The period and max_results parameters work the same way — they apply uniformly to every chain in the response.

Data Coverage and Scope

Trader objects include a wallet_page_url field that links directly to the trader's profile on the OKX Web3 copy trading interface. Performance metrics reflect the chosen time period rather than all-time figures, so comparing 24H vs. 90D windows for the same wallet shows how recent activity diverges from longer-term trends. Win rate and total transaction counts are useful for distinguishing high-frequency traders from low-frequency high-conviction positions.

Common use cases
  • Identify top-performing wallets on Solana over 7-day and 30-day periods for copy trading strategy research
  • Compare ROI and win rate across chains to spot which networks have the most consistent smart-money traders
  • Build alerting systems that flag when specific wallet addresses appear or rise in the PnL rankings
  • Aggregate multi-chain leaderboard data with get_all_chains to benchmark trader performance across Ethereum, BNB, Base, and X Layer simultaneously
  • Track volume and total transaction counts to differentiate high-frequency traders from low-frequency ones
  • Feed leaderboard wallet addresses into on-chain analytics pipelines for deeper portfolio inspection
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OKX Web3 have an official developer API for copy trading data?+
OKX provides a public REST API at https://www.okx.com/docs-v5/en/ covering spot trading, derivatives, and account management, but it does not include a documented endpoint for the Web3 copy trading leaderboard rankings exposed here.
What does `get_leaderboard` return, and how do I narrow results to a specific time window?+
It returns a traders array ranked by PnL for the chain you specify. Use the period parameter to set the time window: 24H, 7D, 30D, or 90D. Each trader object includes pnl, roi, win_rate, total_transactions, volume, wallet_address, and a wallet_page_url. Use max_results to cap how many traders are returned.
Are individual trade-level details — entry price, exit price, or specific token positions — available?+
Not currently. The API returns aggregate performance metrics per wallet (PnL, ROI, win rate, volume, transaction count) for the selected period. It does not break down individual trades or open positions. You can fork this API on Parse and revise it to add an endpoint targeting per-trade or position-level data.
How fresh is the leaderboard data?+
The leaderboard reflects rankings as they appear on the OKX Web3 copy trading interface at the time of the request. There is no historical snapshot or timestamp field in the response, so the data represents a point-in-time read. For time-series analysis, you would need to call the endpoint repeatedly and store results yourself.
Does the API cover chains beyond the five listed?+
The supported chains are solana, ethereum, bnb, base, and xlayer — these match what the OKX Web3 copy trading leaderboard currently exposes. Networks like Arbitrum or Polygon are not included. You can fork this API on Parse and revise it to add coverage if additional chains become available on the leaderboard.
Page content last updated . Spec covers 2 endpoints from web3.okx.com.
Related APIs in Crypto Web3See all →
opensea.io API
Search NFT collections and discover detailed stats, browse individual items, and track collection activity all in one place. Get real-time insights into collection performance and find the NFTs you're looking for on OpenSea.
ens.vision API
Search and explore ENS domains across the marketplace, discover owner portfolios and activity feeds, and resolve names to addresses with complete text records. Get domain details, browse categories, view offers and recommendations, and track all marketplace listings in one place.
nseindia.com API
Track live NSE stock prices, monitor indices, analyze option chains, and access corporate announcements with real-time market data from India's National Stock Exchange. View equity quotes with full order books, identify top gainers/losers, analyze 52-week highs/lows, and explore historical price trends all in structured JSON format.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
studio.glassnode.com API
Access comprehensive on-chain and market analytics for cryptocurrencies, including asset fundamentals, supply dynamics, futures data, and profit/loss metrics. Search and analyze assets with historical chart data and market overview information to track crypto performance and trends.
crypto-fundraising.info API
Track cryptocurrency fundraising activity by searching projects and investors, viewing deal details, and staying updated with the latest crypto funding news and top active venture funds. Monitor major fundraising rounds, explore investor portfolios, and research emerging crypto projects all in one place.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.