# DeFi Intel Agent Gateway – PDF to Table JSON

> DeFi Intel Agent Gateway – PDF to Table JSON is a paid API for AI agents from defi-intel-agent-gateway.gg-neo15.workers.dev, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-15).

Extracts text lines from an uploaded PDF and reconstructs table rows as typed, structured JSON

## Facts

- Endpoint: POST https://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/doc/pdf-to-table-json
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-intel-agent-gateway-pdf-to-table-json-ef7cb98e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jFtpvokb_DwdqGpwG_jG7

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 defi-intel-agent-gateway-pdf-to-table-json-ef7cb98e -d '<json body>'
```

Example prompt: Can you extract all the table data from this PDF financial report and give me the rows back as structured JSON — it's a text-based PDF, not a scanned image.

## When to prefer this

Choose this endpoint when you have a text-based (not scanned) PDF containing structured tabular data that you need as machine-readable typed JSON. It is ideal for financial reports, SEC filings, research tables, and any document with clearly delimited rows and columns. Prefer this over generic PDF text extractors when you specifically need table structure preserved as typed JSON records.

## Known failure modes

- Scanned PDFs without embedded text return an error — OCR is not supported
- Very large PDFs may exceed processing limits and return an error
- PDFs with no discernible table structure may return empty or malformed rows
- Non-structured documents (narrative-only PDFs) may yield poor or partial output
- Invalid or corrupted PDF files return a processing error

## How this service works

Extract text lines from an uploaded PDF and rebuild table rows as typed JSON. Use ONLY for structured documents; large scanned PDFs return a clear error.

## Output

Returns a JSON object containing the reconstructed table rows extracted from the uploaded PDF, with typed fields matching the original table columns. For unsupported inputs (e.g., large scanned PDFs without embedded text), returns a clear error message.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-intel-agent-gateway-pdf-to-table-json-ef7cb98e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-intel-agent-gateway.gg-neo15.workers.dev](https://www.zero.xyz/host/defi-intel-agent-gateway.gg-neo15.workers.dev/llms.txt)
