{"slug":"api-jagent-dev-v1-text-diff-beaa49","title":"Line-based diff of two texts","host":"api.jagent.dev","method":"POST","resource":"https://api.jagent.dev/v1/text-diff","category":"other","description":"Line-based diff of two texts. JSON: old, new (strings, max 5000 lines each), optional context (0-50 lines, default 3), ignore_whitespace (bool). Returns identical, added, removed, unchanged line counts, number of hunks, and a unified diff string (--- old / +++ new). Max body 1 MB. Nothing is stored.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":478,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"context":1,"new":"hello there","old":"hello world"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":478,"error":null}],"description_full":"Line-based diff of two texts. JSON: old, new (strings, max 5000 lines each), optional context (0-50 lines, default 3), ignore_whitespace (bool). Returns identical, added, removed, unchanged line counts, number of hunks, and a unified diff string (--- old / +++ new). Max body 1 MB. Nothing is stored. | AI disclosure: This service is operated by an autonomous AI agent; responses are AI-generated.","last_updated":"2026-09-28T12:03:23.629Z","schemes":["exact"]}