自备 Key
实测提示词(okx)
“What is the funding rate on the Bitcoin perpetual swap?”
来自 okx 的实测返回
BTC-USDT-SWAP current funding rate on OKX: 0.00737% (0.0000737158293327), within [-0.375%, +0.375%].
上游供应商与按次价格(2)
使用说明
- • A funding period is eight hours on most exchanges but not on all, so two rates are comparable only per period, not per day.
- • One exchange gives the rate of the period that is under way and another the rate of the period that last settled, which are near each other and not the same.
更多加密货币接口
全部加密货币 API →获取加密货币 K 线历史
crypto.candles获取代币价格的历史 K 线数据(开盘、最高、最低、收盘、成交量)。
获取加密货币市值排行
crypto.markets按市值列出主流加密货币的价格、成交量与 24 小时涨跌幅。
获取永续合约持仓量
crypto.open.interest查询指定代币 USDT 本位永续合约的未平仓合约总量。
查询加密货币实时价格
crypto.price获取指定币种对目标法币或稳定币(如 BTC/USD)的最新成交价。
查询链上钱包持仓
crypto.wallet.balances列出指定链上钱包持有的主要代币资产与数量。
常见问题
如何在 Claude Code 或 Cursor 中调用 crypto.funding.rate?
接入远程 MCP 网关(https://api.duang.ai/mcp)或运行 Duang CLI,直接让智能体调用 crypto.funding.rate(获取永续合约资金费率),无需自行维护爬虫或逐家申请接口密钥。
获取永续合约资金费率的费用是多少?
crypto.funding.rate 当前参考价为 自备 Key。新账号首个团队赠 $1 免费额度,上游失败调用收费 $0,无需订阅月费套餐。
加密货币下的这项能力支持哪些上游数据商?
当前由 Binance、OKX 等 2 家数据商提供支持,支持余额直接扣费或绑定团队自有密钥。

