{"uid":"cap_4W4aVq8UOphrfIsgzrhIN","slug":"quartermaster-surewhynot-app-line-level-diff-a6652fe5","name":"quartermaster.surewhynot.app – Line-Level Diff","description":"Compact line-level diff between two texts.","url":"https://quartermaster.surewhynot.app/v1/diff","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["before","after"],"properties":{"after":{"type":"string"},"before":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_oZtK8b2fCrjgLXl-Fx8KC","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 compact line-level diff between two text strings, showing what changed between a 'before' and 'after' version.","exampleAgentPrompt":"Show me a line-by-line diff between these two versions of my README — before: 'Hello world\nThis is v1\nGoodbye' and after: 'Hello world\nThis is v2\nNew line added\nGoodbye'.","exampleUseCases":null,"resultDescription":"A compact line-level diff indicating which lines were added, removed, or unchanged between the 'before' and 'after' text inputs, returned as structured JSON.","failureModes":["Missing 'before' or 'after' query parameter returns an error","Extremely large text inputs may be truncated or rejected","Non-UTF-8 or binary content may produce unexpected diff output","Empty strings for both inputs return an empty or trivial diff"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.001) line-level diff between two text strings and don't want to run a local diff tool. Ideal for AI agents that need to summarize changes between document versions, config files, or code snippets on the fly without infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:01.544Z","isFirstParty":false}