Derivatives dashboard: funding rates, open interest, long/short ratios, whale positions, and liquidations via x402 micropayment.
What it does
The `/funding-rates` endpoint is part of Otto AI's x402 Agent Swarm, a suite of 30+ AI-powered crypto and DeFi endpoints accessible via x402 V2 micropayments. This specific endpoint provides a derivatives intelligence dashboard covering funding rates, open interest, long/short ratios, whale positions, and liquidation data. It accepts an optional `symbol` query parameter — omit it for a broad market overview, or pass a token symbol (e.g., BTC, ETH) for a detailed single-asset view. The endpoint costs $0.10 per call, paid in USDC on Base, Polygon, or Solana.
Payment follows the x402 V2 protocol: an initial GET returns a 402 with a `PAYMENT-REQUIRED` header containing base64-encoded payment options (EIP-3009 USDC, Permit2 ERC-20, or Solana USDC). The caller signs the payment and retries with a `PAYMENT-SIGNATURE` header. On success, the response includes a signed EIP-712 receipt in the `PAYMENT-RESPONSE` header as cryptographic proof of delivery. As a read-only data endpoint, it also supports Sign-In-With-X (SIWX): after one paid call, subsequent requests within one hour can use a wallet signature instead of paying again.
The response follows a standard envelope: `{"status": "success", "data": {...}}` where the `data` object contains the derivatives metrics. The endpoint is live and returns 402 when probed without payment. Otto AI also exposes these services via MPP at mpp.ottoai.services and supports on-chain reputation feedback via ERC-8004.
Capabilities
Use cases
- —Monitoring perpetual futures funding rates across exchanges to identify arbitrage opportunities
- —Tracking open interest and long/short ratios to gauge market sentiment before entering trades
- —Detecting whale position changes and large liquidation events for risk management
- —Building automated trading strategies that react to derivatives market conditions
- —Generating daily derivatives market summaries for research or newsletter content
Fit
Best for
- —Crypto trading bots needing real-time derivatives intelligence
- —DeFi agents that incorporate funding rate signals into strategy execution
- —Market research tools aggregating derivatives metrics across venues
Not for
- —Traditional equities or forex derivatives data
- —Historical backtesting with granular time-series data (endpoint appears to return current snapshots)
- —Users who need free or API-key-based access without crypto wallet payments
Quick start
# 1. GET the endpoint to receive the 402 payment challenge
curl -i https://x402.ottoai.services/funding-rates
# 2. With optional symbol filter:
curl -i 'https://x402.ottoai.services/funding-rates?symbol=BTC'
# Returns 402 with PAYMENT-REQUIRED header.
# Decode header, sign USDC payment, retry with PAYMENT-SIGNATURE header.Example
Response
{
"data": {
"description": "Derivatives intelligence: funding rates, open interest, long/short ratios, whale positions, and liquidations."
},
"status": "success"
}Endpoint
Quality
Full OpenAPI 3.1 schema is available with clear endpoint descriptions, parameters, and pricing. The endpoint is live (402 challenge confirmed). However, the response data schema is generic (just `type: object`) with no detailed field definitions, and no concrete example response is available, so the exact shape of the derivatives data must be inferred from the description.
Warnings
- —Response data schema is untyped — the `data` field is described only as a generic object with no documented properties
- —No concrete example response available; actual field names and structure are unknown
- —SIWX repeat-access behavior and exact session duration (stated as 1 hour) are not independently verified
Citations
- —The /funding-rates endpoint provides derivatives intelligence: funding rates, open interest, long/short ratios, whale positions, and liquidationshttps://x402.ottoai.services
- —The endpoint costs $0.10 per callhttps://x402.ottoai.services
- —Payment is accepted in USDC on Base, Polygon, and Solanahttps://x402.ottoai.services
- —Read-only endpoints support SIWX for 1-hour free repeat access after initial paymenthttps://x402.ottoai.services
- —Every call returns a signed EIP-712 receipt as verifiable proof of service deliveryhttps://x402.ottoai.services
- —The optional symbol query parameter provides a detailed view for a specific token; omitting it returns a market overviewhttps://x402.ottoai.services
- —Otto AI also offers MPP-based access at mpp.ottoai.serviceshttps://x402.ottoai.services
- —On-chain reputation via ERC-8004 is supportedhttps://x402.ottoai.services