# Crypto Leverage & Funding Rate

> Crypto Leverage & Funding Rate is a paid API for AI agents from www.x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns perpetual-futures squeeze-risk signals for any OKX-listed crypto — funding rate, open interest, and long/short account ratio — each with recent history and a rising/falling/flat trend.

## Facts

- Endpoint: GET https://www.x402financialdata.com/crypto-leverage/:symbol
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-leverage-funding-rate-6dee77e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KSqwCA5YwRIXB5ID44n18

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-funding-rate-6dee77e5
```

Example prompt: What's the current squeeze risk on BTC perpetual futures right now — pull the funding rate, open interest, and long/short ratio with their recent trends.

## When to prefer this

Choose this endpoint when you need a fast, pre-packaged derivatives sentiment signal for a crypto perpetual — specifically the combination of funding rate, open interest, and long/short ratio with trend context in a single call. Prefer it over building your own OKX API integration when you want squeeze-risk assessment without stitching together multiple raw data feeds. It is the derivatives-market analogue of stock short interest data.

## Known failure modes

- Invalid or unsupported symbol returns an error — only OKX-listed perpetuals (BTC, ETH, SOL, etc.) are valid
- Network or upstream OKX data outage may return a 5xx error
- Malformed symbol path param (e.g. missing or empty) returns a 400-style validation error
- Payment not fulfilled returns 402 Payment Required

## How this service works

Crypto perpetual-futures leverage/squeeze-risk signal in one call: funding rate, open interest, and long/short account ratio, each with recent history and a rising/falling/flat trend -- how crowded and leveraged one side of the market has gotten, the derivatives analogue of stock short interest. Works for any OKX-listed perpetual (BTC, ETH, SOL, and more). From OKX. $0.01/call.

## Output

Returns funding rate (current value plus recent history and rising/falling/flat trend), open interest (current level plus history and trend), and long/short account ratio (current reading plus history and trend) for the requested OKX-listed perpetual contract, giving a composite picture of how crowded and leveraged one side of the market is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Coin ticker, e.g. BTC, ETH, SOL"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-leverage-funding-rate-6dee77e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.x402financialdata.com](https://www.zero.xyz/host/www.x402financialdata.com/llms.txt)
