{"slug":"agentstoolshub-com-api-v1-dev-diff-10d77e","title":"Compare two texts line by line using an LCS diff","host":"agentstoolshub.com","method":"GET","resource":"https://agentstoolshub.com/api/v1/dev/diff","category":"other","description":"Compare two texts line by line using an LCS diff: exact additions, removals and context — in unified-diff style. Deterministic, unlike asking a model to 'find the differences'. Use this when an agent needs to exact line-level diff with unified-style output.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":250,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"a":"price: 100\nquantity: 2\ntotal: 200","b":"price: 100\nquantity: 3\ntotal: 300","context":1},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"a":{"description":"Use \n for line breaks","type":"string"},"b":{"description":"Changed text","type":"string"},"context":{"description":"Context lines","type":"number"}},"required":["a","b"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":250,"error":null}],"description_full":"Compare two texts line by line using an LCS diff: exact additions, removals and context — in unified-diff style. Deterministic, unlike asking a model to 'find the differences'. Use this when an agent needs to exact line-level diff with unified-style output.","last_updated":"2026-10-17T04:21:40.272Z","schemes":["exact"]}