{"uid":"cap_zO8vS1ozJa4zl1HzsfQZQ","slug":"nexusapi-text-diff-73022cc3","name":"NexusAPI Text Diff","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-virid.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.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_oQMqdC7DrlEgX6ZHzUOtY","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 the difference (diff) between two text strings or documents","exampleAgentPrompt":"Can you compare these two versions of my paragraph and show me exactly what changed — what was added, removed, or modified between them?","exampleUseCases":[{"title":"Code review diff check","prompt":"Here's the old version of my function and the new one — can you show me a diff so I can see exactly what lines changed?"},{"title":"Document revision tracking","prompt":"I have two drafts of my cover letter, the original and the updated one. Can you diff them and tell me what I changed?"},{"title":"Config file change detection","prompt":"Can you compare these two config files and highlight every line that's different between them?"}],"resultDescription":"Returns a structured diff showing the differences between the two input texts, including added, removed, and unchanged lines or segments, typically in a unified or inline diff format.","failureModes":["Missing or empty input text — returns error if one or both text inputs are not provided","Input too large — very long texts may exceed processing limits or timeout","Malformed request body — returns 400 if required fields are absent","Payment failure — x402 payment not processed correctly results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a programmatic, pay-per-call text diff without setting up API keys or managing authentication. Ideal for AI agents that need to compare text on demand within automated workflows using USDC micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:00:50.982Z","isFirstParty":false}