{"uid":"cap_IH-SwLsT-yoAHHE0Iew-F","slug":"tanod-utilpeek-text-diff-34fe081e","name":"Tanod utilpeek Text Diff","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string","maxLength":100000,"description":"The old text (at most 100,000 characters)."},"b":{"type":"string","maxLength":100000,"description":"The new text (at most 100,000 characters)."},"mode":{"enum":["line","word","char"],"type":"string","default":"line","description":"line (default; a unified diff), word or char (at most 20,000 characters per side)."},"context":{"type":"integer","default":3,"maximum":10,"minimum":0,"description":"Unchanged lines around each hunk (0-10, default 3)."}}},"responseSchema":{"type":"json","example":{"mode":"line","hunks":[{"a_lines":3,"a_start":1,"b_lines":4,"b_start":1}],"stats":{"units":"lines","a_units":3,"b_units":4,"deleted":1,"inserted":2,"unchanged":2},"source":{"library":"Python difflib","license":"PSF-2.0"},"context":3,"unified":"--- a\n+++ b\n@@ -1,3 +1,4 @@\n one\n-two\n+2\n three\n+four\n","identical":false,"truncated":false,"similarity":0.571429}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4PbslhdVN7ZfZRQ-PZCLN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a unified line diff, or word/character-level changes between two texts, returning structured diff output.","exampleAgentPrompt":"Compare these two drafts word by word and show me what changed — here's the original text and the revised version, and I'd like word-level diff with 5 lines of context.","exampleUseCases":[{"title":"Document revision review","prompt":"I have two versions of a legal contract — can you show me exactly which lines changed between the old draft and the new one, with 3 lines of context around each change?"},{"title":"Code review diff summary","prompt":"Here's the old function and here's the updated one — give me a character-level diff so I can see every tiny edit that was made."},{"title":"Content proofreading comparison","prompt":"I edited this blog post and want to see what words I changed versus the original — can you do a word-level diff of the two versions?"}],"resultDescription":"Returns a structured diff between the two input texts. In 'line' mode, produces a unified diff with configurable context lines showing added, removed, and unchanged lines. In 'word' or 'char' mode, produces inline change spans showing exactly which words or characters were inserted or deleted (limited to 20,000 characters per side in these modes).","failureModes":["Input text exceeds 100,000 character limit — request rejected","word/char mode input exceeds 20,000 characters per side — request rejected","Invalid mode enum value — validation error returned","Context value outside 0-10 range — validation error","Payment not provided or insufficient — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need a programmatic, structured diff between two texts — especially when you want line-level unified diffs with configurable context, or fine-grained word/character change detection. Prefer this over manual string comparison or general-purpose LLM diffing when precision, reproducibility, and structured output are required. It handles texts up to 100,000 characters, making it suitable for large documents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:04.155Z","isFirstParty":false,"canonicalSlug":"tanod-utilpeek-text-diff-34fe081e"}