{"uid":"cap_LYiz117KmvWEtZEsGBChJ","slug":"relaystation-pdf-diff-69e1afca","name":"Relaystation PDF Diff","description":"$0.001/page. Text-compare two PDFs into a unified diff — spot every change between versions. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/diff","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"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.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lFZnb3CRteiemdmLFXijb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two PDF documents and returns a unified diff highlighting every textual change between versions","exampleAgentPrompt":"Can you compare these two PDF contracts and show me exactly what changed between the original version and the revised one — flag every addition, deletion, and modification?","exampleUseCases":[{"title":"Legal contract redline review","prompt":"I have two versions of this vendor agreement PDF — the original we sent and the redlined version they returned. Can you diff them and show me every clause they changed, added, or removed?"},{"title":"Regulatory document change tracking","prompt":"Our compliance team updated the policy handbook PDF. Can you compare last quarter's version with the new one and give me a full list of every change that was made?"},{"title":"Academic paper revision check","prompt":"I submitted a draft paper and got back a revised version from my co-author. Can you compare the two PDFs and tell me exactly what text was added, removed, or reworded?"}],"resultDescription":"A unified diff output showing all textual changes between the two PDFs, including added lines (marked with +), removed lines (marked with -), and context around each change, organized by page.","failureModes":["Scanned or image-only PDFs with no embedded text layer will produce empty or poor diffs — OCR must be applied first","Password-protected PDFs cannot be parsed and will return an error","Very large PDFs may exceed page-count limits or increase cost significantly","Formatting-only changes (fonts, colors, layout shifts) may not be captured if underlying text is identical","Corrupted or malformed PDF files will return a parse error"],"whenToPreferThis":"Choose this endpoint when you need to programmatically detect and enumerate text-level differences between two PDF versions — especially for legal, compliance, or editorial workflows where a precise diff matters. Prefer this over manual review or generic text extraction when the source documents are already in PDF format and you need a structured change report rather than raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:35.582Z","isFirstParty":false}