# Delx Commerce — Basis Points Calculator

> Delx Commerce — Basis Points Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the basis points (bps) spread between a spot price and a futures price for a financial instrument

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/basis-bps?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-basis-points-calculator-f76d7edd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JZMe3e6HqMkECPpwN6YAA

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 delx-commerce-basis-points-calculator-f76d7edd -d '<json body>'
```

Example prompt: What's the basis in basis points if the spot price is 100 and the futures price is 101.5?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call computation of futures basis in basis points without setting up an account or managing API keys. It is ideal for AI agents in trading, DeFi, or analytics workflows that need on-demand, verifiable basis calculations paid in USDC via the x402 protocol on Base or Solana.

## Known failure modes

- Missing or non-numeric spot or future fields returns a validation error
- Division-by-zero if spot is 0
- Negative basis_bps returned when futures trade at a discount to spot (backwardation), which is expected but may surprise callers
- Network or payment failure over x402 protocol results in no response

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the echoed spot and future prices along with the computed basis in basis points (e.g. {spot: 100, future: 101.5, basis_bps: 150}), conforming to the delx/util-basis-bps/v1 schema.

## 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/delx-commerce-basis-points-calculator-f76d7edd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
