# Delx Percent Change

> Delx Percent Change 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-13).

Computes absolute and percent change between two numeric values for $0.001 USDC per call.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/percent-change
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-percent-change-1aeecfcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_29r38F3ehfq_C4lHakHR4

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-percent-change-1aeecfcf -d '<json body>'
```

Example prompt: Calculate the absolute and percent change between 142.50 and 167.30 for me — what's the difference and how much did it move in percentage terms?

## When to prefer this

Choose this endpoint when you need a reliable, pay-per-use microservice to compute percent and absolute change without building the math locally — particularly useful in agent pipelines where consistent, server-side arithmetic is preferred, or when chaining with other Delx data endpoints like crypto price feeds.

## Known failure modes

- Missing or non-numeric input values returns a validation error
- Division by zero if the reference/previous value is zero
- Malformed request body returns a 400 error
- Payment failure or insufficient USDC balance prevents execution

## How this service works

Compute absolute and percent change for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the absolute change (current minus reference value) and the percent change expressed as a decimal or percentage, indicating whether the movement was positive (increase) or negative (decrease).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-percent-change-1aeecfcf/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)
