Convert between markdown, HTML, plain text, JSON and CSV
Convert between markdown, HTML, plain text, JSON and CSV. Body: { from, to, input }.
20000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-17
updated
Provider
rook-x402-service.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0xF23C807195B18f2c1B993a7489c30a41ffE30730",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"from": "html",
"input": "<h1>Hello</h1>",
"to": "markdown"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"from": "html",
"output": "# Hello",
"to": "markdown"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"from": {
"description": "Source format: markdown, html, text, json or csv.",
"type": "string"
},
"input": {
"description": "Content to convert.",
"type": "string"
},
"to": {
"description": "Target format: markdown, html, text, json or csv.",
"type": "string"
}
},
"required": [
"from",
"to",
"input"
],
"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": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://rook-x402-service.onrender.com/v1/convert" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://rook-x402-service.onrender.com/v1/convert");
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://rook-x402-service.onrender.com/v1/convert")
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/7368.json, and this resource appears in /discovery/resources and /discovery/search.