{"uid":"cap_EAaen7IXqeBKiRD95Ucxr","slug":"fastx402-pdf-text-extractor-fdf932e4","name":"FastX402 PDF Text Extractor","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/pdftext?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":"Absolute http(s) URL of a PDF"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"text":{"type":"string"},"pages":{"type":"integer"},"title":{"type":"null"},"author":{"type":"string"},"truncated":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"text":"Dummy PDF file","pages":1,"title":null,"author":"Evangelos Vlachogiannis","truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Kvp9kq1QKSsJUvPt38TyA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 extracts its full text content along with metadata like page count, title, and author","exampleAgentPrompt":"Can you pull the text out of this PDF for me? Here's the URL: https://example.com/annual-report-2024.pdf","exampleUseCases":[{"title":"Research paper content extraction","prompt":"I need you to read this academic PDF and tell me what it's about — here's the link: https://arxiv.org/pdf/2401.00123.pdf"},{"title":"Contract text retrieval for analysis","prompt":"Grab all the text from this contract PDF so I can check if it includes an indemnification clause: https://docs.example.com/contract-draft.pdf"},{"title":"Invoice data extraction","prompt":"Can you extract the text from this invoice PDF so I can pull out the total amount and vendor name? The URL is https://invoices.acme.com/inv-00456.pdf"}],"resultDescription":"A JSON object containing the full extracted text of the PDF, the number of pages, the document title (if available), the author name, and a boolean indicating whether the text was truncated due to length limits.","failureModes":["URL is not reachable or returns a non-200 status — fetch fails with an error","URL points to a non-PDF file — parsing fails or returns empty/garbled text","PDF is encrypted or password-protected — text extraction returns nothing","PDF is image-only (scanned) with no embedded text layer — returns empty text","URL is malformed or not an absolute http/https URL — request rejected due to schema validation","Very large PDF may result in truncated output (truncated: true in response)"],"whenToPreferThis":"Use this endpoint when you need to extract machine-readable text from a PDF available at a public URL without setting up an account or API key. It is ideal for one-off or low-volume PDF parsing tasks where paying micro-amounts per call ($0.002 USDC) is preferable to maintaining a subscription. It works well for structured documents with embedded text layers; for scanned image PDFs you would need an OCR-capable service instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:49.126Z","isFirstParty":false,"canonicalSlug":"fastx402-pdf-text-extractor-fdf932e4"}