Cursor plugin that looks up, for a coin ticker, which networks Binance and OKX publish and the token contract address on each network when a public endpoint provides it. No login and no API keys.
get_coin_networks(symbol, exchange?)
symbol: ticker such asUSDTorPEPE.exchange: optionalbinanceorokx. Omit it to query both.
Each exchange entry includes:
| Field | Meaning |
|---|---|
network |
Exchange network code or name |
network_name |
Display name |
contract_address |
Token contract, or null when the public payload has none |
deposit_enabled |
Deposit open, or null when unpublished |
withdraw_enabled |
Withdrawal open, or null when unpublished |
withdraw_fee |
Withdrawal fee in the coin, when published |
withdraw_min |
Minimum withdrawal, when published |
Tested live with curl (no OK-ACCESS-* or Binance API-key headers).
GET https://www.binance.com/bapi/capital/v1/public/capital/getNetworkCoinAll
Unauthenticated website endpoint. Returns each coin's networkList, including network, name, contractAddress, depositEnable, withdrawEnable, withdrawFee, and withdrawMin. A query string such as ?coin=USDT is ignored; the body is still the full list (~2 MB). The plugin caches it in memory for five minutes.
The official wallet route GET https://api.binance.com/sapi/v1/capital/config/getall is signed user data, not a keyless source. From this environment it also returned HTTP 451 (restricted location). The older paths /bapi/capital/v1/public/capital/config/getall and /bapi/capital/v2/public/capital/config/getall return HTTP 404.
GET https://www.okx.com/v2/asset/withdraw/fee-amount-infos
Unauthenticated. Each coin has parallel arrays networkName, minFee, and minAmount. There is no contract address and no deposit/withdraw enable flag. Example: PEPE is listed only on Ethereum (ERC20); USDT is listed on many networks (Ethereum, Tron, Solana, and others).
OKX does not publish contract addresses on a keyless endpoint.
GET https://www.okx.com/api/v5/asset/currencies is the funding API that returns chain, canDep, canWd, minWd, minFee, and ctAddr (contract). Without OK-ACCESS-KEY it returns HTTP 401 Request header OK-ACCESS-KEY can not be empty. The same is true for GET /api/v5/asset/deposit-withdraw-status. This plugin does not call those routes and does not ask for keys.
Other public OKX routes that were checked and are not a substitute:
GET /api/v5/public/instrumentslists spot markets only. No networks or contracts.GET /api/v5/asset/exchange-listis a directory of other exchanges.GET /priapi/v1/dx/market/v2/searchis OKX Web3 token search. It returns contract addresses for similarly named tokens on many chains, including unrelated contracts. It is not the OKX exchange deposit-network list, so it is not used.GET /priapi/v3/growth/price/currency-detailsometimes embeds a single explorer URL (PEPE's Ethereum contract appears inblockBrowser) and leavestokenContractAddressempty. USDT's explorer URL has no contract. Not used as the network source.
From the plugin root:
python3 scripts/test_coins.pyThat queries USDT and PEPE on both exchanges and prints JSON. Python 3.11+ standard library only; nothing to install.
mcp.json starts python3 ${CURSOR_PLUGIN_ROOT}/src/server.py over stdio (Content-Length framed JSON-RPC). The server exposes get_coin_networks.
- Repository: https://github.com/manifoldor/crypto
- Requires Python 3.9+ (standard library only).
crypto 插件:输入币种,查询币安和欧易支持的充提网络及各链合约地址,只用公开接口,无需登录或 API Key。
注意:欧易的公开接口不提供合约地址,欧易结果里的 contract_address 为空;币安可返回完整信息。
MIT © 2026 Yishan Lin