# Crypto Leverage Metrics by Symbol

> Crypto Leverage Metrics by Symbol is a paid API for AI agents from x402-stock-indicators.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns real-time leverage market data for a crypto symbol including funding rate, open interest, and long/short account ratio from derivatives markets

## Facts

- Endpoint: GET https://x402-stock-indicators.vercel.app/crypto-leverage/%7Bsymbol%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-leverage-metrics-by-symbol-d0fe58e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FNlxv2b3G-UH-zEg9AQSs

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 crypto-leverage-metrics-by-symbol-d0fe58e9
```

Example prompt: What are the current funding rate, open interest, and long/short account ratio for BTC perpetual swaps right now — is the market leaning bullish or bearish?

## When to prefer this

Choose this endpoint when you need real-time crypto derivatives sentiment data — specifically funding rates, open interest, and long/short positioning — paid per-call with no API key or subscription. Ideal for trading agents, market monitoring workflows, or quant strategies that need on-demand leverage metrics without committing to a data vendor. Prefer over subscription-based data APIs when usage is sporadic or cost-per-call economics are favorable.

## Known failure modes

- Symbol not supported — returns error if the symbol has no derivatives data on OKX
- Payment failure — x402 micropayment of $0.01 USDC must succeed before data is returned; insufficient balance causes 402 rejection
- Stale or unavailable data — open interest trend may lag or be unavailable for low-volume symbols
- Invalid symbol format — passing a malformed ticker may return a 400 or empty response

## 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 and exchange/instrument name, current funding rate (as percent and decimal), funding rate trend, last and next settlement times, previously settled rate, open interest in USD and coin amount with trend, and the long/short account ratio with a plain-English interpretation of market positioning bias.

## 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/crypto-leverage-metrics-by-symbol-d0fe58e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-stock-indicators.vercel.app](https://www.zero.xyz/host/x402-stock-indicators.vercel.app/llms.txt)
