# Carry To Spot

> Carry To Spot 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).

Backs out an implied spot price from a futures/mark price and an annualized carry rate over a given number of days to delivery.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/carry-to-spot
- 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/carry-to-spot-a58afb7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KmcSAoEP16TyEZA2rOaWu

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 carry-to-spot-a58afb7f -d '<json body>'
```

Example prompt: Given a futures price of 67,500, an annualized carry rate of 5.2%, and 45 days to delivery, what implied spot price does that back out to?

## When to prefer this

Use this endpoint when you need a fast, deterministic, fee-less-math derivation of implied spot from a futures price and carry assumption — no API keys, no live data feeds, and no external dependencies. Prefer this over live market data endpoints when you already have the futures price and carry rate and simply need the arithmetic inverse (futures → spot). Ideal for risk models, basis trade sanity checks, and offline valuation workflows that require auditable, reproducible results.

## Known failure modes

- Missing required fields (future, carry_apr, or days) returns a validation error
- Negative days value may produce mathematically nonsensical output
- Extreme carry rates (e.g. >1000%) may produce unrealistic spot values without warning
- Payment failure over x402/Base results in a 402 response before computation occurs

## How this service works

Implied spot from future and annualized carry over days. Call when backing out fair spot from futures + carry assumption. Returns implied_spot 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 `implied_spot`, the spot price backed out from the futures price using the carry formula over the specified number of days. No external data sources or live feeds are consulted — the result is pure local arithmetic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "description": "Days to delivery or horizon"
  },
  "future": {
   "type": "number",
   "description": "Futures/mark price"
  },
  "carry_apr": {
   "type": "number",
   "description": "Annualized carry rate as decimal"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-carry-to-spot/v1",
  "implied_spot": 100.5866302864939
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/carry-to-spot-a58afb7f/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)
