{"uid":"cap_nCtE5zYbZzDDcxzvNpE-j","slug":"pdf-table-extractor-x402-d3d173a0","name":"PDF Table Extractor (x402)","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.mmelnyk2000.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_rkKnVUTObQ4nk8hDz3qoo","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 a PDF document (via URL or base64) and returns them as JSON with page numbers, headers, and rows","exampleAgentPrompt":"Can you extract all the tables from this PDF report and give me the data as structured JSON? Here's the URL: https://example.com/annual-report.pdf — check up to 5 pages.","exampleUseCases":[{"title":"Financial report table extraction","prompt":"Pull out all the tables from this financial report PDF at https://example.com/financials-2024.pdf — I need the headers and rows as JSON so I can analyze the numbers. Limit it to the first 10 pages."},{"title":"Invoice data parsing from PDF","prompt":"I have an invoice PDF encoded in base64 — can you extract the line-item table from it? The columns should map to 'description', 'quantity', 'unit price', and 'total'."},{"title":"Research paper data extraction","prompt":"Extract the data tables from this academic paper at https://journals.example.com/study.pdf and return them as structured JSON with page numbers, so I can see which table is on which page."}],"resultDescription":"Returns a JSON object containing: total page count processed, an array of tables (each with the page number it appeared on, an array of header strings, and a 2D array of row data), and any warnings (e.g. about scan-based pages that couldn't be parsed in-worker).","failureModes":["PDF URL is not publicly accessible or requires authentication — returns error","PDF is a scanned image and no HOSTED_PARSER_URL is configured — tables cannot be extracted, warning returned","max_pages exceeds allowed range (1-10) — validation error","base64 encoding is malformed — parse error","PDF has no tabular content — returns empty tables array","Payment of $0.01 USDC not completed via x402 — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract structured tabular data from text-based PDFs and want a cheap per-call ($0.01 USDC) serverless solution. It supports both base64-encoded PDFs and HTTPS URLs, and allows optional schema mapping for known column headers. Best for text PDFs; scanned PDFs require an external hosted parser. Prefer this over general-purpose PDF tools when you need clean JSON output with per-table, per-page structure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:35:51.870Z","isFirstParty":false,"canonicalSlug":"pdf-table-extractor-x402-d3d173a0"}