# Crypto Futures Basis Curve

> Crypto Futures Basis Curve is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Returns the BTC or ETH futures term structure from Deribit, including each expiry's price, premium over spot index, annualized basis, and the perpetual's premium.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/crypto/futures-basis?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-futures-basis-curve-4de3ba3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VrzU3V4595yn6Un0DjTRg

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-futures-basis-curve-4de3ba3d
```

Example prompt: Can you pull the current BTC futures term structure from Deribit and show me the annualized basis at each expiry so I can evaluate cash-and-carry yields?

## When to prefer this

Use this endpoint when you need Deribit-specific BTC or ETH futures term structure data including annualized basis and perpetual premium. Prefer it over generic exchange APIs when evaluating cash-and-carry arbitrage yields, assessing contango/backwardation, or analyzing crypto derivatives market sentiment. Best suited for quantitative trading agents and crypto-focused financial analysis workflows.

## Known failure modes

- Invalid currency value (not BTC or ETH) returns an error
- Deribit API unavailable or under maintenance causes upstream failure
- Network timeout from hosted render.com server during peak load
- Missing currency parameter may return a default or error depending on implementation

## How this service works

Deribit BTC or ETH futures term structure: each expiry's price, premium over the index and annualized basis, plus the perpetual's premium. Use for cash-and-carry yields or sentiment.

## Output

A term structure table for BTC or ETH listing each Deribit futures expiry with its price, premium over the spot index in dollar and percentage terms, and annualized basis rate; plus the perpetual contract's current premium. Useful for evaluating carry trade yields and reading market sentiment.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "currency": {
       "type": "string",
       "description": "BTC or ETH"
      }
     }
    }
   },
   "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-futures-basis-curve-4de3ba3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
