# ForgeMesh PDF-to-Markdown Text Extractor

> ForgeMesh PDF-to-Markdown Text Extractor 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 URL and returns clean, layout-preserving extracted text in one API call

## Facts

- Endpoint: POST https://x402.forgemesh.io/pdf-to-markdown
- 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-to-markdown-text-extractor-b0c982f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Uqyk3gL62pAhlrxiFTwQl

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-to-markdown-text-extractor-b0c982f7 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to extract readable text from a publicly accessible PDF URL in a single API call, especially for document ingestion into RAG pipelines, LLM analysis, or text processing workflows. It preserves layout structure and handles digital PDFs up to 25MB. Prefer this over general-purpose scraping tools when the target is specifically a PDF file.

## Known failure modes

- PDF URL is not publicly accessible or requires authentication — returns error
- PDF exceeds 25MB size limit — returns error
- URL does not point to a valid PDF file — returns error
- PDF is image-based/scanned (not digital text) — may return empty or garbled text
- Network timeout fetching the remote PDF URL — returns error

## How this service works

PDF text extraction API: give it any public PDF URL and get clean layout-preserving text back in one call. Handles digital PDFs up to 25MB. Use it as a PDF parser, PDF-to-text converter, or document ingestion step for RAG and analysis agents. Files are processed in a temp sandbox and deleted immediately.

## Output

Clean, layout-preserving extracted text from the PDF document, suitable for further processing, analysis, or RAG ingestion. Files are processed in a temporary sandbox and deleted immediately 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-to-markdown-text-extractor-b0c982f7/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)
