{"uid":"cap_TzlFgFQQRJNEid29P31xX","slug":"doc-tools-pdf-to-text-extractor-4426f75e","name":"Doc Tools – PDF to Text Extractor","description":"PDF to text, RSS/Atom feeds to JSON, sitemaps to URL lists.","url":"https://agentpay-tools.agentpay-apis.workers.dev/tools/v1/pdf-text?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL of a PDF"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_3lQLaKlb5QZf8611G90rn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a PDF from a given URL and returns its full text content as structured JSON","exampleAgentPrompt":"Can you pull out all the text from this PDF for me? Here's the URL: https://example.com/report.pdf","exampleUseCases":[{"title":"Research paper text extraction","prompt":"I have a research paper PDF at https://arxiv.org/pdf/2301.00001.pdf — can you extract all the text from it so I can summarize it?"},{"title":"Contract content retrieval","prompt":"Pull the text out of this contract PDF at https://legal.example.com/contract.pdf so I can review the key terms."},{"title":"Invoice data processing","prompt":"Extract the text from this invoice PDF: https://billing.mycompany.com/invoice-1234.pdf — I need to grab the line items and totals from it."}],"resultDescription":"Returns the full extracted plain text content of the PDF document as JSON, including all readable text parsed from the document pages","failureModes":["Invalid or inaccessible PDF URL returns an error","URL points to a non-PDF resource causing a parse failure","Large PDFs may time out or return partial content","Password-protected PDFs cannot be extracted","Scanned/image-only PDFs yield little or no text (no OCR)"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract plain text from a PDF hosted at a public URL, especially in agent workflows where you need to read, summarize, or process document content. It costs only $0.01 USDC per call via x402 micropayment, making it suitable for on-demand per-document extraction rather than bulk batch pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:35:34.078Z","isFirstParty":false,"canonicalSlug":"doc-tools-pdf-to-text-extractor-4426f75e"}