HTTPay Text Diff API is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).
Computes the character, word, or line-level diff between two text strings, returning added/removed counts and a structured patch.
307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.
Returns a JSON object with counts of added and removed tokens (chars, words, or lines depending on the type parameter) and a structured patch array describing each change, produced by the npm diff library.
POSThttps://httpay.xyz/api/text-diffUse this endpoint when you need a quick, pay-per-call text diff without managing API keys or subscriptions — ideal for agents that occasionally need to compare text snippets, detect changes between document versions, or compute edit distances without spinning up a dedicated diff service.
{
"type": "json",
"example": {
"description": "Compute the diff between two text strings. POST JSON body: {text1, text2, type}. 'type' can be 'chars', 'words', or 'lines' (default: lines). Returns added/removed counts and a structured patch. Uses the 'diff' npm package."
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"