{"uid":"cap_0GXXz_ftePJaXSRtgxqUP","slug":"agent402-tools-pdf-text-extractor-dc61eba4","name":"agent402.tools PDF Text Extractor","description":"Fetch a PDF from a URL and extract its text content. Returns page count, document info, and the full text (up to 20MB PDFs).","url":"https://agent402.tools/api/pdf","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) URL of a PDF"}}},"responseSchema":{"type":"json","example":{"url":"https://bitcoin.org/bitcoin.pdf","info":{"title":null},"text":"Bitcoin: A Peer-to-Peer Electronic Cash System\n…","pages":9,"wordCount":3604}},"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_1n0iirGiolYii76kQCHWc","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 extracts its full text content, page count, and document metadata","exampleAgentPrompt":"Can you fetch the PDF at https://example.com/report.pdf and extract all the text from it so I can read through the contents?","exampleUseCases":null,"resultDescription":"Returns the full extracted text content of the PDF, the total page count, and document metadata/info such as author, title, and creation date. Handles PDFs up to 20MB.","failureModes":["URL is not publicly accessible or returns a non-200 response","URL does not point to a valid PDF file","PDF exceeds 20MB size limit","PDF is password-protected or encrypted","PDF contains only scanned images with no extractable text layer","Network timeout when fetching large PDFs"],"whenToPreferThis":"Use this endpoint when you need to read or extract text from a PDF available at a public URL, especially when you want page count and document metadata alongside the full text content. Ideal for processing reports, research papers, or any document-formatted content hosted online up to 20MB.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:58:32.842Z","isFirstParty":false}