get_funding_rates
Fetch perpetual futures funding rates per exchange for a pair like BTC/USDT, with bundled averages or live data to compare holding costs.
Instructions
当用户询问资金费率、资金费、funding rate、当前持仓的资金成本、各交易所永续合约资金费对比时使用。Use when the user asks about perpetual futures funding rates across exchanges, or the current cost of holding a long/short. Returns per-exchange funding rate + settlement interval for a perpetual pair (default BTC/USDT). fundingMode=bundled (default) returns the offline long-run averages instantly; fundingMode=live fetches the real-time current rate from each venue independently via ccxt — venues that fail (timeout, geo-block, missing pair) fall back to the bundled average and are listed in failures, and every row is tagged with source/live timestamp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO 3166-1 alpha-2 国家代码;传入后按合规可用性过滤交易所 | |
| exchanges | No | 只查询指定交易所(如 ['binance','okx']);默认返回全部 9 家(合约比较不含 Coinbase) | |
| fundingMode | No | bundled=内置长期均值(默认,0.01%/8h,离线秒回);live=实时拉取当前资金费率(逐所容错,失败回退内置值) | |
| fundingPair | No | 永续合约对,默认 BTC/USDT;也支持 ETH/USDT、SOL-USDT、BTCUSD 等写法 |