{"uid":"cap_IEwanpojYi2g587xrBhXX","slug":"apexapi-text-diff-2e7784b0","name":"ApexAPI Text Diff","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://apex-api-gamma.vercel.app/api/tools/text/diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.10891","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.10891/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.10891","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.10891","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FLiH8Ue5cHER75CPUe4is","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.10891","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 between two text strings, highlighting additions, deletions, and changes.","exampleAgentPrompt":"Can you show me the differences between these two versions of my essay draft? Here's the original: 'The quick brown fox jumps over the lazy dog.' And here's the updated version: 'The quick brown fox leaped over the sleeping dog.'","exampleUseCases":null,"resultDescription":"Returns a structured diff object showing which portions of the text were added, removed, or unchanged between the two input strings, typically in a unified or inline diff format.","failureModes":["Missing or empty input text returns an error","Extremely large text inputs may time out or exceed payload limits","Malformed JSON body returns 400 bad request","Payment failure via x402 returns 402 Payment Required","Non-text binary content may produce garbled or meaningless diff output"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call text diff with no API key setup, especially in agent workflows on Base/USDC payment rails. Prefer it when you want a lightweight diff-as-a-service without spinning up local tooling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:02:24.144Z","isFirstParty":false}