{"uid":"cap_yyKe9Li9y1-WTBmB6KI2Q","slug":"tanod-docs-pdf-text-extractor-1a3fc8bc","name":"Tanod Docs PDF Text Extractor","description":"Documents: DOCX template fill, Office to PDF, any file to Markdown, PDF to Word, OCR, PDF pipeline.","url":"https://docs.tanod.dev/v1/pdf?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of a PDF (at most 20 MB)."},"max_pages":{"type":"integer","default":50,"maximum":200,"minimum":1,"description":"Pages to extract text from, from the first (1-200, default 50)."}}},"responseSchema":{"type":"json","example":{"url":"https://www.rfc-editor.org/rfc/rfc9110.pdf","text":"RFC 9110\nHTTP Semantics\nAbstract\nThe Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed,\ncollaborative, hypertext information systems. ...","pages":194,"metadata":{"title":"RFC 9110: HTTP Semantics","author":"Roy T. Fielding, Mark Nottingham, Julian Reschke","created":"2022-06-06T11:15:02+07:00","modified":"2022-06-06T11:15:19-07:00","producer":"cairo 1.16.0 (https://cairographics.org)"},"encrypted":false,"final_url":"https://www.rfc-editor.org/rfc/rfc9110.pdf","truncated":true,"page_errors":0,"extracted_pages":50,"untrusted_content":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oexW2uHdOt7rigtM9kPuP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text content and metadata from a public PDF URL, returning structured text, page count, and document metadata","exampleAgentPrompt":"Can you extract the text from this PDF — https://www.rfc-editor.org/rfc/rfc9110.pdf — and give me the title, author, and the first 50 pages of content?","exampleUseCases":[{"title":"Research paper ingestion pipeline","prompt":"Pull the full text and metadata from this academic PDF at https://arxiv.org/pdf/2303.08774.pdf — I need the title, authors, and all the text from the first 100 pages so I can summarize it."},{"title":"Legal contract text extraction","prompt":"Extract the text from this contract PDF at https://example.com/contracts/agreement.pdf — just the first 30 pages — and tell me when it was created and who produced it."},{"title":"Automated report parsing","prompt":"I need to read this quarterly report PDF at https://reports.example.com/Q3-2024.pdf and get the plain text out of it, up to 200 pages, so I can search through the numbers."}],"resultDescription":"Returns a JSON object containing extracted plain text from the PDF, total page count, number of pages actually extracted, document metadata (title, author, creation date, modification date, producer), a flag indicating whether the output was truncated, whether the PDF is encrypted, the resolved final URL after any redirects, and a count of any page-level errors encountered during extraction.","failureModes":["PDF URL is not publicly accessible or returns a non-200 status — extraction fails","PDF exceeds 20 MB size limit — request rejected","PDF is encrypted/password-protected — text cannot be extracted","max_pages out of range (must be 1–200) — validation error","URL is not a valid http/https URL — request rejected","PDF has no extractable text (e.g. scanned image without OCR layer) — empty or partial text returned","Network timeout fetching the remote PDF — extraction fails"],"whenToPreferThis":"Choose this endpoint when you need to extract plain text and metadata from a publicly accessible PDF file by URL, especially when you need structured output including author, title, creation date, and page count. Prefer this over generic OCR endpoints when the input is specifically a PDF. Best suited for research papers, reports, contracts, or any text-heavy PDF up to 200 pages and 20 MB. If you need to convert PDFs to Word, fill DOCX templates, or convert Office files to PDF, other endpoints on the same platform cover those operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:00.456Z","isFirstParty":false,"canonicalSlug":"tanod-docs-pdf-text-extractor-1a3fc8bc"}