# Delx OpenAPI Breaking Change Detector

> Delx OpenAPI Breaking Change Detector is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Compares two OpenAPI specifications and returns whether the new version introduces breaking changes, listing removed paths and methods.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/openapi-breaking-change?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-openapi-breaking-change-detector-2d694416
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4pbnxzg5R0PW7pFo5hcfe

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-openapi-breaking-change-detector-2d694416 -d '<json body>'
```

Example prompt: Compare these two OpenAPI specs and tell me if the new version introduces any breaking changes — specifically whether any paths or methods were removed: here's the old spec and here's the new one I'm about to deploy.

## When to prefer this

Use this endpoint when you need a quick, pay-per-use, no-signup check for OpenAPI breaking changes — specifically for detecting removed paths and methods. Prefer it over manual diffing tools or heavyweight API governance platforms when you need a lightweight, automatable, agent-friendly check with verifiable delivery and crypto micropayment billing.

## Known failure modes

- Malformed or invalid JSON in either spec document causing parse failure
- Missing required 'new_spec' or 'old_spec' fields returning an error
- Specs with no version metadata resulting in empty version fields
- Payment failure via x402 protocol blocking request execution
- Semantic schema compatibility issues flagged in scope but not fully analyzed beyond path/method removal

## 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 indicating whether the new spec introduces breaking changes (boolean), a human-readable scope description, a list of removed operations with their paths, a count of removed operations, and the old and new version strings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "new_spec": {
   "type": "object",
   "description": "Candidate OpenAPI JSON document."
  },
  "old_spec": {
   "type": "object",
   "description": "Previous OpenAPI JSON document."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "scope": "removed paths and methods; semantic schema compatibility requires a deeper review",
  "schema": "delx/openapi-breaking-change/v1",
  "breaking": true,
  "new_version": "",
  "old_version": "",
  "removed_count": 1,
  "removed_operations": [
   "/jobs"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-openapi-breaking-change-detector-2d694416/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)
