Methodology & Developer Reference

Scoring Rubric, 15-Bot Matrix & API Contract

Zero-LLM, reproducible scoring rules implemented in packages/core.

Scan a page

0–100 Deterministic Rubric

1. JS-Blindness & SSR Parity
Flags an empty_page warning when both raw and rendered word counts are under 20.
Max 35 pts
round(20 × min(1, rawWords / max(1, renderedWords))) + 10 (no JS-only price/review/heading) + 5 (rawHtmlBytes < 2 MB)
2. AI Search Crawler Access
Blocking training bots (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent) carries 0 penalty.
Max 20 pts
4 each for OAI-SearchBot, Claude-SearchBot, PerplexityBot (12) + 4 if Googlebot, Bingbot, Applebot allowed + 4 if no noindex/nosnippet
3. Raw-HTML JSON-LD Integrity
Evaluated strictly on Pass 1 raw HTML with nested Schema.org traversal. JS-injected JSON-LD earns 0 points here.
Max 20 pts
5 (valid JSON-LD in Pass 1) + 10 (e-commerce: Product + Offer/price + ReturnPolicy/AggregateRating; docs/SaaS: Organization/Person + WebPage/CollectionPage + WebSite/FAQPage/BreadcrumbList, SoftwareApplication + Organization/WebPage/WebSite, or Article/BlogPosting/TechArticle) + 5 (visible-text price parity)
4. Content-to-Chrome Ratio
Strips <script>, <style>, <svg>, <nav>, <header>, <footer>, and [aria-hidden='true'] before measuring signal bytes.
Max 15 pts
Accept: text/markdown supported → 8, else signalRatio >= 0.35 → 8, 0.20–0.34 → 5, < 0.20 → 2; + 4 (<main> and single <h1>); + 3 (Markdown negotiation bonus)
5. Answer-First & Evidence
Measures whether AI answer engines can extract a crisp factual lead directly from raw HTML.
Max 10 pts
5 (first <p> after <h1> is 35–85 words) + 5 (≥ 2 quantified specs, units, or table rows in Pass 1)

Evaluated 2026 AI Crawlers (15)

Applebot falls back to Googlebot rules if absent
User-Agent TokenVendorRoleExecutes JSScore Impact
OAI-SearchBotOpenAIsearchNoAffects score
ChatGPT-UserOpenAIuser fetchNoInformational
GPTBotOpenAItrainingNo0 penalty if blocked
Claude-SearchBotAnthropicsearchNoAffects score
Claude-UserAnthropicuser fetchNoInformational
ClaudeBotAnthropictrainingNo0 penalty if blocked
PerplexityBotPerplexitysearchNoAffects score
Perplexity-UserPerplexityuser fetchNoInformational
GooglebotGooglesearchYesAffects score
Google-ExtendedGoogletrainingNo0 penalty if blocked
BingbotMicrosoftsearchYesAffects score
ApplebotApplesearchYesAffects score
Applebot-ExtendedAppletrainingNo0 penalty if blocked
Meta-WebIndexerMetasearchNoAffects score
Meta-ExternalAgentMetatrainingNo0 penalty if blocked
REST API Endpoints
Hono API routes exposed over Cloudflare Workers Service Binding.
POST/api/scans
Turnstile + 5/hr IP limit
Req: { url: string, crawlerProfile?: "rawlens" | "oai-searchbot" | "perplexitybot" | "claude-searchbot", forceRefresh?: boolean }Res: 202 { scanId, cached }
POST/api/scans/paste
Turnstile + 5/hr IP limit
Req: { url: string, rawHtml: string, renderedHtml?: string }Res: 201 { scanId, cached: false }
GET/api/scans/:id
Public shareable
Req: —Res: 200 ScanReport JSON (KV cached)
SSRF & Safety Guardrails
Applied before any fetch or Chromium render runs.

Allows only HTTP/HTTPS on standard ports (80/443), rejecting credentials and private/loopback IPv4/IPv6 ranges.

Caps redirects at 5 (revalidating each hop) and streams up to 10 MB max per document.

Strips utm_*, fbclid, gclid, and ref for canonical 24-hour KV cache keys.

Measures technical crawl & structural GEO readiness (plus freshness, canonicals, author E-E-A-T, citations, quotes, and /llms.txt) — not live ChatGPT/Perplexity ranking position.