Convert supplied article HTML to cleaned Markdown with text, heading, link and code checks
Convert supplied article HTML to cleaned Markdown with text, heading, link and code checks. No URL fetching.
4000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-14
updated
Provider
m2m.sgfleetmedia.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9b3b469b4219395ebb68e750e04a1835ec75a549",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"html": "<article><h1>Example</h1><p>A short article.</p></article>"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"markdown": "# Example\n\nA short article.",
"receipt_status": "confirmed",
"replayed": false,
"report": {
"conversion_ms": 0,
"images_as_alt": 0,
"input_bytes": 58,
"output_bytes": 27,
"output_sha256": "fb5041624c41a3709eca667dbbc7743c8ee25ad201b7c0788a654f19d69774d7",
"relative_links_as_text": 0,
"removed": {
"aside": 0,
"footer": 0,
"nav": 0,
"noscript": 0,
"script": 0,
"style": 0,
"template": 0
},
"scope": "article",
"unsafe_links_as_text": 0,
"verification": "text+headings+links+code-roundtrip",
"verification_ms": 0
},
"transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"html": {
"description": "One article/main; at most 131072 UTF-8 bytes. No URL fetching.",
"maxLength": 131072,
"minLength": 1,
"type": "string"
}
},
"required": [
"html"
],
"type": "object"
},
"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": {
"properties": {
"example": {
"properties": {
"markdown": {
"maxLength": 262144,
"type": "string"
},
"receipt_status": {
"const": "confirmed"
},
"replayed": {
"type": "boolean"
},
"report": {
"properties": {
"input_bytes": {
"maximum": 131072,
"type": "integer"
},
"output_bytes": {
"maximum": 262144,
"type": "integer"
},
"output_sha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"verification": {
"const": "text+headings+links+code-roundtrip"
}
},
"required": [
"verification",
"output_sha256",
"input_bytes",
"output_bytes"
],
"type": "object"
},
"transaction": {
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
}
},
"required": [
"markdown",
"report",
"replayed",
"receipt_status",
"transaction"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://m2m.sgfleetmedia.com/v1/article-markdown" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://m2m.sgfleetmedia.com/v1/article-markdown");
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://m2m.sgfleetmedia.com/v1/article-markdown")
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/13492.json, and this resource appears in /discovery/resources and /discovery/search.