# ForgeMesh PDF Parser API

> ForgeMesh PDF Parser API 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).

Extracts and returns text from a publicly accessible PDF URL, preserving document layout, for use in document ingestion and RAG pipelines.

## Facts

- Endpoint: POST https://x402.forgemesh.io/pdf-parser-api
- 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-parser-api-85c72532
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_84FP2TZ2yf6ISazvZ2iei

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-parser-api-85c72532 -d '<json body>'
```

Example prompt: Can you extract all the text from this PDF contract so I can analyze it — here's the URL: https://example.com/contracts/agreement-2024.pdf

## When to prefer this

Choose this endpoint when you need to extract readable text from a digital (non-scanned) PDF accessible via a public URL, particularly for RAG ingestion, contract reading, or report analysis workflows where no data retention is desired and cost per call matters.

## Known failure modes

- PDF URL is not publicly accessible or returns a non-200 response
- PDF exceeds the 25MB size limit
- PDF is scanned/image-based rather than digital text (not parseable)
- URL does not point to a valid PDF file
- Network timeout when fetching the remote PDF
- Malformed or corrupted PDF file returns a parse error

## How this service works

PDF parser API for agents: URL in, extracted text out. Digital PDFs parsed with layout preserved. Use for document ingestion, RAG pipelines, contract reading, and report analysis. No retention.

## Output

Returns the extracted plain text content of the PDF, with layout preserved as closely as possible, ready for downstream processing such as embedding, summarization, or search indexing.

## 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-parser-api-85c72532/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)
