$ man funding-rates
/funding-rates(1)
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarketCATEGORY
uncategorized
STATUS
● live
NAME
funding-rates — perp funding rates / binance usd-m futures funding / next-funding-time / 24h history / perp basis
SYNOPSIS
POST https://x402.org/v1/funding-rates
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Perp funding rates / Binance USD-M futures funding / next-funding-time / 24h history / perp basis. Current funding %, mark + index price, next funding timestamp, and last 24 funding intervals (default 24 × 1h-since-event) for any Binance USD-M futures symbol (BTCUSDT, ETHUSDT, SOLUSDT…). Free public Binance API — no auth.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| symbol | string | Binance futures symbol — uppercase, no slash. e.g. 'BTCUSDT', 'ETHUSDT'. | required |
| history_intervals | number | How many past funding events to include. Range [1, 48]. Default 24. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| symbol | string | Binance USD-M futures symbol queried (e.g. BTCUSDT, ETHUSDT, SOLUSDT). |
| mark_price | string | Current mark price used for funding and PnL calculations on the perp contract. |
| index_price | string | Spot index price the perp tracks, used as the funding-rate reference. |
| current_funding_rate_pct | string | Current funding rate as a percent (positive = longs pay shorts, negative = shorts pay longs). |
| next_funding_at | string | ISO timestamp when the next funding payment settles on this perp. |
| last_24h_avg_pct | string | Mean funding rate percent across the last 24 hourly funding intervals. |
| last_24h_max_abs_pct | string | Largest absolute funding rate percent seen in the last 24 funding intervals. |
| history | string | Array of the last 24 funding intervals with rate percent and settlement timestamp per entry. |
| source | string | Upstream data provider, here Binance USD-M futures public API. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/funding-rates \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the funding-rates tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- funding-ratesperp-fundingbinance-futuresperp-basismark-pricenext-funding-timederivativesusd-m-futures
- methods
- POST
- cluster
- edgemarket
- price
- $0.002 USDC per call
ADJACENT — other endpoints in edgemarket
| endpoint | description | price |
|---|---|---|
| erc20-balance | ERC-20 balance reader / balanceOf / on-chain token balance / wallet balance lookup / multi-chain ERC20 balance / read Base / read Ethereu… | $0.002 |
| erc20-metadata | ERC-20 metadata reader / token info / token symbol lookup / token decimals / total supply / multi-chain ERC20 reader / Base / Ethereum /… | $0.002 |
| safe-tx-decode | Gnosis Safe execTransaction decoder. | $0.003 |
| agent-card-resolve | Agent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch… | $0.005 |
| arbitrage-spread | Cross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator. | $0.005 |
| basename-resolve | Basename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution. | $0.005 |
| defi-yield-pools | DeFi yield pools / APY aggregator / yield-farming opportunities / DeFiLlama yields / cross-protocol APY ranking / stablecoin yields / LP… | $0.005 |
| ipfs-fetch | IPFS fetch / IPFS gateway / Web3 storage retrieval / NFT metadata fetcher / Filecoin gateway / decentralized content / pinned-content reader. | $0.005 |
SEE ALSO