# falcon.sol PDF to Text/Markdown

> falcon.sol PDF to Text/Markdown is a paid API for AI agents from falcondocs.vercel.app, paid per call via x402, $0.0025/call, status unknown (last checked 2026-11-01).

Converts a PDF (via URL or base64) to page-by-page plain text or markdown, with automatic OCR for scanned pages

## Facts

- Endpoint: POST https://falcondocs.vercel.app/v1/pdf-text?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/falcon-sol-pdf-to-text-markdown-8432d52c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QK1w7Mog3XhMtaRJdbZS3

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 falcon-sol-pdf-to-text-markdown-8432d52c -d '<json body>'
```

Example prompt: Can you extract the text from this PDF as markdown — including headings, bullets, and any tables — so I can feed it into my RAG pipeline? Here's the URL: https://example.com/report.pdf

## When to prefer this

Choose this endpoint when you need clean, page-by-page text or structured markdown from a PDF (including scanned documents) for feeding into LLMs, RAG pipelines, or document search indexes. It's especially suited for mixed PDFs that have both native text and scanned image pages, since it applies OCR automatically only where needed. Prefer it over generic OCR endpoints when you need structured markdown output with headings and tables preserved.

## Known failure modes

- PDF exceeds 60-page or 4 MB limit — request rejected
- Invalid or inaccessible PDF URL — fetch failure
- Corrupted or password-protected PDF — extraction fails
- Base64 encoding malformed — parse error
- Heavily degraded scan quality causes OCR to return poor or empty text

## How this service works

falcon.sol: PDF to plain text or markdown for agents and RAG pipelines. Send a URL or base64 PDF (max 60 pages, 4 MB); get page-by-page text in reading order, with automatic local OCR for scanned pages. format=markdown for headings, bullets and table rows. Empty result is not charged. $0.0025 USDC.

## Output

A page-by-page array of extracted text content in either plain text or markdown format. Markdown output preserves document structure including headings, bullet points, and table rows. Scanned pages are automatically processed via local OCR. Empty results are not charged.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/falcon-sol-pdf-to-text-markdown-8432d52c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from falcondocs.vercel.app](https://www.zero.xyz/host/falcondocs.vercel.app/llms.txt)
