{"uid":"cap_NAqaeHQqh23OONfjiN9HF","slug":"delx-pdf-text-extraction-bf4ffcb9","name":"Delx PDF Text Extraction","description":"Delx is an independent AI agent lab building and studying continuity, recovery, verifiable work and governed exchange for autonomous systems.","url":"https://api.delx.ai/api/v1/x402/pdf-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max_chars":{"type":"integer","default":200000,"maximum":200000,"minimum":1,"description":"Maximum UTF-8 characters returned; extraction remains bounded."},"pdf_base64":{"type":"string","maxLength":5592406,"minLength":1,"description":"One base64-encoded PDF up to 4 MiB decoded; application/pdf data URIs are accepted."},"file_base64":{"type":"string","maxLength":5592406,"minLength":1,"description":"Alias for pdf_base64."}}},"responseSchema":{"type":"json","example":{"text":"Extracted PDF text","bytes":48210,"chars":19,"model":"poppler-pdftotext","scope":"pdf_text","schema":"delx/pdf-text/v1","provider":"first-party","truncated":false,"attribution":"Text extracted locally by Delx with Poppler; no document is stored, fetched, or sent to a third-party provider. Scanned-image OCR is not included.","document_id":"pdf_6fd2b8d1b8ddf0f3e9a9b2c4d5e6f708","input_sha256":"6fd2b8d1b8ddf0f3e9a9b2c4d5e6f7081234567890abcdef1234567890abcdef","output_sha256":"c5f7b2d4c1e7a0f9b6d2e8c3a4f5b6071234567890abcdef1234567890abcdef","pages_observed":2,"sale_price_usdc":0.003,"upstream_cost_usd":0,"gross_margin_floor_usd":0.0028425}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M0DAU3_dKl1ihbUoxc9lZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts bounded UTF-8 text from a caller-supplied base64-encoded PDF using local first-party parsing, with no document storage.","exampleAgentPrompt":"Can you extract the text from this PDF I'm sending you — here it is as a base64 string — and return up to 100000 characters of the content?","exampleUseCases":[{"title":"Contract text extraction for analysis","prompt":"I have a legal contract as a base64-encoded PDF. Can you extract all the text from it so I can analyze the clauses? Return up to 200000 characters."},{"title":"Resume parsing for recruitment pipeline","prompt":"Here's a job applicant's resume encoded in base64 PDF format — can you pull out all the text from it so I can run it through my screening logic?"},{"title":"Invoice data extraction for accounting","prompt":"I've got an invoice PDF encoded in base64 that I need to read the text from — please extract it and return up to 50000 characters so I can parse out the line items and totals."}],"resultDescription":"Returns bounded UTF-8 text extracted from the PDF (up to max_chars, default 200,000), along with a SHA-256 receipt confirming the extraction. No document is stored server-side and no external URL is fetched.","failureModes":["PDF exceeds 4 MiB decoded size — request rejected","base64 input is malformed or not a valid PDF — parsing error returned","max_chars set to 0 or above 200,000 — validation error","Scanned image-only PDF with no embedded text — returns empty or minimal text (OCR is a separate product)","Payment not completed or insufficient USDC — request blocked by x402 payment gate"],"whenToPreferThis":"Choose this endpoint when you need to extract embedded UTF-8 text from a digitally-created PDF (not a scanned image) without sending the document to external storage or a third-party service. Ideal for privacy-sensitive documents like contracts, invoices, and resumes where no-storage guarantees matter. Use the sibling Delx PDF OCR endpoint instead when dealing with scanned or image-based PDFs that require optical character recognition.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T01:04:35.299Z","isFirstParty":false,"canonicalSlug":"delx-pdf-text-extraction-bf4ffcb9"}