Scan a page or site for WCAG issues

Provide url (public http/https page — rendered via headless browser at a mobile 390×844 viewport by default; viewport: "desktop" opts out) or raw html (static rules only). site: true crawls same-origin pages — 3 pages free, 10 Pro. Free URL scans consume the 3/day/IP quota; html scans do not. A Pro license email unlocks higher limits, deeper crawls, and email_report.

post/scan

Request

  • Base URL: https://api.lazynext.com
  • URL: https://api.lazynext.com/scan
  • Auth: none declared

Request body

urlstring uri

Public http/https page. Rendered via headless browser; consumes daily quota.

htmlstring

Raw markup to scan statically (≤512KB, no quota).

siteboolean

Crawl same-origin pages (3 free / 10 Pro) and add cross-page checks.

licensestring email

Pro purchase email — higher limits, deeper crawls, monitoring.

email_reportboolean

Pro only: email the report to the license address.

viewport'mobile' | 'desktop'

Rendered-scan viewport profile — mobile emulates a 390×844 handset (touch + mobile UA, the default); desktop keeps the pre-mobile baseline render. Ignored for html scans and site crawls.

Response

OK

scorenumber required
score_model'weighted-v1'

Scoring model version — weighted-v1 sums findings weighted by WCAG level and detection confidence (warn-class heuristics count half), repeat instances of the same rule at half marginal weight. Level-A confirmed failures still weigh 1.0.

renderedboolean required

true when the headless-browser path ran (false = static fallback)

viewport'mobile' | 'desktop'

Viewport the render ran at — present only when rendered: true

plan'free' | 'pro' required
reportstring uri

Shareable report URL (30-day TTL)

render_errorstring

Present when rendering failed and the static fallback ran

siteboolean

Changes

No recorded changes to this operation across all 1 revision of this API.