{"slug":"wealth-agent-wealthagent-app-workers-dev-api-x402-diff-28eae9","title":"Return the line-level diff between two texts as added/removed/unified hunks with","host":"wealth-agent.wealthagent-app.workers.dev","method":"POST","resource":"https://wealth-agent.wealthagent-app.workers.dev/api/x402/diff","category":"market","description":"Return the line-level diff between two texts as added/removed/unified hunks with counts. Use it to review a patch, compare two API responses, or decide whether two documents actually differ before spending tokens on them.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":542,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"a":"line1\nline2\nline3","b":"line1\nline2 changed\nline3\nline4"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"a":{"description":"Original text","type":"string"},"b":{"description":"Changed text","type":"string"}},"required":["a","b"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"deliverable":{"properties":{},"required":["kind","summary"],"type":["object","null"]},"error":{"type":["string","null"]},"job_id":{"type":["string","null"]},"note":{"type":"string"},"ok":{"type":"boolean"},"receipt_id":{"type":["string","null"]},"resource":{"type":"string"},"status":{"enum":["delivered","paid_not_delivered"],"type":"string"},"tx":{"type":["string","null"]}},"required":["ok","resource","status","deliverable"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":542,"error":null}],"description_full":"Return the line-level diff between two texts as added/removed/unified hunks with counts. Use it to review a patch, compare two API responses, or decide whether two documents actually differ before spending tokens on them.","last_updated":"2026-10-19T12:39:03.937Z","schemes":["exact"]}