{"uid":"cap_GpJlkEvOaftifHix0z98n","slug":"autonomy-api-network-text-diff-2ec52c14","name":"Autonomy API Network Text Diff","description":"Compare two text or HTML snapshots and return additions, removals, and similarity.","url":"https://autonomy-api-network.onrender.com/v1/text-diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"string"},"before":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"changed":true,"addedLines":1,"similarity":0,"removedLines":1}}},"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_PhkfVdN_QVAAkHlXgWmgx","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":"Compares two text or HTML snapshots and returns a structured diff showing additions, removals, and a similarity score.","exampleAgentPrompt":"Compare these two versions of the product description and tell me exactly what was added or removed: before: 'Free shipping on orders over $50. Returns accepted within 30 days.' after: 'Free shipping on all orders. No returns accepted.'","exampleUseCases":[{"title":"Monitor competitor website for changes","prompt":"Check if this competitor's pricing page has changed since last week — here's the HTML snapshot from 7 days ago and the one I just captured today. Tell me exactly what was added or removed and how similar they still are."},{"title":"Track legal document revisions","prompt":"I have two versions of our terms of service — the one we published in January and the updated draft from our legal team. Can you compare them and show me every addition and deletion so I know what actually changed before we go live?"},{"title":"Audit blog post edits before publishing","prompt":"Here's the original draft of the blog post and the version my editor sent back. Show me exactly what lines or phrases were added or removed so I can review the changes before I hit publish."}],"resultDescription":"A structured response containing the additions (new content in 'after' not present in 'before'), removals (content in 'before' not present in 'after'), and a similarity score reflecting how close the two inputs are.","failureModes":["Missing 'before' or 'after' field returns a 400 validation error","Extremely large text payloads may time out or exceed size limits","Non-UTF-8 encoded content may cause parsing errors","Payment failure via x402 protocol returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to programmatically compare two versions of text or HTML content and get structured output identifying exactly what changed — ideal for change detection pipelines, content monitoring, document revision tracking, or auditing webpage updates. Prefer it over manual diffing or generic LLM comparisons when you need precise, structured addition/removal output rather than a prose summary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:35:51.588Z","isFirstParty":false}