Skip to main content
Search the site/
Place an ad
Habr SEO ↗ Our write-up · Article · ~2 min
How to Check AI Search Bots Can Access a Site

How to Check AI Search Bots Can Access a Site

Checking whether AI search bots can access a site requires crawl rules, server logs and the page HTML. An external link or a URL submitted through Yandex Webmaster's Re-crawl pages tool does not guarantee that Yandex's robot will load the content.

Identifying bot requests

A bot name in the User-Agent is not enough to verify who sent a request. Match it to the sender's IP address using each service's verification rules. Check OAI-SearchBot against the IP ranges in OpenAI's documentation, and Perplexity agents against their individual IP lists. For Yandex, run a forward DNS lookup after the reverse lookup; the result should match the original IP.

If the site uses a CDN, request its logs from the developer. A request may be stopped by the protection layer before reaching the server. Under RFC 9309, if a server or network error makes robots.txt unavailable, the robot must treat crawling as fully disallowed.

Checking server responses

For HTTP responses of 403, 429 or 5xx, look for a matching event in the CDN, WAF or anti-bot logs. A 200 response still needs inspection: it may contain a visitor check instead of the page text. OpenAI recommends allowing OAI-SearchBot in both robots.txt and the published IP ranges. Changes to robots.txt can take about 24 hours to apply to search.

The curl utility can save response headers and HTML for a test request. It does not execute JavaScript, so text loaded that way will not appear in the saved HTML. Perplexity documents a Cloudflare issue in which Bot Fight Mode can continue checking bots despite an allowing WAF rule; the Skip rule must sit above blocking rules. Yandex leaves JavaScript execution to the robot, which can result in incomplete indexing.

Send the developer the URL, request time, sender verification details, HTTP responses and HTML. Include the protection log's blocking event or identify the missing text. The acceptance criterion is that the bot receives the page's main text.

Project sponsors

Companies that keep this analytics open