# Website audit

GET https://horizonpulse.dev/api/site/audit

- Price: $0.02-$0.12 per call. The exact amount is in the 402.
- Pay with: USDC on Base
- Family: Sites and security (/catalog/sites-security.md)

## What it returns
Website audit API for one public page (standard) or up to 10 same-origin pages plus DNS email records (premium, ?tier=premium): security headers, HSTS, TLS, HTTPS redirect, on-page SEO, heuristic accessibility checks (not a WCAG or ADA conformance audit), robots.txt, sitemap, security.txt, a broken-link sample and agent-readiness checks, scored against our checklist, with fixes. Findings only. Obeys the site's robots.txt. Blocked or unreachable targets are not charged. USDC on Base only. Premium depth (?tier=premium, $0.12, 120000 atomic, USDC on Base only): the start page plus up to 9 same-origin pages it links to (10 pages max, robots.txt obeyed, 8 MB of responses per audit), mixed content, cookie flags (names and flags only; cookie values are not included in the report), CSP quality, certificate and redirect chains, robots.txt and sitemap validity, structured data, SPF/DMARC/CAA/DNSS…

## Inputs
- url (required): One public http(s) URL or hostname (ports 80/443 only).
- tier: standard (default, $0.02) or premium ($0.12, up to 10 same-origin pages plus DNS email records).
Full schema and bounds: /openapi.json

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/site/audit
- Setup: /setup.md
