# Delx Return Pct

> Delx Return Pct is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Computes the percent return between a starting value and an ending value, returning deterministic JSON

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/return-pct
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-return-pct-10ebdd80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d94Q_ZGAOq0WK5rwOAaiO

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-return-pct-10ebdd80 -d '<json body>'
```

Example prompt: What's the percent return if I bought at 142.50 and sold at 178.25?

## When to prefer this

Choose this endpoint when you need a fast, stateless, deterministic percent return calculation on caller-supplied numeric values without requiring a live market data feed or external price source. Ideal for signal preprocessing pipelines, backtesting normalization, and any agentic workflow where the agent already holds the start and end values and just needs the arithmetic result in machine-readable JSON at very low cost.

## Known failure modes

- Missing start or end field returns a validation error
- Division by zero if start value is 0 (cannot compute percent change from zero base)
- Non-numeric input for start or end causes a type error
- Network or payment failure returns an HTTP 402 or connectivity error

## How this service works

Compute percent return between start and end values — call when computing percent return between two values. Use on caller-supplied ticks/returns when agents need signal prep without a licensed live market feed (ottoai-class demand, first-party transform). Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media gen…

## Output

A deterministic JSON object containing the computed percent return between the provided start and end values, expressed as a numeric percentage. The response is stateless and reproducible for identical inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end": {
   "type": "number",
   "description": "Ending value for percent return."
  },
  "start": {
   "type": "number",
   "description": "Starting value for percent return."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "end": 110,
  "start": 100,
  "schema": "delx/util-return-pct/v1",
  "return_percent": 10
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-return-pct-10ebdd80/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)
