# Crypto Perp Snapshot

> Crypto Perp Snapshot is a paid API for AI agents from x402.botsmith.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns a unified perpetual-futures snapshot for a coin — funding rates, open interest, mark price, and Fear & Greed index — aggregated across Binance, Bybit, and OKX in one normalized JSON response.

## Facts

- Endpoint: GET https://x402.botsmith.dev/derivatives/perp
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-perp-snapshot-8ade3fbe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xUswmoXuoz-3zcmTr80Tn

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-perp-snapshot-8ade3fbe
```

Example prompt: Pull me the full perp snapshot for SOL — I want the funding rate, open interest across Binance, Bybit, and OKX, whether longs or shorts are paying, the mark price, and the current Fear & Greed index.

## When to prefer this

Use this endpoint when a trading agent or analyst needs a single normalized view of perpetual futures market conditions across the three largest CEXs (Binance, Bybit, OKX) without building multi-exchange integrations. Ideal for funding-rate arbitrage monitoring, sentiment analysis via Fear & Greed, or quickly assessing whether the market is net-long or net-short on a given asset. Prefer this over building direct exchange API calls when cross-exchange normalization and a single JSON response are required.

## Known failure modes

- Invalid or unsupported symbol returns an error (e.g. a coin with no USDT perpetual market)
- Exchange API downtime may result in null values for individual venue fields
- Symbol pattern validation rejects inputs longer than 15 chars or with special characters
- Missing symbol query parameter returns a 400-level error
- Rate limits or payment processing failures return 402 or 429 errors

## How this service works

Crypto Perp Snapshot ($0.02/call): One-call perpetual-futures snapshot for a coin (BTC, ETH, SOL, ...): funding rate and open interest across Binance, Bybit and OKX, aggregate OI, average funding (annualized) with a longs-pay/shorts-pay read, mark price, next funding time and the Fear & Greed index. Keyless public exchange data; normalized so a trading agent gets one JSON instead of three exchange schemas.

## Output

A JSON object containing: per-exchange funding rate (raw and annualized %), open interest in base units, and mark price for Binance/Bybit/OKX; aggregate open interest across all venues; average funding rate and its annualized percentage; a funding skew label ('longs pay', 'shorts pay', or 'neutral'); the Binance anchor mark price; the next funding settlement time; and the current Crypto Fear & Greed index value with its classification (e.g. 'Greed', 'Fear').

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{1,15}$",
       "description": "Base coin symbol (USDT perp is assumed), e.g. BTC"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "markPrice",
      "nextFundingTime",
      "venues",
      "aggregateOpenInterestBase",
      "avgFundingRate",
      "avgFundingAnnualizedPct",
      "fundingSkew",
      "fearGreed"
     ],
     "properties": {
      "symbol": {
       "type": "string"
      },
      "venues": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "venue",
         "fundingRate",
         "fundingRateAnnualizedPct",
         "openInterestBase",
         "markPrice"
        ],
        "properties": {
         "venue": {
          "type": "string"
         },
         "markPrice": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ]
         },
         "fundingRate": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ],
          "description": "Current funding rate (per interval, e.g. 8h)"
         },
         "openInterestBase": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ],
          "description": "Open interest in base units"
         },
         "fundingRateAnnualizedPct": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ],
          "description": "Funding annualized to a percent"
         }
        },
        "additiona
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-perp-snapshot-8ade3fbe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.botsmith.dev](https://www.zero.xyz/host/x402.botsmith.dev/llms.txt)
