{"openapi":"3.1.0","info":{"title":"Markup and Text Extraction Tools","version":"1.0.0","description":"Turn HTML and Markdown you supply into text, links, headings, tables, metadata and main-content extracts. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Markup and Text Extraction Tools: Turn HTML and Markdown you supply into text, links, headings, tables, metadata and main-content extracts. Markup and Text Extraction Tools works on HTML or Markdown content the caller supplies (nothing is fetched): /html-to-text (readable text, hidden elements reported), /html-links (links resolved against a base URL, internal vs external), /html-headings (h1-h6 outline and problems), /html-tables (tables to row arrays), /html-meta (title, description, canonical, Open Graph, Twitter, JSON-LD types), /markdown-to-text (strip CommonMark to plain text), /markdown-outline (front matter, headings, links, code blocks) and /readability-extract (heuristic main-content extraction). Content travels in the query string, so inputs are short. Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://markup-tools.x402tookit.com"}],"paths":{"/html-headings":{"get":{"operationId":"html_headings","summary":"Extract the h1-h6 heading outline from supplied HTML and flag missing or multiple h1, skipped levels and empty headings.","description":"Extract the h1-h6 heading outline from supplied HTML and flag missing or multiple h1, skipped levels and empty headings.","tags":["html","headings","seo","accessibility"],"parameters":[{"name":"html","in":"query","required":true,"description":"HTML to scan, up to 20000 characters (longer is refused with 400)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"count":{"type":["null","number"]},"levels":{"type":["null","object"],"properties":{"h1":{"type":["null","number"]},"h2":{"type":["null","number"]},"h4":{"type":["null","number"]}}},"headings":{"type":["array","null"],"items":{"type":"object","properties":{"level":{"type":["null","number"]},"text":{"type":["null","string"]},"id":{},"hidden":{"type":["boolean","null"]},"outline":{"type":["null","string"]}}}},"issues":{"type":["array","null"],"items":{"type":"string"}},"truncated":{"type":["boolean","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"OUTLINE_ISSUES","summary":"5 heading(s); 3 issue(s): 2 h1 headings.","reasons":["2 h1 headings","level skipped: h2 followed by h4 (heading 3)","…1 more"],"count":5,"levels":{"h1":2,"h2":2,"h4":1},"headings":[{"level":1,"text":"Guide","id":null,"hidden":false,"outline":"Guide"},{"level":2,"text":"Setup","id":null,"hidden":false,"outline":"  Setup"}],"issues":["2 h1 headings","level skipped: h2 followed by h4 (heading 3)","…1 more"],"truncated":false,"degraded":false,"notChecked":["headings made with styled divs or ARIA role=heading","whether heading text is meaningful"],"source":"computed locally","asOf":"2026-10-21T05:45:52.530Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-headings"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-headings"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-headings"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-headings"}}]}}},"/html-links":{"get":{"operationId":"html_links","summary":"List all links in supplied HTML with text, rel flags, absolute URL (against a base) and internal/external split.","description":"List all links in supplied HTML with text, rel flags, absolute URL (against a base) and internal/external split.","tags":["html","links","seo","scraping"],"parameters":[{"name":"html","in":"query","required":true,"description":"HTML to scan, up to 20000 characters (longer is refused with 400)","schema":{"type":"string"}},{"name":"base","in":"query","required":false,"description":"Absolute http(s) URL of the page, used to resolve relative links and judge internal vs external","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"]},"total":{"type":["null","number"]},"uniqueResolvedUrls":{"type":["null","number"]},"counts":{"type":["null","object"],"properties":{"internal":{"type":["null","number"]},"external":{"type":["null","number"]},"fragment":{"type":["null","number"]},"non-http":{"type":["null","number"]}}},"effectiveBase":{"type":["null","string"]},"links":{"type":["array","null"],"items":{"type":"object","properties":{"href":{"type":["null","string"]},"url":{"type":["null","string"]},"text":{"type":["null","string"]},"rel":{"type":["array","null"],"items":{"type":"string"}},"nofollow":{"type":["boolean","null"]},"sponsored":{"type":["boolean","null"]},"ugc":{"type":["boolean","null"]},"target":{},"title":{},"hidden":{"type":["boolean","null"]},"scope":{"type":["null","string"]}}}},"truncated":{"type":["boolean","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"LINKS_FOUND","summary":"4 link(s): 1 internal, 1 external, 1 fragment, 1 non-http.","reasons":[],"total":4,"uniqueResolvedUrls":2,"counts":{"internal":1,"external":1,"fragment":1,"non-http":1},"effectiveBase":"https://example.com/dir/page","links":[{"href":"/about","url":"https://example.com/about","text":"About","rel":[],"nofollow":false,"sponsored":false,"ugc":false,"target":null,"title":null,"hidden":false,"scope":"internal"},{"href":"https://other.org/x","url":"https://other.org/x","text":"Ad","rel":["nofollow","sponsored"],"nofollow":true,"sponsored":true,"ugc":false,"target":null,"title":null,"hidden":false,"scope":"external"}],"truncated":false,"degraded":false,"notChecked":["whether any link target exists or redirects","links created by JavaScript","…1 more"],"source":"computed locally","asOf":"2026-10-21T05:45:52.784Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-links"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-links"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-links"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-links"}}]}}},"/html-meta":{"get":{"operationId":"html_meta","summary":"Read title, description, canonical, robots, Open Graph, Twitter card and JSON-LD types from supplied HTML and list gaps.","description":"Read title, description, canonical, robots, Open Graph, Twitter card and JSON-LD types from supplied HTML and list gaps.","tags":["html","metadata","seo","open-graph"],"parameters":[{"name":"html","in":"query","required":true,"description":"HTML document (head is enough), up to 20000 characters (longer is refused with 400)","schema":{"type":"string"}},{"name":"base","in":"query","required":false,"description":"Optional absolute http(s) URL to resolve relative canonical and image URLs","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"]},"title":{"type":["null","string"]},"description":{"type":["null","string"]},"canonical":{"type":["null","string"]},"robots":{},"viewport":{},"charset":{},"lang":{"type":["null","string"]},"author":{},"themeColor":{},"openGraph":{"type":["null","object"],"properties":{"title":{"type":["null","string"]},"image":{"type":["null","string"]}}},"twitter":{"type":["null","object"],"properties":{"card":{"type":["null","string"]}}},"article":{"type":["null","object"],"properties":{}},"otherMeta":{"type":["null","object"],"properties":{}},"alternates":{"type":["array","null"]},"icons":{"type":["array","null"]},"jsonLd":{"type":["null","object"],"properties":{"count":{"type":["null","number"]},"types":{"type":["array","null"]},"parseErrors":{"type":["null","number"]}}},"missing":{"type":["array","null"]},"notes":{"type":["array","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"META_COMPLETE","summary":"Title, description, canonical, Open Graph and Twitter card are all present.","reasons":[],"title":"My Page","description":"A page.","canonical":"https://example.com/p","robots":null,"viewport":null,"charset":null,"lang":"en","author":null,"themeColor":null,"openGraph":{"title":"My Page","image":"https://example.com/i.png"},"twitter":{"card":"summary"},"article":{},"otherMeta":{},"alternates":[],"icons":[],"jsonLd":{"count":0,"types":[],"parseErrors":0},"missing":[],"notes":[],"degraded":false,"notChecked":["whether URLs in the tags work","image dimensions","…2 more"],"source":"computed locally","asOf":"2026-10-21T05:45:53.048Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-meta"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-meta"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-meta"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-meta"}}]}}},"/html-tables":{"get":{"operationId":"html_tables","summary":"Convert HTML tables to row and column arrays with header detection; colspan and rowspan cells are expanded.","description":"Convert HTML tables to row and column arrays with header detection; colspan and rowspan cells are expanded.","tags":["html","tables","scraping","data-extraction"],"parameters":[{"name":"html","in":"query","required":true,"description":"HTML containing tables, up to 20000 characters (longer is refused with 400); first 20 tables, 300 rows, 40 columns each","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"tableCount":{"type":["null","number"]},"tables":{"type":["array","null"],"items":{"type":"object","properties":{"caption":{"type":["null","string"]},"rowCount":{"type":["null","number"]},"columnCount":{"type":["null","number"]},"headerRows":{"type":["null","number"]},"headers":{"type":["array","null"],"items":{"type":"string"}},"rows":{"type":["array","null"],"items":{"type":"array","items":{"type":"string"}}},"nestedTables":{"type":["null","number"]},"truncatedRows":{"type":["boolean","null"]},"truncatedCols":{"type":["boolean","null"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"TABLES_FOUND","summary":"1 table(s); extracted 1 with 6 cell(s) in total.","reasons":["Cells spanned by colspan or rowspan repeat the spanning cell's text so every row has the same width."],"tableCount":1,"tables":[{"caption":"Fruit","rowCount":3,"columnCount":2,"headerRows":1,"headers":["Name","Qty"],"rows":[["Name","Qty"],["Apple","3"]],"nestedTables":0,"truncatedRows":false,"truncatedCols":false}],"degraded":false,"notChecked":["numeric or date typing of cells (all values are strings)","tables built from divs","…1 more"],"source":"computed locally","asOf":"2026-10-21T05:45:53.314Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-tables"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-tables"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-tables"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-tables"}}]}}},"/html-to-text":{"get":{"operationId":"html_to_text","summary":"Turn supplied HTML into readable text: keeps paragraphs, lists, table rows and link text; drops script, style, hidden.","description":"Turn supplied HTML into readable text: keeps paragraphs, lists, table rows and link text; drops script, style, hidden.","tags":["html","text-extraction","scraping","prompt-injection"],"parameters":[{"name":"html","in":"query","required":true,"description":"HTML to convert, up to 20000 characters (the URL query string limits practical size; longer is refused with 400)","schema":{"type":"string"}},{"name":"links","in":"query","required":false,"description":"true to append each link's URL after its text (default false)","schema":{"type":"boolean"}},{"name":"base","in":"query","required":false,"description":"Optional absolute http(s) URL used to resolve relative links when links=true","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"text":{"type":["null","string"]},"characterCount":{"type":["null","number"]},"hiddenElements":{"type":["array","null"],"items":{"type":"object","properties":{"reason":{"type":["null","string"]},"tag":{"type":["null","string"]},"text":{"type":["null","string"]}}}},"hiddenCharacters":{"type":["null","number"]},"linkCount":{"type":["null","number"]},"imageCount":{"type":["null","number"]},"parserTruncated":{"type":["boolean","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"TEXT_EXTRACTED_HIDDEN_CONTENT_DROPPED","summary":"71 characters of text extracted; 1 hidden element(s) dropped.","reasons":["1 hidden element(s) with 6 characters of text were dropped. Text hidden from readers but present in the markup is a known way to plant instructions for AI agents; review the list."],"text":"Title\n\nHello & welcome, it's here (https://example.com/a).\n\n- one\n- two","characterCount":71,"hiddenElements":[{"reason":"inline style hides it","tag":"div","text":"secret"}],"hiddenCharacters":6,"linkCount":1,"imageCount":0,"parserTruncated":false,"degraded":false,"notChecked":["CSS from stylesheets (only inline styles and attributes hide text)","JavaScript-generated content","…2 more"],"source":"computed locally","asOf":"2026-10-21T05:45:53.578Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-to-text"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-to-text"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-to-text"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/html-to-text"}}]}}},"/markdown-outline":{"get":{"operationId":"markdown_outline","summary":"Outline a Markdown document: front matter, headings with anchors, links, images, code blocks with language, and problems.","description":"Outline a Markdown document: front matter, headings with anchors, links, images, code blocks with language, and problems.","tags":["markdown","outline","commonmark","documentation"],"parameters":[{"name":"markdown","in":"query","required":true,"description":"Markdown, up to 20000 characters (longer is refused with 400)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"frontMatter":{"type":["null","object"],"properties":{"format":{"type":["null","string"]},"keys":{"type":["array","null"],"items":{"type":"string"}},"lines":{"type":["null","number"]}}},"headings":{"type":["array","null"],"items":{"type":"object","properties":{"level":{"type":["null","number"]},"text":{"type":["null","string"]},"anchor":{"type":["null","string"]},"line":{"type":["null","number"]}}}},"links":{"type":["array","null"],"items":{"type":"object","properties":{"text":{"type":["null","string"]},"url":{"type":["null","string"]},"title":{},"kind":{"type":["null","string"]},"line":{"type":["null","number"]}}}},"images":{"type":["array","null"]},"codeBlocks":{"type":["array","null"],"items":{"type":"object","properties":{"language":{"type":["null","string"]},"fenced":{"type":["boolean","null"]},"lines":{"type":["null","number"]},"line":{"type":["null","number"]},"closed":{"type":["boolean","null"]}}}},"tableCount":{"type":["null","number"]},"listCount":{"type":["null","number"]},"paragraphCount":{"type":["null","number"]},"approxWordCount":{"type":["null","number"]},"issues":{"type":["array","null"],"items":{"type":"string"}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"OUTLINE_ISSUES","summary":"3 heading(s), 1 link(s), 0 image(s), 1 code block(s), yaml front matter; 2 issue(s).","reasons":["heading level skipped: h2 then h4 at line 15","reference link [nope] has no definition (line 9)"],"frontMatter":{"format":"yaml","keys":["title","tags"],"lines":4},"headings":[{"level":1,"text":"Guide","anchor":"guide","line":5},{"level":2,"text":"Install","anchor":"install","line":7}],"links":[{"text":"docs","url":"https://example.com/docs","title":null,"kind":"reference","line":9}],"images":[],"codeBlocks":[{"language":"bash","fenced":true,"lines":1,"line":11,"closed":true}],"tableCount":0,"listCount":0,"paragraphCount":1,"approxWordCount":7,"issues":["heading level skipped: h2 then h4 at line 15","reference link [nope] has no definition (line 9)"],"degraded":false,"notChecked":["whether link targets exist","front matter values (only the top-level key names are read)","…2 more"],"source":"computed locally","asOf":"2026-10-21T05:45:53.845Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-outline"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-outline"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-outline"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-outline"}}]}}},"/markdown-to-text":{"get":{"operationId":"markdown_to_text","summary":"Strip CommonMark/GFM syntax to plain text: emphasis, links, images, headings, lists, quotes, code fences, HTML, front matter.","description":"Strip CommonMark/GFM syntax to plain text: emphasis, links, images, headings, lists, quotes, code fences, HTML, front matter.","tags":["markdown","text-extraction","commonmark"],"parameters":[{"name":"markdown","in":"query","required":true,"description":"Markdown, up to 20000 characters (longer is refused with 400)","schema":{"type":"string"}},{"name":"urls","in":"query","required":false,"description":"true to append link URLs in parentheses after link text (default false)","schema":{"type":"boolean"}},{"name":"code","in":"query","required":false,"description":"keep (default) leaves code block contents; drop removes them","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"text":{"type":["null","string"]},"characterCount":{"type":["null","number"]},"linkCount":{"type":["null","number"]},"imageCount":{"type":["null","number"]},"frontMatter":{"type":["null","object"],"properties":{"format":{"type":["null","string"]},"keys":{"type":["array","null"],"items":{"type":"string"}},"lines":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"TEXT_EXTRACTED","summary":"56 characters of plain text; 1 link(s), 0 image(s) reduced to their text.","reasons":["YAML front matter (1 key(s)) was removed."],"text":"Hello world\n\nSee the docs and code.\n\none\ntwo\n\nlet x = 1;","characterCount":56,"linkCount":1,"imageCount":0,"frontMatter":{"format":"yaml","keys":["title"],"lines":3},"degraded":false,"notChecked":["MDX, wiki-links, footnotes, math and other extensions","multi-line link reference definitions","…1 more"],"source":"computed locally","asOf":"2026-10-21T05:45:54.111Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-to-text"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-to-text"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-to-text"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/markdown-to-text"}}]}}},"/readability-extract":{"get":{"operationId":"readability_extract","summary":"Heuristic main-content extraction from supplied HTML by text density and tag scoring; returns text, title, byline, confidence.","description":"Heuristic main-content extraction from supplied HTML by text density and tag scoring; returns text, title, byline, confidence.","tags":["html","readability","article-extraction","scraping"],"parameters":[{"name":"html","in":"query","required":true,"description":"Full page HTML, up to 20000 characters (longer is refused with 400)","schema":{"type":"string"}},{"name":"base","in":"query","required":false,"description":"Optional absolute http(s) URL of the page (kept in the answer for context)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"title":{"type":["null","string"]},"byline":{"type":["null","string"]},"text":{"type":["null","string"]},"wordCount":{"type":["null","number"]},"confidence":{"type":["null","string"]},"score":{"type":["null","number"]},"runnerUpScore":{},"linkDensity":{"type":["null","number"]},"container":{"type":["null","object"],"properties":{"tag":{"type":["null","string"]},"id":{"type":["null","string"]},"class":{}}},"removed":{"type":["null","object"],"properties":{"byTag":{"type":["null","number"]},"byClassOrId":{"type":["null","number"]},"hidden":{"type":["null","number"]}}},"hiddenElements":{"type":["array","null"]},"language":{},"pageUrl":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"CONTENT_EXTRACTED","summary":"32 words extracted from <div>; confidence MEDIUM.","reasons":["Chosen block is <div> id=\"content\" with score 36 and link density 0%.","This is a heuristic (text density, tag and class-name scoring); it can pick a sidebar or miss content on unusual layouts."],"title":"Big Story","byline":"Ann Lee","text":"Big Story\n\nFirst paragraph of the story, with enough words, commas, and detail to count as real prose.\n\nSecond paragraph continues the story, adding more detail, context, and quotes for the reader.","wordCount":32,"confidence":"MEDIUM","score":36,"runnerUpScore":null,"linkDensity":0,"container":{"tag":"div","id":"content","class":null},"removed":{"byTag":2,"byClassOrId":1,"hidden":0},"hiddenElements":[],"language":null,"pageUrl":"https://example.com/story","degraded":false,"notChecked":["CSS layout (a visually hidden class name is not known)","JavaScript-rendered content","…2 more"],"source":"computed locally","asOf":"2026-10-21T05:45:54.364Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/readability-extract"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/readability-extract"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/readability-extract"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://markup-tools.x402tookit.com/readability-extract"}}]}}}}}