url2md
PDFs, JavaScript pages and ordinary HTML as clean Markdown. Pays a page's x402 toll for you. Follows robots.txt.
Offering
- Provider
- url2md.io
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://url2md.io/v1/md- MIME type
- Not provided
- First seen
- 2026-10-23T22:10:39.289Z
- Last seen
- Tags
- markdown, url-to-markdown, scraping, pdf, llm-context
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0xa09aE66Ec8664475697FfC0eb45aa3Fe52Aa6030"
}
]Observed health
- Status
- Healthy
- Latest latency
- 330 ms
- Average latency
- 929 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 7 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"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.",
"format": "uri",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"url"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}Output schema
{
"properties": {
"example": {
"description": "The conversion result. The same metadata always travels in response headers as well, so a caller that asked for text/markdown still gets it: X-Url2md-Source (static | browser | pdf | origin-markdown | text), X-Url2md-Final-Url, X-Url2md-Title (percent-encoded), X-Url2md-Words, X-Url2md-Tokens-Estimate, X-Url2md-Ledger-Id (the ledger row for the settled payment), and X-Url2md-Upstream-Toll (USD paid to the origin when the page itself charged an x402 toll, absent otherwise). The x402 settlement receipt is in PAYMENT-RESPONSE. Errors are JSON with a stable error.code, and any error after a charge carries error.details.callerCharged with the ledger id.",
"properties": {
"blockSuspected": {
"description": "set when what came back looks like a bot challenge or block page rather than the page: the origin answered 200 and the call was charged, but the content is probably not what was asked for. Also sent as X-Url2md-Block-Suspected, and named in warnings[].",
"properties": {
"markers": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": [
"object",
"null"
]
},
"canonical": {
"type": [
"string",
"null"
]
},
"charset": {
"type": [
"string",
"null"
]
},
"contentSignal": {
"description": "Upstream Content-Signal header, passed through untouched",
"type": [
"string",
"null"
]
},
"contentType": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fetchedAt": {
"format": "date-time",
"type": "string"
},
"finalUrl": {
"description": "the URL after redirects; also sent as X-Url2md-Final-Url",
"type": "string"
},
"lang": {
"type": [
"string",
"null"
]
},
"markdown": {
"description": "the converted page",
"type": "string"
},
"redirects": {
"items": {
"properties": {
"from": {
"type": "string"
},
"status": {
"type": "integer"
},
"to": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"render": {
"properties": {
"escalated": {
"type": "boolean"
},
"mode": {
"enum": [
"auto",
"static",
"browser"
],
"type": "string"
},
"reasons": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"source": {
"description": "how the markdown was produced; also sent as X-Url2md-Source",
"enum": [
"static",
"browser",
"pdf",
"origin-markdown",
"text"
],
"type": "string"
},
"timing": {
"properties": {
"browserMsUsed": {
"type": [
"integer",
"null"
]
},
"convertMs": {
"type": "integer"
},
"fetchMs": {
"type": "integer"
},
"renderMs": {
"type": [
"integer",
"null"
]
},
"totalMs": {
"type": "integer"
}
},
"type": "object"
},
"title": {
"description": "also sent percent-encoded as X-Url2md-Title",
"type": [
"string",
"null"
]
},
"tokensEstimate": {
"description": "also sent as X-Url2md-Tokens-Estimate",
"type": "integer"
},
"url": {
"description": "the URL as asked for",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
},
"words": {
"description": "also sent as X-Url2md-Words",
"type": "integer"
}
},
"required": [
"url",
"finalUrl",
"source",
"markdown",
"words",
"tokensEstimate",
"fetchedAt",
"timing",
"render",
"warnings"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}