{"slug":"toolshed-lemon-agent-dev-convert-markdown-json-f11c27","title":"Markdown to a JSON token tree","host":"toolshed.lemon-agent.dev","method":"POST","resource":"https://toolshed.lemon-agent.dev/convert/markdown-json","category":"market","description":"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","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":26,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":"# Title\n\nSome text.\n","bodyType":"text","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"description":"the raw Markdown file as the request body, up to 256 KB","maxLength":262144,"type":"string"},"bodyType":{"const":"text","type":"string"},"method":{"const":"POST","type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"additionalProperties":false,"properties":{"example":{"description":"the sample request body above, converted — what a the converted JSON file as the response body (application/json) looks like","type":"string"},"format":{"const":"application/json","description":"the converted JSON file as the response body (application/json)","type":"string"},"type":{"const":"text","type":"string"}},"required":["type","format"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":26,"error":null}],"description_full":"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.","last_updated":"2026-09-02T14:57:10.369Z","schemes":["exact"]}