{"uid":"cap_9dMM17lOl4LLdZbtUX_Fv","slug":"relaystation-pdf-attachments-extractor-b08c3650","name":"Relaystation PDF Attachments Extractor","description":"$0.0005/MB. List or extract files embedded inside a PDF — pull attachments out programmatically. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/attachments","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_Xjcnc3OWB9NaveWNF13U9","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":"List or extract files embedded as attachments inside a PDF document programmatically","exampleAgentPrompt":"Pull out all the embedded attachments from this PDF and give me a list of what's inside — I need to access the files that are bundled into the document.","exampleUseCases":[{"title":"Legal document attachment retrieval","prompt":"I have a PDF contract that I know has embedded exhibits and supporting files inside it — can you extract all the attachments out of it so I can review each one separately?"},{"title":"Invoice with embedded XML extraction","prompt":"This PDF invoice from our supplier has an embedded XML data file inside it (like a ZUGFeRD or Factur-X format) — extract that XML attachment from the PDF so I can parse the structured data."},{"title":"Audit PDF bundle contents","prompt":"Before I process this PDF, I need to know what files are attached or embedded inside it — can you list all the attachments in this PDF document?"}],"resultDescription":"Returns a list of files embedded as attachments within the PDF, including metadata such as filenames, file sizes, and MIME types, along with the extracted binary or base64-encoded file contents for each attachment.","failureModes":["PDF has no embedded attachments — returns empty list","Invalid or malformed PDF — returns parse error","PDF is password-protected — returns access denied error","File too large — billing is per MB so oversized files may hit limits","URL to PDF unreachable — returns fetch/network error","Corrupted PDF binary — returns extraction failure"],"whenToPreferThis":"Choose this endpoint when you need to programmatically list or extract files that are embedded as attachments inside a PDF (e.g. ZUGFeRD XML, embedded spreadsheets, bundled images). It is billed per MB at $0.0005/MB with a 1¢ minimum, making it cost-effective for occasional or batch extraction tasks. Prefer this over general PDF parsing endpoints when your goal is specifically the embedded attachment files rather than the PDF's text content or pages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:55:10.078Z","isFirstParty":false}