{"slug":"tanod-dev-v1-pdf-attachments-4db0ca","title":"pdfpeek (Tanod) PDF attachments","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/pdf/attachments","category":"search","description":"pdfpeek (Tanod) PDF attachments: list, extract or add the files embedded in a PDF.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":217,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"action":"list","url":"https://tanod.dev/samples/attachment-sample.pdf"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"action":{"default":"list","description":"list (default): names, sizes and media types; extract: one attachment by `name`, base64; add: attach `file_base64` as `name` (the attachments the PDF has are kept).","enum":["list","extract","add"],"type":"string"},"description":{"anyOf":[{"maxLength":300,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"add: a short description stored with the attachment."},"file_base64":{"anyOf":[{"maxLength":6666684,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"add: the file to attach as base64 (at most 5 MB decoded; with an inline PDF the two together at most 10 MB)."},"mime_type":{"anyOf":[{"maxLength":127,"minLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"add: its media type (default: guessed from the name)."},"name":{"anyOf":[{"maxLength":255,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"extract / add: the attachment's name (add: a new one; no / or \\)."},"pdf_base64":{"anyOf":[{"maxLength":13398872,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"The PDF as base64 (at most 10 MB decoded per request); or use url."},"url":{"anyOf":[{"maxLength":2048,"minLength":1,"type":"string"},{"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."}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"action":{"enum":["list","extract","add"],"type":"string"},"active_content_removed":{"type":"object"},"attachment":{"properties":{"description":{"type":"string"},"filename":{"type":"string"},"mime_type":{"type":["string","null"]},"name":{"type":"string"},"size":{"type":["integer","null"]}},"required":["name","filename"],"type":"object"},"attachments":{"anyOf":[{"items":{"properties":{"description":{"type":"string"},"filename":{"type":"string"},"mime_type":{"type":["string","null"]},"name":{"type":"string"},"size":{"type":["integer","null"]}},"required":["name","filename"],"type":"object"},"type":"array"},{"type":"integer"}]},"count":{"type":"integer"},"file":{"properties":{"bytes":{"type":"integer"},"content_type":{"type":"string"},"data_base64":{"type":"string"},"name":{"type":"string"},"pages":{"type":"integer"}},"required":["name","content_type","bytes","data_base64"],"type":"object"},"input_bytes":{"type":"integer"},"input_pages":{"type":"integer"},"operation":{"type":"string"},"output_bytes":{"type":"integer"},"truncated":{"type":"boolean"},"untrusted_content":{"type":"boolean"}},"required":["operation","action","input_bytes","untrusted_content"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":217,"error":null}],"description_full":"pdfpeek (Tanod) PDF attachments: list, extract or add the files embedded in a PDF.","last_updated":"2026-10-09T05:38:15.841Z","schemes":["exact"]}