# Basis Basis Points

> Basis Basis Points is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Computes futures basis in basis points (bps) from a spot price and a future price using local deterministic math.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/basis-bps
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basis-basis-points-9d6d4908
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NlmaHmTkU-rt-GaLWo0p6

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 basis-basis-points-9d6d4908 -d '<json body>'
```

Example prompt: What's the futures basis in basis points if spot is 100 and the future is trading at 100.5?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline calculation of futures basis in standard bps units — especially for desk reports or agent pipelines that require normalized bps output without relying on live market feeds, RPC calls, or external APIs. Prefer it over manual computation when you need consistent, auditable JSON output for a fixed $0.001 USDC cost.

## Known failure modes

- Missing or null spot/future fields returns a validation error
- Spot value of zero causes division-by-zero error
- Non-numeric inputs rejected with schema validation error
- Payment failure (insufficient USDC balance) blocks the call via x402

## How this service works

Basis in bps from future vs spot for desk reports. Call when expressing futures premium in standard bps units. Returns basis bps as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

A deterministic JSON object containing the computed basis expressed in basis points (bps), calculated as ((future - spot) / spot) × 10000, requiring no external data or market feeds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "spot": {
   "type": "integer",
   "description": "Input field: spot."
  },
  "future": {
   "type": "number",
   "description": "Input field: future."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "spot": 100,
  "future": 101.5,
  "schema": "delx/util-basis-bps/v1",
  "basis_bps": 150
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basis-basis-points-9d6d4908/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
