{"slug":"api-vextorium-com-v1-text-diff-5109ef","title":"Compare two texts by lines or words","host":"api.vextorium.com","method":"POST","resource":"https://api.vextorium.com/v1/text-diff","category":"other","description":"Compare two texts by lines or words: similarity %, added and removed items, list of changes with positions, and a unified diff. For contract versions, prompts, configs or scraped pages.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":318,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:10","eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"modified":"Price: 12 EUR\nDelivery: 3 days\nWarranty: 2 years","original":"Price: 10 EUR\nDelivery: 3 days\nWarranty: 1 year"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"context":{"description":"Context lines in the unified diff (0-10)","type":"integer"},"mode":{"enum":["lines","words"],"type":"string"},"modified":{"type":"string"},"original":{"type":"string"}},"required":["original","modified"]},"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":{"properties":{"added":{"type":["number","null"]},"changes":{"items":{"properties":{"after":{"type":["null","string"]},"before":{"type":["null","string"]},"new_position":{"type":["null","number"]},"original_position":{"type":["null","number"]},"type":{"type":["null","string"]}},"type":["null","object"]},"type":["array","null"]},"identical":{"type":["boolean","null"]},"mode":{"type":["string","null"]},"modified_elements":{"type":["number","null"]},"original_elements":{"type":["number","null"]},"removed":{"type":["number","null"]},"similar_pct":{"type":["number","null"]},"unified_diff":{"type":["string","null"]}},"type":["object","null"]},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":318,"error":null}],"description_full":"Compare two texts by lines or words: similarity %, added and removed items, list of changes with positions, and a unified diff. For contract versions, prompts, configs or scraped pages.","last_updated":"2026-10-03T20:39:57.832Z","schemes":["exact"]}