{"uid":"cap_4gpVCJwuKVIojP_wKanKt","slug":"tanod-pdf-repair-bcbb98b5","name":"Tanod PDF Repair","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/pdf/repair?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"default":null,"description":"Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"linearize":{"type":"boolean","default":false,"description":"Also write the file for fast web view (linearized; default false)."},"pdf_base64":{"anyOf":[{"type":"string","maxLength":13398872,"minLength":1},{"type":"null"}],"default":null,"description":"The PDF as base64 (at most 10 MB decoded per request); or use url."}}},"responseSchema":{"type":"json","example":{"file":{"name":"repaired.pdf","bytes":13730,"pages":1,"data_base64":"JVBERi0xLjQKJb/3... (trimmed: 18,308 base64 characters in the reply)","content_type":"application/pdf"},"repaired":false,"warnings":[],"operation":"repair","linearized":true,"bytes_after":13730,"input_bytes":13264,"input_pages":1,"bytes_before":13264,"output_bytes":13730,"reconstructed":false,"warning_count":0,"untrusted_content":true,"active_content_removed":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e_lN7o5bJQDOx00ojJ0xz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Repairs and optionally linearizes a damaged or malformed PDF file, returning the fixed PDF as base64-encoded data","exampleAgentPrompt":"This PDF I'm working with seems corrupted and won't open properly — can you repair it and also linearize it for fast web viewing? Here's the URL: https://example.com/broken-report.pdf","exampleUseCases":[{"title":"Fix corrupted document from URL","prompt":"I have a PDF at https://example.com/contracts/agreement.pdf that seems broken and won't render correctly — can you repair it for me?"},{"title":"Sanitize and web-optimize PDF upload","prompt":"I've got this PDF encoded in base64 that I need both repaired and linearized so it loads fast on the web — can you run the repair with linearization turned on?"},{"title":"Remove active content from untrusted PDF","prompt":"I received a PDF from an unknown sender and I'm worried it might have active or malicious content — can you repair and sanitize it to remove anything dangerous before I open it?"}],"resultDescription":"Returns a JSON object containing the repaired PDF as base64-encoded data, along with metadata including file name, page count, byte sizes before and after repair, whether reconstruction occurred, warnings list, whether active content was removed, and whether linearization was applied.","failureModes":["PDF URL is inaccessible, private, or points to a non-PDF resource","PDF exceeds 20 MB (URL) or 10 MB decoded (base64) size limit","URL points to an internal or IP-literal host (refused for security)","PDF is so severely corrupted it cannot be reconstructed","Neither url nor pdf_base64 provided","base64 input is malformed or not a valid PDF"],"whenToPreferThis":"Choose this endpoint when you need to repair, reconstruct, or sanitize a broken or malformed PDF file and optionally prepare it for fast web delivery via linearization. Ideal for pipelines that receive PDFs from untrusted sources and need active content stripped, or for recovering documents that fail to render in standard viewers. Pay-per-call with no signup required makes it suitable for low-volume or agent-driven workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:17.060Z","isFirstParty":false,"canonicalSlug":"tanod-pdf-repair-bcbb98b5"}