Deterministic OpenAPI change detection

API contract intelligence that agents can buy.

Detect breaking API changes before they break your integration. Submit public OpenAPI or Swagger URLs, pay in USDC through x402, and receive structured JSON plus a concise Markdown report—no account or API key.

Two focused products

$0.25 USDC

Direct API comparison

POST /v1/compare

Compare two public OpenAPI/Swagger specifications immediately. Useful on the first purchase: it is stateless, deterministic, and does not read or advance shared history.

  • Breaking-change classification
  • Machine-readable JSON and Markdown
  • No account or API key
Purchase instructions →

$0.10 USDC

API drift check

POST /v1/check

Compare one public specification against its previous successfully paid snapshot. The first paid check establishes the baseline; subsequent checks identify drift.

  • Built for recurring monitoring, CI, and agents
  • Snapshot advances only after successful settlement
  • Changed and unchanged reports
Purchase instructions →

Real committed fixture result

Four breaking changes, clearly classified

The before and after fixtures exercise the production semantic diff engine. This example is generated from fixtures/comparison-before.json and fixtures/comparison-after.json.

Before
Original contract
After
Changed contract
4
Breaking
0
Other findings
GET /legacy — Endpoint removed
POST /pets · body.email — Required request field added
POST /pets · body.name — Type changed from string to integer
POST /pets · response.200.body.name — Response field removed
View structured JSON result
{
  "beforeUrl": "https://demo.revenue-agent.test/openapi-before.json",
  "afterUrl": "https://demo.revenue-agent.test/openapi-after.json",
  "beforeHash": "02298c26b01bd1796fcf5210c87a38dba9b04a02a273a87a733dae39b68a7b0e",
  "afterHash": "853354900e23611f056a5100a0cbeb2b30873d7fedc1c600786b588f6b35d989",
  "changed": true,
  "summary": { "breaking": 4, "potentiallyBreaking": 0, "nonBreaking": 0, "informational": 0 },
  "changes": [
    { "path": "/legacy", "method": "get", "rule": "endpoint.removed", "message": "Endpoint removed: GET /legacy", "classification": "breaking" },
    { "path": "/pets", "method": "post", "location": "request", "field": "body.email", "rule": "request.required.added", "before": null, "after": { "type": "string", "required": true }, "message": "request field added: body.email", "classification": "breaking" },
    { "path": "/pets", "method": "post", "location": "request", "field": "body.name", "rule": "schema.type.changed", "before": { "type": "string", "required": false }, "after": { "type": "integer", "required": false }, "message": "body.name type changed from string to integer", "classification": "breaking" },
    { "path": "/pets", "method": "post", "location": "response", "field": "response.200.body.name", "rule": "response.field.removed", "before": { "type": "string", "required": true }, "after": null, "message": "response field removed: response.200.body.name", "classification": "breaking" }
  ],
  "metrics": { "fetchDurationMs": 2, "bytesDownloaded": 837, "parseDurationMs": 0.948, "diffDurationMs": 0.281, "totalDurationMs": 1.677, "memoryRssBytes": 61345792, "cpuUserMicros": 0, "cpuSystemMicros": 0, "llmTokens": 0, "llmCostUsd": 0 },
  "markdown": "# OpenAPI comparison report\n\n- Before: https://demo\\.revenue\\-agent\\.test/openapi\\-before\\.json\n- After: https://demo\\.revenue\\-agent\\.test/openapi\\-after\\.json\n- Changed: yes\n\n## Summary\n\n- Breaking: 4\n- Potentially breaking: 0\n- Non-breaking: 0\n- Informational: 0\n\n## Changes\n\n- **breaking** `GET /legacy`: Endpoint removed: GET /legacy\n- **breaking** `POST /pets`: request field added: body\\.email\n- **breaking** `POST /pets`: body\\.name type changed from string to integer\n- **breaking** `POST /pets`: response field removed: response\\.200\\.body\\.name\n"
}
View Markdown report
# OpenAPI comparison report

- Before: https://demo\.revenue\-agent\.test/openapi\-before\.json
- After: https://demo\.revenue\-agent\.test/openapi\-after\.json
- Changed: yes

## Summary

- Breaking: 4
- Potentially breaking: 0
- Non-breaking: 0
- Informational: 0

## Changes

- **breaking** `GET /legacy`: Endpoint removed: GET /legacy
- **breaking** `POST /pets`: request field added: body\.email
- **breaking** `POST /pets`: body\.name type changed from string to integer
- **breaking** `POST /pets`: response field removed: response\.200\.body\.name

Buy with an x402-compatible HTTP client

An unsigned request returns HTTP 402 and exact Base-mainnet USDC payment requirements. An x402-compatible client authorizes payment and retries the same request. Satchmo does not provide or require a conventional account checkout.

Compare two specs — $0.25

curl -i https://agent.prh.news/v1/compare \
  -H 'Content-Type: application/json' \
  --data '{
    "before_url":"https://example.com/openapi-v1.json",
    "after_url":"https://example.com/openapi-v2.json"
  }'

Unsigned response: HTTP/1.1 402 Payment Required. Price: 250000 atomic native USDC on Base mainnet.

Monitor drift — $0.10/check

curl -i https://agent.prh.news/v1/check \
  -H 'Content-Type: application/json' \
  --data '{"url":"https://example.com/openapi.json"}'

Unsigned response: HTTP/1.1 402 Payment Required. Price: 100000 atomic native USDC on Base mainnet. First purchase creates the baseline.

For autonomous agents

POST /mcp
Streamable HTTP
x402 v2
Base · native USDC

Discovery is free. Purchases are accountless. Results are deterministic structured JSON with a Markdown rendering. MCP describes both purchase surfaces but never moves funds.