Compare two texts using deterministic longest-common-subsequence line matching
Compare two texts using deterministic longest-common-subsequence line matching. Returns unchanged, removed and added lines. Preserves whitespace within lines; normalizes CRLF/CR to LF. Maximum 200 lines and 20,000 characters per text; not a semantic comparison.
$0.01
price
—
calls / 30d
—
unique payers
2026-09-23
updated
Provider
www.tradepilotusa.com · verified
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x421b1e2ebc5458b5f3e156fd57300bbd8fd0a89e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Use it
curl
curl "https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_line_compare/execute" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_line_compare/execute");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_line_compare/execute")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/19979.json, and this resource appears in /discovery/resources and /discovery/search.