Fetch raw HTML
fetch_htmlFree, read-only. Fetch a page and return its HTML minus scripts, styles, svg, iframes, comments and inline handlers; tags and attributes stay, so structure is readable. For inspecting or rebuilding markup, not plain text (fetch_extract gives that). Runs no JavaScript: SPAs return an empty shell. Cut at maxChars with a marker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) page URL. Private addresses are refused. | |
| headers | No | Headers to forward (Authorization, Cookie…). | |
| maxChars | No | Output cap, chars. Default 16000, max 64000. |