Convert documents between formats with pandoc
Convert documents between formats with pandoc: Markdown, HTML, DOCX, ODT, EPUB, RST, LaTeX, RTF, plain text and PDF. Input as text (content), file (file_base64, max 10 MB: docx, odt, epub, rtf) or url. Input format is detected automatically or set with from. Text outputs come back as content, binary outputs (docx, odt, epub, pdf) as file_base64. Local file includes and remote images are not loaded. Params: to (required), content or file_base64 or url, from, title.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agentsvc.io/api/v1/proxy/doc-convert
| Category | Image and media |
|---|---|
| Provider host | agentsvc.io |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 10 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.01 | 886 ms |
Example input (from the provider)
{
"body": {
"content": "# Quarterly Report\n\n| Quarter | Revenue |\n|---|---|\n| Q1 | 12 |",
"to": "docx"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"content": {
"description": "Document text (markdown, html, rst, latex, org, csv ...)",
"type": "string"
},
"file_base64": {
"description": "Binary document (docx, odt, epub, rtf), base64",
"type": "string"
},
"from": {
"description": "Input format, e.g. markdown, html, docx, rst, latex; detected if omitted",
"type": "string"
},
"title": {
"type": "string"
},
"to": {
"enum": [
"markdown",
"html",
"docx",
"odt",
"epub",
"rst",
"latex",
"plain",
"rtf",
"pdf"
],
"type": "string"
},
"url": {
"description": "URL of the document (max 10 MB)",
"type": "string"
}
},
"required": [
"to"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"content": {
"type": "string"
},
"from": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"source": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to",
"mime_type"
],
"type": "object"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"data"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}