# Basis Annualize

> Basis Annualize 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).

Annualizes futures-spot basis percentage from raw premium, spot price, and days to delivery for carry trade analysis

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/basis-annualize
- 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-annualize-3830ace9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aGvd31EAOq5XuWzVvvV6I

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-annualize-3830ace9 -d '<json body>'
```

Example prompt: What's the annualized basis APR if the spot price is 65000, the futures are trading at 65800, and delivery is in 45 days?

## When to prefer this

Use this endpoint when you need a fast, deterministic, locally computed annualized basis figure for carry trade analysis without relying on live market feeds, RPC calls, or external APIs. Prefer it over manual formulas when automating carry screening across multiple contracts or tenors, and when a cheap ($0.001 USDC), stateless, advisory calculation suffices.

## Known failure modes

- Spot price is zero or negative — input validation error returned
- Days field is zero or negative — undefined annualization period
- Future price missing — cannot compute spread
- Non-numeric input types — schema validation failure
- Payment not included or insufficient — x402 payment required error

## How this service works

Annualize futures-spot basis percent. Call when carry trades need annualized basis from raw premium. Returns basis_apr 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

Returns a deterministic JSON object containing basis_apr — the annualized basis as a percentage — computed from the provided spot price, futures price, and days to delivery using local math only, with no external data dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "description": "Days to delivery or horizon"
  },
  "spot": {
   "type": "number",
   "description": "Underlying spot price (>0)"
  },
  "future": {
   "type": "number",
   "description": "Futures/mark price"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "basis": 0.01,
  "schema": "delx/util-basis-annualize/v1",
  "basis_apr": 0.1216666666666667
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basis-annualize-3830ace9/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)
