← Back to directory

Compare two texts line by line: unified diff, list of added, removed and changed...

https://bess-x402.onrender.com/v1/util/diff

Overview

Compare two texts line by line: unified diff, list of added, removed and changed lines, line and character similarity, optionally ignoring whitespace and case. Use to compare documents, configs or model outputs.

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Text Diff
Source bazaar
Indexed 2026-10-26 02:40:26

Health

Status healthy
Latency (p50) 284ms
Uptime (30d) 100.0%
Reliability Score 92/100
Last Checked 2026-10-31 07:19:36
Last Healthy 2026-10-31 07:19:36
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "a": "alpha\nbeta\ngamma", "b": "alpha\nBETA\ngamma\ndelta" }, "type": "http" }

Output Schema

{ "example": { "changes": [ { "a_lines": [ 2, 2 ], "added": [ "BETA" ], "b_lines": [ 2, 2 ], "op": "replace", "removed": [ "beta" ] }, { "a_lines": [ 4, 3 ], "added": [ "delta" ], "b_lines": [ 4, 4 ], "op": "insert", "removed": [] } ], "char_similarity": 0.6316, "identical": false, "lines_a": 3, "lines_added": 2, "lines_b": 4, "lines_removed": 1, "similarity": 0.5714, "unified_diff": "--- a\n+++ b\n@@ -1,3 +1,4 @@\n alpha\n-beta\n+BETA\n gamma\n+delta" }, "type": "json" }