← Back to directory

Text diff: unified diff, hunks and similarity of two texts: Compares two texts y...

https://shop.lordevo.com/api/quick/text-diff

Overview

Text diff: unified diff, hunks and similarity of two texts: Compares two texts you send and returns whether they are identical, a similarity score, counts of added, removed and unchanged lines (or words or characters), plus a unified diff and hunks in line mode or a change list in word and char...

Protocol x402
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Lordevo Text diff
Source bazaar
Indexed 2026-10-30 14:43:12

Health

Status healthy
Latency (p50) 1515ms
Uptime (30d) 100.0%
Reliability Score 77/100
Last Checked 2026-10-31 07:11:39
Last Healthy 2026-10-31 07:11:39
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "after": "name: shop\nprice: 0.002\nnetwork: base\n", "before": "name: shop\nprice: 0.003\nnetwork: base\n" }, "type": "http" }

Output Schema

{ "example": { "after_length": 38, "before_length": 38, "hunks": [ { "lines": [ " name: shop", "-price: 0.003", "+price: 0.002", " network: base" ], "new_lines": 3, "new_start": 1, "old_lines": 3, "old_start": 1 } ], "hunks_truncated": false, "identical": false, "mode": "line", "similarity": 0.667, "stats": { "added": 1, "removed": 1, "unchanged": 2 }, "tool": "text-diff", "unified": "===...\n--- before\n+++ after\n@@ -1,3 +1,3 @@\n name: shop\n-price: 0.003\n+price: 0.002\n network: base\n", "unified_truncated": false, "unit": "lines" }, "type": "json" }