{"uid":"cap_H8em1bG6_XISfoyHQp3KI","slug":"scriptmasterlabs-text-diff-api-281453d5","name":"ScriptMasterLabs Text Diff API","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-discovery.onrender.com/x402/text-diff?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"example":{}},"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_FpHEvbDFOjngkRi0LWdKD","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 and returns a text difference (diff) between two text inputs, paid per-call via x402 in USDC on Base.","exampleAgentPrompt":"Compare these two paragraphs and show me exactly what changed — here's the original: 'The quick brown fox jumps over the lazy dog.' and here's the updated version: 'The quick red fox leapt over the sleeping dog.'","exampleUseCases":[{"title":"Contract revision tracking","prompt":"I need to see exactly what changed between the original contract clause 'Payment is due within 30 days of invoice.' and the revised clause 'Payment is due within 15 days of invoice receipt.' — can you diff those two for me?"},{"title":"Code comment comparison","prompt":"Can you show me the differences between these two README paragraphs? Original: 'Install the package using npm.' Revised: 'Install the package using npm or yarn. Requires Node 18+.'"},{"title":"Legal document change detection","prompt":"Show me what lines are different between this old policy text and the new one — I want to know what was added, removed, or modified between the two versions."}],"resultDescription":"Returns a structured diff indicating which portions of the input text were added, removed, or unchanged, enabling the agent to identify exact changes between two text versions.","failureModes":["Missing or empty text input fields returns an empty or error response","Malformed input schema causes a 400-level error","Payment not settled in USDC via x402 results in a 402 Payment Required response","Very large text inputs may result in timeout or truncated diff","Ambiguous 'properties' parameter may yield unexpected results if not properly formatted"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text diff computation without standing up your own infrastructure, especially when operating in a crypto-native or x402-payment-enabled agent pipeline and only occasional comparisons are needed at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:32:40.756Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-text-diff-api-281453d5"}