PDFs, JavaScript pages and ordinary HTML as clean Markdown
PDFs, JavaScript pages and ordinary HTML as clean Markdown. Pays a page's x402 toll for you. Follows robots.txt.
by url2md.io · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
PDFs, JavaScript pages and ordinary HTML as clean Markdown. Pays a page's x402 toll for you. Follows robots.txt.
Tags: markdown · url-to-markdown · scraping · pdf · llm-context · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-10
{
"format": "json",
"render": "auto",
"url": "https://example.com"
}{
"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
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/26756.jsonfor the price and payment options. - Pay. Call
GET https://url2md.io/v1/md. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 82 calls · 7 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xa09aE66Ec8664475697FfC0eb45aa3Fe52Aa6030 | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa09aE66Ec8664475697FfC0eb45aa3Fe52Aa6030",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON 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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"blockSuspected": {
"markers": [
"string"
]
},
"canonical": "string",
"charset": "string",
"contentSignal": "string",
"contentType": "string",
"description": "string",
"fetchedAt": "2026-01-01T00:00:00Z",
"finalUrl": "string",
"lang": "string",
"markdown": "string",
"redirects": [
{
"from": "string",
"status": 0,
"to": "string"
}
],
"render": {
"escalated": true,
"mode": "auto",
"reasons": [
"string"
]
},
"source": "static",
"timing": {
"browserMsUsed": 0,
"convertMs": 0,
"fetchMs": 0,
"renderMs": 0,
"totalMs": 0
},
"title": "string",
"tokensEstimate": 0,
"url": "string",
"warnings": [
"string"
],
"words": 0
},
"type": "string"
}Examples
curl "https://url2md.io/v1/md"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://url2md.io/v1/md");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://url2md.io/v1/md")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- url2md.io
- Endpoint
- https://url2md.io/v1/md
- Machine-readable
/resources/26756.json