Skip to content
Free static example · no wallet required

Document diff

Inspect the exact response envelope first. When you need current analysis for your own input, one successful x402 call costs $0.01 USDC on Base or Solana.

No accountNo subscriptionExact USDC priceFresh calls only are paid
Full response envelope

What you receive

Demonstration data only. The paid endpoint returns a fresh result and settlement receipt.

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "document.diff",
  "version": "1",
  "data": {
    "diff": "--- before\n+++ after\n@@ -1 +1 @@\n-status: draft\n+status: approved",
    "added": 1,
    "removed": 1,
    "changed": true
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": []
  }
}
Example request

Input JSON

{
  "before": "status: draft",
  "after": "status: approved"
}
Delivery contract

One paid POST

Compare two texts and return structured line additions, removals, and a unified diff.

POST /v1/document/diff

Inspect validation rules and output schema

Need current data?

Run this exact service.

The checkout verifies the request, selected network, USDC asset, recipient, and price before opening a wallet.

Continue · $0.01 USDC