Scan HTML before it goes live
scan_htmlScan raw HTML that is not published yet, for example a local build, a template or a draft from your editor. Returns the same score, fixes and AI readiness as scan_page. Pass the full HTML document; url is optional and only used to resolve relative links. Use this in coding assistants to check SEO before deploying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional address the page will live at, used for relative links and the canonical check. | |
| html | Yes | The complete HTML document, up to 900 KB. |