$ man funding-rates
/funding-rates
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarketCATEGORY
uncategorized
STATUS
● live
NAME
funding-rates — returns perp funding rates for any binance usd-m futures symbol (btcusdt, ethusdt, solusdt...): current funding %, mark + index price, ne…
SYNOPSIS
POST https://x402.agentutility.ai/funding-rates
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Returns perp funding rates for any Binance USD-M futures symbol (BTCUSDT, ETHUSDT, SOLUSDT...): current funding %, mark + index price, next funding timestamp, and the last 24 funding intervals (default 24 x 1h-since-event). Free public Binance API, no auth. Use it as a next-funding-time lookup, 24h funding history, or perp basis feed.
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.agentutility.ai/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 the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the funding-rates tool from your MCP-aware agent.
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.005 USDC per call
ADJACENT — other endpoints in edgemarket
| endpoint | description | price |
|---|---|---|
| agent-card-resolve | Resolves an ERC-8004 agentId to its on-chain owner, agentURI, and agent card JSON. | $0.005 |
| arbitrage-spread | Finds the cross-exchange arbitrage spread for any CoinGecko-listed coin. | $0.005 |
| basename-resolve | Resolves Coinbase Basenames (.base.eth) to Ethereum addresses and back, reading the Base mainnet L2 Resolver on-chain (no gas, no wallet). | $0.005 |
| cid-fetch | Fetches the content behind an IPFS CID and optional path through public gateways, returning text, JSON, or base64 with a 5 MB cap. | $0.005 |
| current-balance | Reads a wallet's current ERC-20 token balance with a read-only balanceOf call on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, or Ava… | $0.005 |
| defi-yield-pools | Filters and ranks thousands of DeFi yield-bearing pools by APY across every chain DeFiLlama tracks. | $0.005 |
| erc20-balance | Reads an ERC-20 token balance on-chain across any supported EVM chain, including Base, Ethereum, Arbitrum, Optimism, and Polygon. | $0.005 |
| erc20-metadata | Reads ERC-20 token metadata: name(), symbol(), decimals(), and totalSupply() in parallel via public RPC on Base, Ethereum, Arbitrum, Opti… | $0.005 |
SEE ALSO