# Financial Data x402 – Crypto Leverage Data

> Financial Data x402 – Crypto Leverage Data is a paid API for AI agents from x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-07).

Returns real-time leverage metrics for a crypto symbol including funding rate, open interest, and long/short account ratio from derivatives exchanges.

## Facts

- Endpoint: GET https://x402financialdata.com/crypto-leverage/%7Bsymbol%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-07
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-data-x402-crypto-leverage-data-4d31c790
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IsxMD8ygufN2-YaIgLYXW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability financial-data-x402-crypto-leverage-data-4d31c790
```

Example prompt: What are the current leverage metrics for BTC — funding rate, open interest, and long/short ratio from the perpetual swap market?

## When to prefer this

Choose this endpoint when you need real-time crypto derivatives leverage data — specifically funding rates, open interest, and long/short ratios — without managing API keys or subscriptions. Ideal for agents that need to pay per call using USDC on Base or Solana via the x402 protocol, avoiding upfront subscription costs. Best suited for BTC, ETH, and other major tokens tradeable as perpetual swaps on OKX.

## Known failure modes

- Unsupported symbol returns 404 or empty data
- Payment failure via x402 protocol returns HTTP 402 with payment requirements
- Exchange data temporarily unavailable may return stale or error response
- Malformed symbol path parameter causes 400 or unexpected response
- Rate or network issues may cause timeout on real-time data fetch

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

A JSON object containing the symbol, exchange, instrument name, funding rate details (current rate as percentage and decimal, trend, last and next settlement times, last settled rate), open interest (USD value, coin amount, contract count, trend, as-of timestamp), and long/short account ratio (current ratio, trend, and a plain-English interpretation of market sentiment).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-07-30T03:43:22Z",
  "symbol": "BTC",
  "exchange": "OKX",
  "instrument": "BTC-USDT-SWAP",
  "funding_rate": {
   "trend": "rising",
   "current_rate_pct": 0.009209,
   "current_rate_decimal": 0.0000920901255002,
   "last_settlement_time": "2026-07-30T00:00:00Z",
   "next_settlement_time": "2026-07-30T08:00:00Z",
   "last_settled_rate_pct": 0.004043
  },
  "open_interest": {
   "usd": 1926781496.87,
   "as_of": "2026-07-30T03:43:23Z",
   "trend": "falling",
   "contracts": 3003711.02,
   "trend_note": "Trend is aggregated across ALL of BTC's OKX contract types/margin modes -- use for direction only.",
   "coin_amount": 30037.1102
  },
  "long_short_account_ratio": {
   "trend": "falling",
   "current_ratio": 1.586,
   "interpretation": "more accounts net-long than net-short (bullish-crowded)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-crypto-leverage-data-4d31c790/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
