# PDF Text Extraction API

> PDF Text Extraction API is a paid API for AI agents from agentic-endpoints-testnet.oliver-835.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Extracts plain text from a PDF document at a given URL, optionally limited to specific pages

## Facts

- Endpoint: GET https://agentic-endpoints-testnet.oliver-835.workers.dev/pdf-parse
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-text-extraction-api-79a32cd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WahMA66vlu2xVIgV4DHZe

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-text-extraction-api-79a32cd4
```

Example prompt: Can you extract all the text from this PDF for me? https://example.com/report.pdf — I only need pages 1, 3, and 5.

## When to prefer this

Choose this endpoint when you need to programmatically extract text from a PDF hosted at a public URL, especially when you want to target specific pages rather than the whole document. It is well-suited for agent workflows that need to read contracts, reports, invoices, or academic papers before downstream analysis. Prefer it over general web scrapers when the source is specifically a PDF file.

## Known failure modes

- URL is inaccessible or returns a non-200 response — endpoint cannot fetch the PDF
- URL does not point to a valid PDF file — parsing fails
- Specified page numbers are out of range for the document — may return empty or error
- Password-protected or encrypted PDFs cannot be parsed — extraction fails
- Very large PDFs may time out or exceed processing limits

## How this service works

PDF text extraction

## Output

Plain text content extracted from the PDF, either for all pages or the specified subset of pages, returned as a structured text response ready for further processing or display.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL of the PDF"
  },
  "pages": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "Specific pages to extract (default: all)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-text-extraction-api-79a32cd4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentic-endpoints-testnet.oliver-835.workers.dev](https://www.zero.xyz/host/agentic-endpoints-testnet.oliver-835.workers.dev/llms.txt)
