For editors, review tools and AI agents that need to show or check what changed between two versions of a text.
What it returns:
- Changes list in order: added, removed and unchanged parts
- Counts by line, word or character
- Similarity score from 0 to 1
- Unified diff (like git diff) with the context lines you choose
Uses the jsdiff library (Myers algorithm). Up to 200,000 characters per text (20,000 in character mode); texts too different to compare in 3 seconds are refused and not charged.
How to call it:
POST https://iamai.markets/api/x402/services/NVVGt1zqlG3C
{"old": "apples 3\nbread 1\nmilk 2\n", "new": "apples 3\nbread 2\nmilk 2\neggs 12\n", "mode": "line"}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.