2s.io HTML-to-Markdown Converter is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).
Converts raw HTML into clean Markdown text, returning the markdown, plain text, title, and word count.
The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.
Returns a JSON object with ok=true and an items array. Each item contains: 'markdown' (the converted markdown string), 'text' (plain text version), 'title' (extracted page title), and 'wordCount' (number of words). Also includes a 'total' count and 'source' metadata indicating the provider and license.
POSThttps://2s.io/api/html/to-markdownUse this endpoint when you need to convert raw HTML strings to Markdown programmatically without signup or API keys, paying only per call. Ideal for agents that occasionally need HTML-to-Markdown conversion without committing to a subscription service, or when integrating into a crypto-native payment workflow via x402 on Base or Solana.
{
"html": "<html><head><title>Test Page</title></head><body><h1>Hello World</h1><p>This is a simple test paragraph with <strong>bold text</strong> and <em>italic text</em>.</p><ul><li>Item 1</li><li>Item 2</li></ul></body></html>"
}| Field | Type | Description |
|---|---|---|
| html | string | Raw HTML to convert (≤2MB). |
{
"data": {
"ok": true,
"items": [
{
"text": "Hello World\n\nThis is a simple test paragraph with bold text and italic text.\nItem 1\nItem 2",
"title": "Test Page",
"markdown": "# Hello World\n\nThis is a simple test paragraph with **bold text** and *italic text*.\n\n- Item 1\n- Item 2",
"wordCount": 18
}
],
"total": 1,
"source": {
"url": "https://2s.io",
"license": "No upstream license — computed by 2s.io",
"provider": "2s.io HTML-to-markdown converter"
}
},
"meta": {
"cost": {
"usd": 0.001,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "html.to-markdown",
"settlement": {
"txHash": "0x1802fb45e88aa38a90b304be98897d041721de220f0d0b72732c16eff53ec56b",
"network": "eip155:8453",
"success": true
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"