{"uid":"cap_xM8a6Yy41U-2-ZR5dPKuU","slug":"pdf-table-extractor-rainmaker-wells-aea68e8c","name":"PDF Table Extractor (Rainmaker Wells)","description":"Extract tables from a PDF ($0.01 USDC via x402). Pass pdf_base64 or a https pdf_url. Optional schema maps headers. Optional max_pages (1-10). Returns JSON { pages, tables: [{ page, headers, rows }], warnings }. Text PDFs are parsed in-worker; scans require HOSTED_PARSER_URL.","url":"https://well-001-extract-table.rainmaker-wells.workers.dev/mcp?utm_source=zero.xyz#extract-table-from-pdf#extract-table-from-pdf","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uNC158V-5NjbJJOaN0ZwT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured tables from PDF files, returning headers and rows as JSON, with optional schema mapping and page limits.","exampleAgentPrompt":"Can you extract all the tables from this PDF I have — here's the URL: https://example.com/report.pdf — and give me the headers and rows as structured JSON? Limit it to the first 5 pages.","exampleUseCases":[{"title":"Financial report table extraction","prompt":"I have an annual report PDF at https://example.com/annual-report-2024.pdf — can you pull out all the financial tables from the first 10 pages and give me the data with headers and rows?"},{"title":"Invoice line item parsing","prompt":"Extract the line items table from this invoice PDF I'm sending as base64 — I want the columns mapped to 'description', 'quantity', 'unit_price', and 'total'."},{"title":"Research paper data table extraction","prompt":"There's a research paper at https://journals.example.com/study.pdf with statistical tables I need — can you extract the tables from the first 3 pages and return them as structured JSON?"}],"resultDescription":"Returns a JSON object containing: the total number of pages processed, an array of tables each with their page number, column headers, and row data, plus any warnings (e.g. scan-detected pages that required an external parser).","failureModes":["Invalid or inaccessible PDF URL returns an error","PDF is a scanned image without HOSTED_PARSER_URL configured — scan pages cannot be parsed in-worker","max_pages exceeds allowed range (1-10)","Base64-encoded PDF is malformed or too large","Payment of $0.01 USDC via x402 fails or is not provided","PDF contains no detectable tables — returns empty tables array with warnings"],"whenToPreferThis":"Choose this endpoint when you need to extract structured tabular data from a PDF document programmatically, especially when the PDF contains text-based tables (not scanned images). It is well-suited for financial reports, invoices, data sheets, and research papers where table structure needs to be preserved as headers and rows. At $0.01 per call it is cost-effective for one-off or moderate-volume extraction tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:29.076Z","isFirstParty":false,"canonicalSlug":"pdf-table-extractor-rainmaker-wells-aea68e8c"}