{"uid":"cap_CuJ1ynUYYyZoxv4bXeebY","slug":"pdf-to-text-extractor-upload-4e5be6b8","name":"PDF to Text Extractor (Upload)","description":"PDF to text from uploaded bytes. POST the raw PDF as the body (content-type application/pdf); multipart 'file' or JSON {\"base64\"} also work. Real PDF only (starts with %PDF), max 20 MB, with a text layer. Optional ?format=text|markdown. Bad files get HTTP 400 with a hint and are not charged. Sample: https://agents.crowdspark.me/samples/sample.pdf","url":"https://agents.crowdspark.me/v1/pdf/text/upload?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","required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"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.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MJHWcCR3J9_NE5sbkI6OY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from an uploaded PDF file (raw bytes, multipart, or base64), returning plain text or markdown with optional format selection.","exampleAgentPrompt":"Can you extract all the text from this PDF file I have — just upload the raw bytes and give me back the content as plain text?","exampleUseCases":[{"title":"Contract text extraction for legal review","prompt":"I have a PDF contract file — can you pull out all the text so I can search through the clauses and check for specific terms?"},{"title":"Research paper ingestion for summarization","prompt":"Extract the full text from this uploaded academic PDF so I can summarize it and pull out the key findings."},{"title":"Invoice text parsing for accounting","prompt":"I've got a PDF invoice — please extract all the text from it in plain text format so I can grab the line items and totals."}],"resultDescription":"Returns the extracted text content of the PDF as plain text or markdown (depending on the optional ?format= parameter). Covers all text layers present in the document. Bad or non-text PDFs return HTTP 400 with a descriptive hint and are not billed.","failureModes":["HTTP 400 if file does not start with %PDF (not a real PDF)","HTTP 400 if file exceeds 20 MB limit","HTTP 400 if PDF has no text layer (e.g. scanned image-only PDF without OCR)","HTTP 400 with hint message for malformed or corrupt PDF files","Network timeout on very large documents near the size limit"],"whenToPreferThis":"Use this endpoint when you have a PDF file available as raw bytes, a multipart upload, or base64-encoded content and need to extract its text layer quickly and cheaply. Prefer this over the URL-based PDF endpoint when the PDF is already in memory or on disk rather than hosted at a URL. For scanned PDFs without a text layer, use the OCR-capable document parsing endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:17.399Z","isFirstParty":false,"canonicalSlug":"pdf-to-text-extractor-upload-4e5be6b8"}