Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 3 min read

How to Audit Any Website for AI Search (llms.txt, GPTBot, Schema & GEO Score) in 5 Seconds via API

Traditional technical SEO crawlers answer one question: "Can Googlebot index this page?" In 2026, that is no longer enough. A growing share of B2B software discovery and vendor shortlisting happens directly inside ChatG

Traditional technical SEO crawlers answer one question: "Can Googlebot index this page?"

In 2026, that is no longer enough. A growing share of B2B software discovery and vendor shortlisting happens directly inside ChatGPT Search, Perplexity, Claude, and Google AI Overviews. Yet when we audit SaaS and e-commerce domains, we keep seeing the same three silent failures:

  1. Accidental AI Crawler Blocks: A legacy robots.txt rule or CDN template quietly disallows OAI-SearchBot, PerplexityBot, or ClaudeBot.
  2. Missing (or Soft-404) /llms.txt: Teams either haven't published an llms.txt index yet, or their SPA router returns HTTP 200 OK with the homepage HTML when a bot requests /llms.txt (a classic soft-404 trap).
  3. Weak Entity Grounding: Missing JSON-LD (Organization, SoftwareApplication, Product, FAQPage) and incomplete canonical/Open Graph metadata force AI models to guess what the product actually does.

Instead of manually checking robots.txt, viewing source for JSON-LD, and curling /llms.txt across dozens of client sites β€” or burning LLM tokens on raw HTML β€” you can run a 100% deterministic Generative Engine Optimization (GEO) audit in under 5 seconds per domain.

What a Deterministic GEO Audit Checks

A fast HTTP-only audit (zero headless Chrome, zero external LLM calls) can reliably score any domain 0–100 (Grade A–F) across four concrete layers:

Layer Signals Audited
LLM Discovery (llms.txt) Verifies live /llms.txt and /llms-full.txt, rejects HTML soft-404 fallbacks, and checks valid Markdown length
AI Crawler Policy Matrix Parses robots.txt explicitly for GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, and CCBot
Structured Entities (JSON-LD) Extracts every Schema.org @type (Organization, WebSite, Product, SoftwareApplication, FAQPage, etc.)
Technical SEO Baseline Checks sitemap.xml, canonical tag, <title>, meta description, Open Graph tags, and heading structure

Even better: if /llms.txt is missing, the parser can deterministically synthesize a clean starter llms.txt draft from the site's metadata and navigation links following the llmstxt.org spec.

Running a Live GEO Audit via cURL (Pay-Per-Event)

I packaged this deterministic auditor as an MCP-ready Apify Actor (solenei/geo) that costs $0.025 per successfully audited domain (unreachable domains are never billed, and Apify's free $5/mo tier covers ~200 domains):

curl -X POST "https://api.apify.com/v2/acts/solenei~geo/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": ["stripe.com", "anthropic.com"],
    "generateLlmsTxtDraft": true,
    "maxConcurrency": 5,
    "includeLlmSummary": true
  }'

Example Structured Output

{
  "domain": "stripe.com",
  "url": "https://stripe.com",
  "status": "ok",
  "geo_score": 95,
  "grade": "A",
  "llms_txt": {
    "has_llms_txt": true,
    "has_llms_full_txt": false,
    "llms_txt_length": 4820
  },
  "ai_bot_policies": {
    "GPTBot": "allowed",
    "OAI-SearchBot": "allowed",
    "ClaudeBot": "allowed",
    "PerplexityBot": "allowed",
    "Google-Extended": "allowed",
    "CCBot": "allowed"
  },
  "schema_org_types": ["Organization", "WebSite", "WebPage"],
  "has_sitemap": true,
  "issues": ["Missing /llms-full.txt (optional extended context file)"],
  "llm_summary": "**stripe.com** β€” GEO Score: 95/100 (Grade A) | llms.txt: Yes | Sitemap: Yes | Blocked AI Bots: None"
}

Automating GEO Audits in n8n (Agency Lead Magnet Pattern)

One of the highest-converting agency workflows right now is turning this into an automated "Free AI Search Audit" pipeline in n8n:

  1. Input: Pull a batch of prospect domains (from Notion, Google Sheets, or an inbound form).
  2. Audit: Send the batch to solenei~geo via n8n's HTTP Request node.
  3. Filter: Route domains where geo_score < 75 or blocked_ai_bots.length > 0.
  4. Deliver Value First: Generate a personalized summary listing their exact blocked AI crawlers + attach the auto-generated starter /llms.txt file they can deploy in 2 minutes.

Because there is no headless browser and no OpenAI/Claude token burn in the parsing loop, auditing 100 prospect websites takes under a minute and costs $2.50 total.

Try It Live (or Connect via MCP)

If you're auditing sites for AI Search in 2026, what signals are you weighting most heavily right now β€” robots.txt bot policies, llms.txt, or Schema.org entity depth?

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.