{"uid":"cap_Dj8NQI_C85BLeeGReJZCP","slug":"omniapi-text-diff-2b3ffe42","name":"OmniAPI Text Diff","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/tools/text/diff","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.138396","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.138396/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.138396","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.138396","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Du2p7IJ4A_dRwlS_4PH8g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.138396","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes and returns a diff (difference) between two text inputs, highlighting additions, deletions, and changes.","exampleAgentPrompt":"Can you diff these two paragraphs for me and show exactly what changed? Original: 'The quick brown fox jumps over the lazy dog.' Revised: 'The quick red fox leaps over the sleepy dog.'","exampleUseCases":[{"title":"Reviewing edited contract clauses","prompt":"I have two versions of a contract clause — show me exactly what words were added, removed, or changed between the original and the revised version: Original: 'Payment is due within 30 days of invoice.' Revised: 'Payment is due within 15 days of invoice receipt.'"},{"title":"Tracking code comment changes","prompt":"Can you compare these two versions of a Python docstring and highlight what changed? Before: 'Returns the sum of two integers.' After: 'Returns the sum of two non-negative integers, raising ValueError if inputs are negative.'"},{"title":"Spotting edits in a news article","prompt":"I want to see what changed between the original and the updated version of this news paragraph — please diff them and list the additions and deletions clearly."}],"resultDescription":"Returns a structured diff output showing which parts of the text were added, removed, or unchanged between the two input versions, typically as line-level or character-level change annotations.","failureModes":["Missing required 'query' field returns a validation error","Very large text inputs may cause timeout or truncation","Identical inputs return an empty or no-change diff result","Malformed or non-UTF-8 text may cause parsing errors","API returns generic error object if payment (x402) fails or is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick, paid-per-call text diff via the x402 micropayment protocol without standing up your own diff infrastructure. Best suited for lightweight, on-demand text comparison tasks where integrating a full diff library is not feasible and a simple REST call with USDC payment is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:46.952Z","isFirstParty":false}