{"uid":"cap_MAHdF1nj6S9U2kVAO_tIR","slug":"quant-agent-shop-pdf-text-extractor-03a3d885","name":"Quant Agent Shop PDF Text Extractor","description":"PDF text. Send a public PDF URL or the file as base64 (up to 10 MB); returns the plain text of each page, the page count, the title and a truncated flag (first 200 pages and 2,000,000 characters). Use to read reports, papers, filings or invoices. No OCR: scanned pages come back empty (send page images to /v1/ocr); encrypted PDFs are refused. Typical response 1 to 5 s. Failed calls are not charged.","url":"https://quantagentshop.com/v1/pdf-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","format":"uri","maxLength":2083,"minLength":1},{"type":"null"}],"title":"Url","default":null,"description":"Public http or https URL of the PDF."},"pdf_base64":{"anyOf":[{"type":"string","maxLength":13800000,"minLength":8},{"type":"null"}],"title":"Pdf Base64","default":null,"description":"The PDF file as base64, up to 10 MB decoded. Send url or pdf_base64."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_5hajNjnrLh5lv_28vqNaP","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":"Extracts plain text content from a PDF (by URL or base64), returning per-page text, page count, title, and a truncation flag — no OCR, encrypted PDFs refused.","exampleAgentPrompt":"Can you extract all the text from this PDF — https://arxiv.org/pdf/2301.00001 — and tell me how many pages it has and what the title is?","exampleUseCases":[{"title":"Research paper content extraction","prompt":"Grab the full text from this arXiv paper PDF at https://arxiv.org/pdf/2312.12345 — I need the text of every page so I can summarize the methodology section."},{"title":"Financial filing analysis","prompt":"Pull the plain text out of this SEC 10-K filing PDF at https://example.com/filing.pdf so I can search it for revenue figures and risk factors."},{"title":"Invoice data retrieval","prompt":"Here's a PDF invoice encoded in base64 — can you extract all the text from it so I can pull out the line items and total amount?"}],"resultDescription":"Returns a JSON object containing an array of plain-text strings (one per page, up to 200 pages), the total page count, the document title if detectable, and a boolean truncated flag indicating whether the document was cut off at the 200-page or 2,000,000-character limit. Scanned pages with no embedded text return empty strings. Response typically arrives in 1–5 seconds.","failureModes":["Encrypted or password-protected PDFs are rejected with an error","Scanned/image-only PDFs return empty strings per page (no OCR performed)","Files exceeding 10 MB are refused","Malformed or non-PDF URLs return an error","Inaccessible URLs (404, auth-gated) cause a failure — failed calls are not charged","Documents over 200 pages or 2,000,000 characters are truncated with truncated=true"],"whenToPreferThis":"Choose this endpoint when you need machine-readable text from a digital (non-scanned) PDF — reports, academic papers, SEC filings, invoices, or contracts — accessible via a public URL or encodable as base64 under 10 MB. If the PDF is scanned/image-based, use the OCR endpoint instead. Prefer this over a full webpage-to-PDF pipeline when you already have the PDF URL directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:38:27.462Z","isFirstParty":false,"canonicalSlug":"quant-agent-shop-pdf-text-extractor-03a3d885"}