# Sift Web Tools – Document to Markdown Converter

> Sift Web Tools – Document to Markdown Converter is a paid API for AI agents from sift.srv1996466.hstgr.cloud, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-23).

Fetches a remote document file (DOCX, PDF, etc.) by URL and returns its content as clean Markdown text

## Facts

- Endpoint: GET https://sift.srv1996466.hstgr.cloud/v1/doc-to-markdown?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sift-web-tools-document-to-markdown-converter-4c28ff6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b8YtjV9ktEMle5OSfCLtR

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 sift-web-tools-document-to-markdown-converter-4c28ff6e
```

Example prompt: Can you fetch this Word document at https://example.com/reports/quarterly.docx and convert its contents to markdown so I can read it?

## When to prefer this

Choose this endpoint when you have a URL pointing to a remote document file (DOCX, PDF, etc.) and need its content as structured Markdown. It preserves tables, headings, and lists — ideal for downstream summarization, Q&A, or data extraction. Prefer it over /v1/fetch (which targets HTML pages) or /v1/pdf (PDF-only) when dealing with office document formats or when you need Markdown formatting retained.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint will not charge and returns an error
- Document type is unsupported or cannot be parsed — returns an error with detected_type
- max_chars too low, resulting in truncated output
- File is password-protected or DRM-restricted — extraction fails
- Network timeout on large documents

## How this service works

Convert Word, Excel, PowerPoint, PDF, EPUB or HTML to Markdown. Give a document URL (docx, xlsx, xls, pptx, pdf, epub, html, csv, json, xml; up to 30 MB) and get clean Markdown with headings, lists and tables kept.

## Output

A JSON object containing the document's content rendered as Markdown (with headings, tables, and lists preserved), the total character count of the extracted text, and the detected document type (e.g. 'docx', 'pdf').

## 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": "Document URL"
      },
      "max_chars": {
       "type": "integer",
       "description": "Max characters (default 100000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "markdown": "# Quarterly report\n\n| Region | Sales |\n|---|---|\n| North | 120 |",
  "characters": 412,
  "detected_type": "docx"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sift-web-tools-document-to-markdown-converter-4c28ff6e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sift.srv1996466.hstgr.cloud](https://www.zero.xyz/host/sift.srv1996466.hstgr.cloud/llms.txt)
