Skill: Convert anything to
POST https://agent402.tools/api/skill/any-to-markdown
Convert anything at a URL - HTML, PDF, or an image - to clean markdown. The 'I have a URL but it might be any content-type, give me markdown either way' workflow: HEAD-detect the content-type, branch to the right deterministic extractor (article extract for HTML, pdf-to-markdown for PDFs, OCR for images), and report token/word stats on the output so the caller can budget the result against an LLM context window.
Warnings
Wallet mismatch The payout wallet in its live payment answer differs from its catalogue listing on the same network.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X POST "https://agent402.tools/api/skill/any-to-markdown"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 10:01 | Valid 402 | 402 | 384 ms | $0.026 |
| 2026-10-11 05:46 | Valid 402 | 402 | 273 ms | $0.026 |
| 2026-10-11 01:15 | Valid 402 | 402 | 318 ms | $0.026 |
| 2026-10-10 20:45 | Valid 402 | 402 | 102 ms | $0.026 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves