# PDF Table Extractor (Rainmaker Wells)

> PDF Table Extractor (Rainmaker Wells) is a paid API for AI agents from well-001-extract-table.rainmaker-wells.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Extracts structured tables from PDF files, returning headers and rows as JSON, with optional schema mapping and page limits.

## Facts

- Endpoint: POST https://well-001-extract-table.rainmaker-wells.workers.dev/mcp?utm_source=zero.xyz#extract-table-from-pdf#extract-table-from-pdf
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-table-extractor-rainmaker-wells-aea68e8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xM8a6Yy41U-2-ZR5dPKuU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pdf-table-extractor-rainmaker-wells-aea68e8c -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-table-extractor-rainmaker-wells-aea68e8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from well-001-extract-table.rainmaker-wells.workers.dev](https://www.zero.xyz/host/well-001-extract-table.rainmaker-wells.workers.dev/llms.txt)
