# Agent Data API – PDF to Text

> Agent Data API – PDF to Text is a paid API for AI agents from agent-data-api-ui1c.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Converts a PDF document (by URL or upload) into extracted plain text using a pay-per-call x402/USDC model

## Facts

- Endpoint: POST https://agent-data-api-ui1c.onrender.com/pdf
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-api-pdf-to-text-699a70fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CMCdwbJ55f_vhE0KzWZmJ

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 agent-data-api-pdf-to-text-699a70fb -d '<json body>'
```

Example prompt: Can you pull all the text out of this PDF for me? Here's the URL: https://example.com/report.pdf

## When to prefer this

Choose this endpoint when you need to programmatically extract text from a PDF and want a simple pay-per-call model without subscription overhead. Especially useful for AI agent pipelines that occasionally need to ingest PDFs without setting up dedicated document processing infrastructure. The x402/USDC micropayment model makes it ideal for low-volume or on-demand use cases.

## Known failure modes

- Invalid or inaccessible PDF URL returns an error
- Password-protected or encrypted PDFs may fail to extract
- Scanned image-only PDFs with no embedded text layer return empty or minimal text
- Malformed PDF files may cause parsing errors
- Payment failure via x402 protocol results in 402 response and no content returned

## How this service works

Pay-per-call data services for AI agents: web extraction (text, Markdown, metadata), PDF-to-text, RSS/Atom parsing, FX and crypto prices, weather, DNS and email validation. All paid endpoints use the x402 payment protocol (USDC).

## Output

Returns the plain text content extracted from the submitted PDF document, suitable for further processing, summarization, search, or analysis by an AI agent.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-api-pdf-to-text-699a70fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-api-ui1c.onrender.com](https://www.zero.xyz/host/agent-data-api-ui1c.onrender.com/llms.txt)
