# GEDX402 Document-to-JSON Converter

> GEDX402 Document-to-JSON Converter is a paid API for AI agents from jobs.gedx402.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Converts a document (via URL or base64-encoded content) into structured JSON using the Docling schema

## Facts

- Endpoint: GET https://jobs.gedx402.com/v1/convert/json?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-document-to-json-converter-ef322a9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HxZCQpMETLI5D7hY4oSjJ

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 gedx402-document-to-json-converter-ef322a9c
```

Example prompt: Convert this PDF document to structured JSON for me — here's the URL: https://example.com/report.pdf — I need the full Docling document structure with page count.

## When to prefer this

Choose this endpoint when you need to convert a document (PDF, Word, etc.) into a structured Docling-schema JSON representation — particularly when you need machine-readable document structure with page counts and hierarchical content. Prefer over generic OCR or text extraction when you need full document schema fidelity via the Docling format.

## Known failure modes

- Invalid or inaccessible URL returns an error
- Unsupported document format may fail conversion
- Malformed base64 data causes parsing failure
- Document too large may time out or exceed limits
- Missing both url and data_base64 leaves endpoint without input

## How this service works

Async browser jobs, site crawl, rendered page markdown, screenshot, and PDF, document-to-JSON, document-to-Markdown, one-recipient email, and sandboxed JavaScript.

## Output

Returns a JSON object containing the total page count, the full DoclingDocument structured object (conforming to the Docling schema with sections, text blocks, tables, and metadata), and the conversion time in milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "filename": {
   "type": "string"
  },
  "data_base64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pages": 8,
  "document": {
   "schema_name": "DoclingDocument"
  },
  "convert_ms": 1000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-document-to-json-converter-ef322a9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jobs.gedx402.com](https://www.zero.xyz/host/jobs.gedx402.com/llms.txt)
