{"uid":"cap__V8MPgCRuNP7u1Yx1escp","slug":"scriptmasterlabs-acp-x402-text-diff-api-1e889ec5","name":"ScriptMasterLabs ACP x402 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-scriptmasterlabs.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_aqmVK_04yPeL3gcC-Vf3g","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":"Returns a text diff comparison between two text inputs, paid per-call in USDC on Base via the x402 protocol.","exampleAgentPrompt":"Compare these two versions of my contract clause and show me exactly what changed: original says 'Payment is due within 30 days of invoice' and the new version says 'Payment is due within 15 days of receipt of invoice.'","exampleUseCases":[{"title":"Contract revision tracking","prompt":"I have two versions of a legal clause — the old one says 'The term of this agreement is two years, renewable annually' and the new one says 'The term of this agreement is three years, non-renewable.' Can you diff them and show me exactly what was changed?"},{"title":"Code review diff check","prompt":"Can you compare these two snippets of Python code and tell me what lines were added, removed, or changed? Here's version 1 and version 2 of the function."},{"title":"Compliance document change detection","prompt":"I need to know what changed between the old SEC filing disclosure paragraph and the updated one — can you run a text diff and highlight the differences for me?"}],"resultDescription":"Returns a structured diff indicating which portions of the input text were added, removed, or modified, enabling programmatic or human review of changes between two text versions.","failureModes":["Missing or malformed input text parameters returns an error or empty diff","Service unavailable due to cold-start on Render free tier causing timeout","x402 payment failure or insufficient USDC balance prevents access (402 response)","Extremely large text inputs may be truncated or cause slow responses","Ambiguous or identical inputs may return an empty change set"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text diff computation settled instantly in USDC on Base via the x402 micropayment protocol, without needing a subscription or API key — ideal for agents that compare document revisions, detect regulatory filing changes, or audit contract edits on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:41:35.039Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-acp-x402-text-diff-api-1e889ec5"}