the402 endpoint detail

← All endpoints

toolshed.lemon-agent.dev convert markdown-json

https://toolshed.lemon-agent.dev/convert/markdown-json

answers 402

Markdown to a JSON token tree. POST Markdown; the response is {"toc": [{depth, text}], "tokens": [...]} — the marked lexer's token stream plus a table of contents derived from the real headings. The document's structure without rendering it to HTML and parsing that back. A bold line pretending to be a heading was never structure and is not in the toc.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.004
Network
base
Pay to
0x0adc7adac7bbaffffbd73505711e42378c4f9f9e
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
129 ms
Payment options
2 usable of 2
Last checked
2026-09-06T01:12:17.376Z (22d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ftoolshed.lemon-agent.dev%2Fconvert%2Fmarkdown-json"