# PDF to JSON Converter

> PDF to JSON Converter is a paid API for AI agents from x402.professorsausages.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Converts any PDF file (up to 10 MB) into structured JSON containing a per-page text array and document metadata

## Facts

- Endpoint: POST https://x402.professorsausages.com/convert/pdf-to-json
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-to-json-converter-9342ecb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LYSjc7qSS15TmFzFGfFgi

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 pdf-to-json-converter-9342ecb1 -d '<json body>'
```

Example prompt: Can you convert this PDF (https://example.com/report.pdf) into JSON so I get the text from each page as a structured array along with the document metadata?

## When to prefer this

Choose this endpoint when you need to extract readable text content and metadata from a PDF document in a structured, machine-readable JSON format — especially useful for downstream NLP, search indexing, or data pipelines. Best suited for text-based PDFs up to 10 MB; not ideal for scanned/image-only PDFs without OCR.

## Known failure modes

- PDF exceeds 10 MB size limit — request rejected
- Malformed or password-protected PDF — extraction fails with error
- Scanned image-only PDF with no embedded text — returns empty text arrays per page
- Invalid or unreachable PDF URL — fetch error returned
- Network timeout fetching remote PDF

## Output

A structured JSON object containing a per-page text array (one entry per PDF page with the extracted text) and document-level metadata such as page count, title, author, and other embedded PDF properties.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-to-json-converter-9342ecb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.professorsausages.com](https://www.zero.xyz/host/x402.professorsausages.com/llms.txt)
