Caution Reported AI & LLM Bots

Grok Search

Operated by xAI

Quick Facts

User-Agent:
xAI-SearchBot
Category:
AI & LLM Bots
Operator:
xAI
Safety:
Use Caution
Blocking Impact:
Low - No SEO ranking impact
SEO Impact Score:
2/10
Official docs:
None published by xAI

Reported, not operator documented

xAI has not published a crawler page that names xAI-SearchBot. It is listed here because a credible public source does: Trakkr AI Crawler Observatory. Observed UA for xAI Grok search retrieval (Mozilla/5.0 (compatible; xAI-SearchBot/1.0; +https://x.ai)). xAI publishes no crawler page.

What that means for you: the robots.txt rule on this page is the best available spelling, and a well-behaved crawler using this string will honour it, but there is no vendor statement of purpose, crawl rate or robots.txt compliance to rely on. Treat a matching request in your logs as a detection clue, not proof of who sent it, and combine the rule with a firewall rule if the traffic matters to you. If the operator publishes documentation, this profile moves to Official docs.

What is Grok Search?

Grok Search is an AI search-index crawler operated by xAI. It collects and indexes web content so it can be surfaced as citations or answers inside xAI's AI search experience. Allowing Grok Search can increase your visibility in AI-powered search results, which is why most sites choose to permit it.

Grok Search is an AI search-index crawler operated by xAI. It collects and indexes web content so it can be surfaced as citations or answers inside xAI's AI search experience. Allowing Grok Search can increase your visibility in AI-powered search results, which is why most sites choose to permit it.
Grok Search uses the user-agent token xAI-SearchBot. You can control it via robots.txt, meta tags (noai), or the emerging llms.txt standard. Robots.txt is voluntary; for hard enforcement, combine it with server-level IP blocking.

What happens if you block Grok Search?

No SEO Impact - Blocking Grok Search does not affect your rankings in Google, Bing, or any other search engine. Grok Search is an AI crawler, not a traditional search indexer. You can freely block it via User-agent / Disallow: / without any SEO penalty.
Generally safe to allow; provides legitimate crawling value.

Want to see whether Grok Search actually visits you? Read how do I monitor AI bot traffic to my website?

How to block Grok Search with robots.txt

<code>User-agent: xAI-SearchBot</code> - Matching is case-insensitive. Robots.txt is fetched from the root of each subdomain separately.

Block completely (robots.txt)
User-agent: xAI-SearchBot Disallow: /
Allow all (robots.txt)
User-agent: xAI-SearchBot Allow: /
Block private only (robots.txt)
User-agent: xAI-SearchBot Disallow: /private/ Disallow: /api/ Disallow: /admin/ Allow: /
Nginx server block
# Nginx: Hard-block Grok Search if ($http_user_agent ~* "xAI-SearchBot") { return 403 "Bot blocked"; }
Apache .htaccess
# Apache: Hard-block Grok Search SetEnvIfNoCase User-Agent "xAI-SearchBot" bad_bot Order Allow,Deny Allow from all Deny from env=bad_bot
Meta robots tag
<meta name="robots" content="noindex, nofollow">
X-Robots-Tag header
X-Robots-Tag: noindex, nofollow

Is Grok Search safe to allow?

Grok Search is generally legitimate but warrants caution. It is operated by xAI. Review its crawl behaviour in your logs and apply robots.txt or rate-limiting if its activity is heavier than you expect.
Verify by reverse-DNS lookup: legitimate Grok Search requests resolve to xAI's domain.

What does Grok Search do?

Understanding Grok Search's purpose helps you decide whether to allow or block it.

  • Indexes web pages for AI-powered search answers
  • Surfaces your content as citations inside AI search results
  • Builds a knowledge index used to answer user questions
  • Allowing it can increase visibility in AI search
  • Respects robots.txt directives

Frequently Asked Questions

What is the official user-agent string for Grok Search?
The official user-agent string for Grok Search is: xAI-SearchBot. Use this exact string in robots.txt, Nginx, Apache, or Cloudflare firewall rules to target this bot. Matching in robots.txt is case-insensitive. Verify a request genuinely comes from Grok Search by performing a reverse-DNS lookup on the source IP.
Is Grok Search safe?
Grok Search is generally legitimate but warrants caution. It is operated by xAI. Review its crawl behaviour in your logs and apply robots.txt or rate-limiting if its activity is heavier than you expect.
Will blocking Grok Search hurt my SEO?
No SEO Impact - Blocking Grok Search does not affect your rankings in Google, Bing, or any other search engine. Grok Search is an AI crawler, not a traditional search indexer. You can freely block it via User-agent / Disallow: / without any SEO penalty.
How do I block Grok Search in robots.txt?
Add the following lines to your /robots.txt file:
User-agent: xAI-SearchBot
Disallow: /

This instructs Grok Search not to crawl any path on your site. To block only specific sections, replace / with the path (e.g., Disallow: /blog/).
Does Grok Search respect robots.txt?
Grok Search is operated by xAI and is expected to fetch and parse /robots.txt before crawling, following RFC 9309. For hard enforcement, combine robots.txt with server-level IP or user-agent blocking.
How do I verify if Grok Search is crawling my site?
Search your web server access logs for the string xAI-SearchBot (case-insensitive: grep -i "xAI-SearchBot" /var/log/nginx/access.log). Filter by user-agent in your log analytics tool (GoAccess, AWStats, etc.).