{"uid":"cap_i8S0KIEbgwzJYMwT1A16J","slug":"primeapi-text-diff-8a25e18d","name":"PrimeAPI Text Diff","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.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_AoCnivWZ-hNI8BSqNLFaU","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 the textual difference (diff) between two input text strings","exampleAgentPrompt":"Can you diff these two versions of my README file and show me what changed? Original: 'Hello world. This is version 1.' New: 'Hello world. This is version 2. New feature added.'","exampleUseCases":null,"resultDescription":"Returns the computed diff between two input texts, showing additions, deletions, and unchanged lines — typically formatted as a unified diff or structured delta indicating what text was added, removed, or modified.","failureModes":["Missing or empty input text returns an error","Malformed JSON in request body returns 400","Texts that are identical may return an empty diff","Very large text inputs may time out or be rejected","Payment failure in USDC returns 402"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call text diff computation without managing API keys. Prefer this over manual string comparison when you need structured diff output, or over local tooling when your agent environment lacks shell access to standard diff utilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:06:18.553Z","isFirstParty":false}