$0.005
per call · USDC on Base Sepolia
Convert a URL to clean Markdown (static, JavaScript-rendered, or PDF)
Endpoint
POST https://url2md-testnet.url2md.workers.dev/v1/md18
Calls / 30d
1
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://url2md-testnet.url2md.workers.dev/v1/md", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"format": "json",
"render": "auto",
"url": "https://example.com"
}),
});
const data = await res.json();curl -X POST \
"https://url2md-testnet.url2md.workers.dev/v1/md" \
-H "Content-Type: application/json" \
-d '{"format":"json","render":"auto","url":"https://example.com"}' \
-H "X-PAYMENT: <signed x402 payment>"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
}Payment details
0x8296e7e70a3b019cdf87747bfbce4a6d24059a94USDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7eIs this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from url2md & similar services
url2md · MD
url2md.io
Convert a URL to clean Markdown (static, JavaScript-rendered, or PDF)
StableEnrich · EXA Search
stableenrich.dev
Exa Search - Neural search across the web
Twit · Tweets Search
x402.twit.sh
Search Twitter/X tweets with advanced filters. Returns up to 20 tweets per page, most recent first, with pagination. At least one filter required. Params: words, phrase, anyWords, noneWords, hashtags, from, to, mentioning, minReplies, minLikes, minReposts, since (YYYY-MM-DD), until, next_token. e.g. GET /tweets/search?words=bitcoin&from=elonmusk&minLikes=100. Returns X v2 API-compatible JSON.