Get perpetual futures funding rates across Binance, Bybit, and OKX.
You need funding rates to gauge leveraged market sentiment or cost of holding a perp position.
| name | type | required | description |
|---|---|---|---|
asset | string | no |
funding_rate_pct, annualized_rate_pct, sentiment (bullish/neutral/bearish) per exchange
{
"asset": "BTC",
"rates": [
{
"exchange": "binance",
"funding_rate_pct": 0.012,
"annualized_rate_pct": 13.14,
"sentiment": "bullish"
},
{
"exchange": "bybit",
"funding_rate_pct": 0.011,
"annualized_rate_pct": 12.04,
"sentiment": "bullish"
},
{
"exchange": "okx",
"funding_rate_pct": 0.009,
"annualized_rate_pct": 9.85,
"sentiment": "neutral"
}
],
"source": "binance/bybit/okx"
}
curl -X POST https://agentpay.tools/tools/funding_rates/call \
-H 'Content-Type: application/json' \
-d '{"parameters": {}, "agent_address": "<your wallet or any identifier>"}'
from agentpay import quickstart # pip install agentpay-x402
s = quickstart(max_spend=0.10) # hard budget cap; mints a wallet, no funding needed
r = s.call("funding_rates", {})
print(r.data) # + r.cost, r.tx, r.network — full receipt
npx -y @romudille/agentpay-mcp # keyless; exposes funding_rates to any MCP agent runtime