Convert a supplied HTML string into deterministic, LLM-ready Markdown
Convert a supplied HTML string into deterministic, LLM-ready Markdown. Preserves headings, links, lists, emphasis, and code without fetching a URL or invoking an AI model. Input is bounded to 2,000,000 characters.
5000 (raw units)
price
8
calls / 30d
6
unique payers
2026-09-17
updated
Provider
fetchharbor.benlab.download · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xAED4a496Fed1132b94C0A5f9Fb5eE7cf63D869C2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"html": "<h1>Hello</h1>"
},
"type": "http"
},
"output": {
"example": {
"character_count": 7,
"markdown": "# Hello",
"status": "success",
"truncated": false
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"html": {
"type": "string"
}
},
"required": [
"html"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"character_count": {
"minimum": 0,
"type": "integer"
},
"markdown": {
"type": "string"
},
"status": {
"const": "success",
"type": "string"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"status",
"markdown",
"character_count",
"truncated"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://fetchharbor.benlab.download/html-to-md" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://fetchharbor.benlab.download/html-to-md");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://fetchharbor.benlab.download/html-to-md")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7469.json, and this resource appears in /discovery/resources and /discovery/search.