# API Change Check

> API Change Check is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Compares two OpenAPI specifications (before and after) and returns a list of breaking or notable changes between them

## Facts

- Endpoint: POST https://api.firstmention.uk/s/api-change-check/compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-change-check-d3ad2f47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-HWx_AgMhhG-eyg862PVm

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 api-change-check-d3ad2f47 -d '<json body>'
```

Example prompt: Can you compare these two OpenAPI specs and tell me what changed — specifically if any operations were removed or added between v1.0 and v1.1? Here's the before spec and the after spec.

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call diff of two OpenAPI specifications to detect removed or changed operations before deploying an API update. It is ideal for CI/CD pipelines, pre-release audits, or agent workflows that need lightweight breaking-change detection without standing up a local diff tool. It is not a full compatibility or security audit, so prefer it for quick surface checks rather than deep schema validation.

## Known failure modes

- Malformed or missing 'before'/'after' OpenAPI objects return validation errors
- Deeply nested or non-standard OpenAPI extensions may not be detected
- Only surface-level path and operation checks are performed — semantic or schema-level changes are not caught
- Payment failure (x402) blocks the call if USDC balance is insufficient
- Very large specs may hit payload or processing limits

## How this service works

Surface-change report between two OpenAPI 3 specs: which paths/methods/parameters/response codes were added or removed. Informational only, not a full compatibility audit.

## Output

Returns a JSON object containing an array of findings (each with a code like 'operation_removed', the affected path, HTTP method, and detail message), a finding_count integer, the number of operations_checked, a check_version string, and a limitations array noting the surface-level nature of the audit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "description": "OpenAPI 3 JSON after the change"
  },
  "before": {
   "type": "object",
   "description": "OpenAPI 3 JSON before the change"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "added_paths": [
   "/a POST"
  ],
  "limitations": [
   "Surface checks only; not a complete compatibility or security audit."
  ],
  "removed_paths": [],
  "added_responses": [
   "/a POST 201"
  ],
  "removed_responses": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-change-check-d3ad2f47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
