GET
$0.0057 default
/v1/mdDescription
PDFs, JavaScript pages and ordinary HTML as clean Markdown. Pays a page's x402 toll for you. Follows robots.txt.
Pricing
$0.0057 default
Parameters
{
"properties": {
"format": {
"description": "json: the whole result object. markdown: the markdown body alone, sent as text/markdown. Omit it and the format follows the Accept header (text/markdown → markdown), else json.",
"enum": [
"json",
"markdown"
],
"type": "string"
},
"render": {
"default": "auto",
"description": "auto: static first, browser only when the page looks client-rendered. static: never use a browser. browser: always render in a headless browser.",
"enum": [
"auto",
"static",
"browser"
],
"type": "string"
},
"url": {
"description": "Absolute http(s) URL to convert; percent-encode it in the query string. http and https only, no credentials in the URL, no private, loopback or internal hosts, and the port must be one Cloudflare proxies (80, 443, 8080, 8443, 8880, 2052/2053/2082/2083/2086/2087/2095/2096). robots.txt is honoured for the user-agent token url2md.",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Example response
{
"canonical": null,
"charset": "utf-8",
"contentSignal": null,
"contentType": "text/html",
"description": null,
"fetchedAt": "2026-09-06T03:45:14.033Z",
"finalUrl": "https://example.com/",
"lang": null,
"markdown": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
"redirects": [],
"render": {
"escalated": false,
"mode": "auto",
"reasons": []
},
"source": "static",
"timing": {
"browserMsUsed": null,
"convertMs": 3,
"fetchMs": 268,
"renderMs": null,
"totalMs": 412
},
"title": "Example Domain",
"tokensEstimate": 42,
"url": "https://example.com",
"warnings": [],
"words": 24
}