# ForgeMesh PDF Document Reader

> ForgeMesh PDF Document Reader is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Fetches a public PDF by URL and returns its full text content with structure preserved, processing files up to 25MB in an isolated sandbox.

## Facts

- Endpoint: POST https://x402.forgemesh.io/pdf-document-reader
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-pdf-document-reader-efdab895
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cdLke9XFbKTbNRisu46a0

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 forgemesh-pdf-document-reader-efdab895 -d '<json body>'
```

Example prompt: Can you read the text out of this PDF for me? Here's the link: https://example.com/report-2024.pdf

## When to prefer this

Use this endpoint when a workflow needs the text content of a PDF as plain text rather than a binary file download. Ideal for reading reports, contracts, research papers, or any public PDF document programmatically. Prefer this over generic scraping tools when the target is specifically a PDF file up to 25MB.

## Known failure modes

- PDF URL is not publicly accessible or requires authentication — request fails
- PDF exceeds 25MB size limit — rejected
- File at URL is not a valid PDF — parsing error returned
- URL is unreachable or returns a non-200 response — fetch error
- Scanned/image-only PDFs with no embedded text layer return empty or minimal text
- Malformed or encrypted PDFs may fail to parse

## How this service works

Reads a public PDF and returns its text content with structure preserved, handling standard digital PDFs up to 25MB. Files are processed in an isolated sandbox and discarded immediately. Useful anywhere a workflow needs a PDF's contents as plain text instead of a downloadable binary.

## Output

Returns the full plain text content of the PDF with document structure preserved, extracted from files up to 25MB in size. The file is processed in an isolated sandbox and discarded after extraction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pdf_url": {
   "type": "string",
   "description": "Public URL of a PDF file, max 25MB"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Hello World"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-pdf-document-reader-efdab895/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
