{"uid":"cap_n3jtgYeLrtIAIshp8nS4S","slug":"pdf-url-to-text-extractor-cdb43c2c","name":"PDF URL to Text Extractor","description":"Fetches a PDF from a URL and returns the extracted text as a string in a JSON object, capped at 50,000 characters","url":"https://workspace-x402-paywall.onrender.com/scrape/pdf?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Requires a valid public http:// or https:// URL string pointing to a PDF file"}}}},"additionalProperties":false}}},"responseSchema":null,"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_JQBbO9hCdgdHXRcnBDQkE","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 public URL and returns its extracted text content as a string, capped at 50,000 characters","exampleAgentPrompt":"Can you pull out all the text from this PDF for me? Here's the URL: https://example.com/documents/report.pdf","exampleUseCases":[{"title":"Research paper text extraction","prompt":"I need the text from this academic paper PDF so I can summarize it — the URL is https://arxiv.org/pdf/2301.00001.pdf, can you extract all the text from it?"},{"title":"Contract or legal document reading","prompt":"Can you read this contract PDF at https://company.com/legal/agreement.pdf and tell me what it says about termination clauses?"},{"title":"Financial report analysis","prompt":"Pull the text out of this annual report PDF at https://investor.example.com/2023-annual-report.pdf so I can analyze the revenue figures."}],"resultDescription":"A JSON object containing the extracted text from the PDF as a string, truncated to a maximum of 50,000 characters if the document is longer.","failureModes":["Invalid or non-public URL returns an error","URL does not point to a valid PDF file","PDF is password-protected or encrypted and cannot be parsed","PDF contains only scanned images with no extractable text layer","Network timeout if the PDF URL is slow or unreachable","Text truncated at 50,000 characters for very large documents"],"whenToPreferThis":"Choose this endpoint when you need to quickly extract raw text from a publicly accessible PDF file given only its URL, without needing to download or process the file locally. It is well-suited for agent workflows that need to read PDF content on-the-fly as part of research, summarization, or analysis pipelines. At $0.01 per call it is cost-effective for occasional PDF reads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:36.162Z","isFirstParty":false,"canonicalSlug":"pdf-url-to-text-extractor-cdb43c2c"}