# agentshelf.syntexa.ch PDF to Markdown Converter

> agentshelf.syntexa.ch PDF to Markdown Converter is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Extracts text from a PDF (via public URL or base64-encoded content) and returns it as formatted Markdown for $0.01 USDC per call.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/pdf-to-md?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-pdf-to-markdown-converter-5e83760b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cYAY0rx6NWkUia-7P07aw

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 agentshelf-syntexa-ch-pdf-to-markdown-converter-5e83760b -d '<json body>'
```

Example prompt: Can you extract the text from this PDF and give it to me as markdown? 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 PDF document — either from a public URL or as a base64-encoded file — and want the output in Markdown format. Prefer the free sandbox endpoint (POST /v1/sandbox/pdf-to-md) for testing. Choose this paid endpoint for production use or when the sandbox is unavailable.

## Known failure modes

- URL is not publicly accessible or returns a non-PDF content type
- PDF exceeds the 8MB base64 cap (~11MB encoded)
- URL triggers SSRF protection (private IP ranges, localhost, internal hostnames)
- Malformed or encrypted PDF that cannot be parsed
- Payment of exactly $0.01 USDC not included or rejected

## How this service works

Call when an agent needs text extracted from a public PDF URL (SSRF-safe) or pdf_base64 (8MB cap) as markdown. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/pdf-to-md first.

## Output

A Markdown-formatted string containing the extracted text and structure from the PDF, preserving headings, paragraphs, and lists where detectable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "examples": [
    "https://example.com/doc.pdf"
   ],
   "maxLength": 2048,
   "minLength": 8,
   "description": "Public http(s) URL of a PDF. Provide url or pdf_base64, not both. Private hosts are rejected."
  },
  "pdf_base64": {
   "type": "string",
   "maxLength": 11184843,
   "minLength": 1,
   "description": "Base64-encoded PDF, 8MB decoded cap. Provide pdf_base64 or url, not both."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-syntexa-ch-pdf-to-markdown-converter-5e83760b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
