# GEDX402 Document-to-Markdown Converter

> GEDX402 Document-to-Markdown 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-30).

Converts a document (by URL or base64-encoded file) into Markdown text, returning the rendered content and page count.

## Facts

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

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-markdown-converter-8d2d9f4d
```

Example prompt: Convert this PDF report into Markdown for me — here's the URL: https://example.com/annual-report-2024.pdf

## When to prefer this

Choose this endpoint when you need to convert a document (PDF, Word, etc.) into Markdown programmatically, especially via a pay-per-use micropayment model over x402. It is well-suited for AI pipelines that need readable, structured text from binary documents without maintaining a self-hosted conversion stack.

## Known failure modes

- Invalid or unreachable URL returns an error with no markdown content
- Unsupported file format may result in empty or garbled markdown output
- Malformed base64 data causes a parsing failure
- Payment not completed (HTTP 402) blocks the request from being processed
- Very large documents may time out or return partial results

## 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 full Markdown representation of the document, the total page count, and the time taken to perform the conversion 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,
  "markdown": "# Report\n",
  "convert_ms": 1000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-document-to-markdown-converter-8d2d9f4d/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)
