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
- Named by:
- Trakkr AI Crawler Observatory
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?
User-agent / Disallow: / without any SEO penalty.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.
Is Grok Search safe to allow?
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?
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?
Will blocking Grok Search hurt my SEO?
User-agent / Disallow: / without any SEO penalty.How do I block Grok Search in robots.txt?
/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?
/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?
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.).