# Document to Markdown Converter

> Document to Markdown Converter is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-13).

Fetches a public document URL and converts its content to Markdown text, up to 200,000 characters.

## Facts

- Endpoint: GET https://skinwinking.com/api/v1/web/document-to-markdown?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/document-to-markdown-converter-e2ff05c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zJCS6e3zKNtGb68z1fAng

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 document-to-markdown-converter-e2ff05c5
```

Example prompt: Can you fetch the document at https://example.com/report.pdf and convert it to markdown? Keep it under 50000 characters.

## When to prefer this

Choose this endpoint when you need to convert a publicly accessible document (PDF, web page, etc.) to Markdown in a single low-cost API call with pay-per-use pricing via x402/USDC. Prefer it over browser-based scrapers when the input is a document URL and the desired output is clean Markdown text, especially in agent pipelines where micro-payment billing is already configured.

## Known failure modes

- URL is not publicly accessible — returns error or empty response
- Document format not supported or not parseable — may return partial or empty markdown
- maxChars limit not respected if document is very small — returns full content
- Network timeout if document is very large or slow to download
- Invalid URL format — returns validation error

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

Returns a JSON object containing a 'markdown' field with the full converted markdown text of the fetched document, truncated to the specified maxChars limit (default 50,000, max 200,000).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public document URL"
      },
      "maxChars": {
       "type": "integer",
       "default": 50000,
       "maximum": 200000,
       "minimum": 1000
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "markdown": "# Dummy PDF file"
 }
}
```

## More

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