Home / Guides

Guide

How to get your site cited in Grok (xAI)

xAI's Grok can search the web and cite what it finds, but xAI hasn't published a crawler page, user agent string or IP list the way OpenAI, Anthropic or Google have. Here's what xAI does document, what's only reported by third parties, a robots.txt group that covers the reported names, and the honest, boring steps that help.

Updated November 9, 2026 · By the Footnotely team

The short answer

Unlike most AI answer engines, xAI hasn't published a crawler page for Grok, so there's no official user agent to allow. What you can do: make sure your robots.txt, firewall and CDN don't block the two names directories report for xAI (GrokBot and xAI-SearchBot), put clear facts in plain HTML text, and keep your pages indexed in the major search engines. We can't promise any of that gets you cited in Grok, and xAI publishes no ranking checklist.

What xAI actually documents

xAI's developer documentation describes a Web Search tool that "enables Grok to search the web in real-time and browse web pages to find information," and says citations from search results can be retrieved by the developer. It also describes parameters such as allowed_domains and excluded_domains (max 5 each), which let a developer limit a request to, or exclude, specific domains. A separate X Search tool is also documented, so public posts on X can be a source in addition to websites.

What the docs we read don't say: which user agent the tool sends, whether it reads robots.txt, or what IP addresses it uses. That's the gap other vendors fill with a crawler page, and it's why this guide is more cautious than our Meta AI guide.

The names that are reported (not official)

Third party directories also note that some traffic tied to Grok may not carry either name, so a clean log doesn't prove Grok isn't reading you, and a match doesn't prove it's xAI.

Robots.txt rules to copy and paste

If your robots.txt already allows everyone, you don't need to add anything. If you block bots by default or by name, add a group that names both tokens. A group with several User-agent lines applies to all of them:

# Grok (reported crawler names; xAI does not document them)
User-agent: GrokBot
User-agent: xAI-SearchBot
Allow: /

To keep them out instead:

User-agent: GrokBot
User-agent: xAI-SearchBot
Disallow: /

Because xAI hasn't said whether these rules are honoured, treat robots.txt as a request and use firewall rules if blocking matters. Our robots.txt guide covers the documented bots from OpenAI, Anthropic, Perplexity, Google and others.

Make your page easy to quote

With no documented selection rules, the honest advice is the general kind that helps any AI answer engine:

Search engine presence

xAI doesn't say which search indexes, if any, sit behind Grok's web results, so we won't guess. Being well indexed generally is still sensible: see our Copilot and Bing guide for sitemaps and IndexNow.

Check that bots can reach you

Firewalls, CDN bot settings and hosting rules can block a bot before it reads anything. Our free crawler checker tests robots.txt and live responses for the main AI crawlers, and our Cloudflare guide explains bot blocking settings. Then look in your logs (more commands in our server logs guide):

grep -iE "grokbot|xai-searchbot" access.log | awk '{print $1}' | sort | uniq -c | sort -rn | head

Anyone can fake a user agent string, and xAI publishes no IP ranges to verify against, so a log line is a clue, not proof.

A quick checklist

  1. Open yoursite.com/robots.txt and make sure GrokBot and xAI-SearchBot aren't blocked by name or by a blanket rule.
  2. Check your firewall or CDN isn't challenging unknown AI bots.
  3. Put a plain answer to each key question at the top of the page that targets it.
  4. Keep your site indexed in Google and Bing.
  5. Check your logs for the reported names, without treating a match as proof.
  6. Revisit this page: if xAI publishes crawler documentation, that becomes the source of truth.

Sources

Checked November 9, 2026. Crawler names here come from third party directories, not from xAI; the xAI docs linked above are the first place to look for updates.

FAQ

Does xAI publish an official Grok crawler user agent?

Not that we could find. xAI's developer docs describe a Web Search tool that lets Grok "search the web in real-time and browse web pages," but they don't name the user agent those requests use or say whether they follow robots.txt. Every crawler name you'll see in circulation comes from site owners and directories watching their logs.

What are GrokBot and xAI-SearchBot?

They're the two names third party crawler directories most often report for xAI. A commonly listed full string for xAI-SearchBot is "Mozilla/5.0 (compatible; xAI-SearchBot/1.0; +https://x.ai)". xAI hasn't confirmed either, so treat them as reported, not official.

Will allowing GrokBot get me cited in Grok?

There's no guarantee. xAI doesn't document how Grok picks sources, so no rule can promise a citation. Allowing the reported names just removes one possible barrier.

Does robots.txt control Grok?

Only if xAI's fetchers choose to honour it, and xAI hasn't documented that. robots.txt is a request. If you need to keep a bot out, enforce it at your firewall or CDN as well.

Can I block Grok without hurting Google or Bing rankings?

Robots.txt rules for Grok affect only the bots they name. Googlebot and Bingbot are separate user agents, so a rule for GrokBot doesn't touch them.

Are there other ways Grok finds content?

Yes. xAI's docs also list an X Search tool alongside Web Search, so public posts on X can be a source separate from your website. No robots.txt rule governs that.

Can developers exclude my site from Grok's web search?

Yes. xAI's Web Search tool lets developers pass allowed_domains or excluded_domains (up to 5 each) in their own requests. That's a choice the developer makes for each request, not something you control from your site.

Track it every week instead of checking by hand

Footnotely asks your buyer questions on ChatGPT, Perplexity and Gemini several times per run and shows the mention rate with its sample size, the raw answers, and who gets named instead of you. Free plan, then from $29/mo.

More guides