How to Test If OAI-SearchBot and PerplexityBot Can Actually Crawl Your Site (Zero-Signup Live Probe + Python Script) A developer published a zero-signup live probe and a 35-line standard-library Python script for auditing whether AI search crawlers such as OAI-SearchBot, PerplexityBot and Claude-SearchBot can actually reach a site. The script checks robots.txt status, live HTTP responses per crawler user agent, initial-HTML JSON-LD, and sitemap validity, targeting failure modes like blanket robots.txt blocks, WAF 403s, malformed sitemap directives and JavaScript-only structured data. Most technical SEO audits check Googlebot and stop there. In 2026, a site can return 200 OK to Googlebot while silently disappearing from ChatGPT Search and Perplexity—either because a blanket robots.txt rule blocked search crawlers alongside training bots, or because a CDN/WAF returns 403 to AI user agents even when robots.txt says Allow: / . If you want to test a domain right now without installing anything, run it through the free zero-signup probe here: robots.txt rules split between AI search bots vs. training bots, live HTTP responses, canonical/ og:url , initial-HTML JSON-LD, /llms.txt , and XML sitemap — including Sitemap: lines that omit https:// https://mcp.usethelever.com/geo-audit/mcp Below is the exact checklist and a 35-line standard-library Python script you can run locally to verify the four failure modes we keep seeing on real agency and SaaS sites. A common mistake in robots.txt is blocking every crawler with "AI" or "GPT" in its name. Major engines split retrieval from training: | Crawler | Role | If Blocked | |---|---|---| | OAI-SearchBot | ChatGPT Search indexing & citations | Pages drop out of ChatGPT Search citations | | PerplexityBot | Perplexity search retrieval | Pages cannot be cited cleanly in Perplexity | | Claude-SearchBot | Claude web search indexing | Pages miss Claude search citations | | GPTBot / Google-Extended | Model training | Blocking stops training without removing search citations | In real-world audits across Webflow, Shopify Plus, and Cloudflare-fronted sites, three silent bugs show up repeatedly: OAI-SearchBot , yet Cloudflare Bot Fight Mode or an aggressive WAF responds with HTTP 403 when PerplexityBot requests the homepage. 404 page at /robots.txt crawlers treat non-200 HTML as unusable or write Sitemap: example.com/sitemap.xml without Organization / Product JSON-LD only after JavaScript executes look nearly empty to lightweight HTML fetchers. python import re import urllib.error import urllib.request from urllib.parse import urlparse SEARCH BOTS = "OAI-SearchBot", "PerplexityBot", "Claude-SearchBot", def fetch url: str, ua: str, timeout: int = 10 - tuple int, str, str : req = urllib.request.Request url, headers={"User-Agent": ua} try: with urllib.request.urlopen req, timeout=timeout as resp: return resp.status, resp.headers.get "Content-Type", "" , resp.read 200 000 .decode "utf-8", "ignore" except urllib.error.HTTPError as exc: return exc.code, exc.headers.get "Content-Type", "" , "" except Exception as exc: return 0, str exc , "" def audit url target: str - None: origin = f"{urlparse target .scheme}://{urlparse target .netloc}" r code, r type, r txt = fetch f"{origin}/robots.txt", "Mozilla/5.0" print f"robots.txt - HTTP {r code} {r type.split ';' 0 } " for bot in SEARCH BOTS: code, ctype, = fetch target, f"Mozilla/5.0 compatible; {bot}/1.0 " print f" live {bot:18s} - HTTP {code}" , , html = fetch target, "Mozilla/5.0" jsonld = sorted set re.findall r'"@type"\s :\s " ^" + "', html print " initial-HTML JSON-LD:", jsonld or "NONE" m = re.search r"^\s sitemap:\s \S+ ", r txt, re.I | re.M sm raw = m.group 1 if m else f"{origin}/sitemap.xml" sm url = sm raw if re.match r"^https?://", sm raw, re.I else f"https://{sm raw.lstrip '/' }" s code, , s txt = fetch sm url, "Mozilla/5.0" usable = s code == 200 and bool re.search r"< urlset|sitemapindex ", s txt, re.I print f" sitemap {sm url} - HTTP {s code}, valid xml={usable}" if name == " main ": audit url "https://usethelever.com" User-agent: OAI-SearchBot Allow: / User-agent: PerplexityBot Allow: / User-agent: Claude-SearchBot Allow: / User-agent: GPTBot Disallow: / User-agent: Google-Extended Disallow: / Sitemap: https://yourdomain.com/sitemap.xml Note: verify your CDN/WAF allowlist in addition to robots.txt — if your firewall blocks verified AI search IP ranges, robots.txt alone will not fix a 403 . X-Robots-Tag / noai detection, 5-file client patch pack, and 4-page white-label A4 client PDFs : linked directly from the checker page and GitHub repo.