Free auditStart free
GuideGrok · Sources

How Grok finds and cites sources

xAI documents Web Search and X Search tools and a citations format. See what that says, what it leaves out, and how to test a page yourself.

3 min
read
4
sources
Oct 28, 2026
updated
Scaplet Editorial Team
author
In one line

xAI documents two server-side tools that let Grok gather sources: Web Search, which searches and browses pages, and X Search, which searches posts, profiles and threads on X. Responses carry a citations list of URLs. xAI's tool docs do not describe a crawler, an index or ranking, so how a page gets picked is undocumented.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01What the tool docs say each tool does

The two tools xAI documents

xAI's tools overview describes Web Search and X Search as server-side tools. They run on xAI's infrastructure; the model reads the question, decides whether it needs a tool, calls it as often as it needs, and writes the final answer with citations. That description is from the developer API docs. xAI's pages say nothing about whether the Grok app on grok.com or X behaves identically, so treat API behavior as the documented floor, not as a description of the app.
Tool

Web Search (web_search)

What xAI documents
Searches the web in real time and browses pages. Optional allowed_domains or excluded_domains, up to 5 each, never both in one request.
What the page does not say
How pages are discovered or ranked, any crawler, any user agent, robots.txt behavior.
Tool

X Search (x_search)

What xAI documents
Keyword search, semantic search, user search and thread fetch on X. Filters for handles (up to 20) and a YYYY-MM-DD date range.
What the page does not say
How posts are ordered beyond the Top or Latest sort on keyword search, or what makes a post surface in semantic search.

The X Search page lists four functions the model can call: x_keyword_search, x_semantic_search, x_user_search and x_thread_fetch. Thread fetch returns a post with its parent posts and replies, and it ignores the handle and date filters.

03Worth knowing

What nobody outside xAI can tell you

Crawling

The Web Search page does not name a crawler or user agent, so there is no documented token to allow or block. See AI crawlers for bots that vendors do document.

Ranking

No page explains why one URL is retrieved over another. Anyone claiming a Grok ranking factor is guessing.

App versus API

The citations and tools pages describe the developer API. The consumer experience may differ.

Index freshness

The docs say real time; they give no refresh interval.

Because there is no documented crawler token, the one signal you control and can verify is whether the page is public, loads without a login, and returns a normal status code. For a repeatable way to record what Grok returns, see track your brand in Grok.

04Check it

Check it in 2 minutes

Look for any xAI-specific rule in the robots.txt of a site you operate. This confirms whether you have written a rule for a bot xAI has not documented.

When we ran the same search on x.com/robots.txt on 2026-11-01, it printed nothing: the file names Googlebot, Bingbot, several Meta agents and others, but no Grok or xAI agent. That tells you nothing about how Grok fetches pages. It only shows the grep works and that a large publisher found no documented token to write.

Search robots.txt for xAI or Grok rules
curl -s https://example.com/robots.txt | grep -i -E 'grok|xai' || echo 'no grok or xai rule'
Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01Does Grok cite its sources?

xAI's API docs say source URLs come back with tool-retrieved answers and that inline citations can be enabled, but the model decides whether and where to cite.

02Does Grok search X posts?

Yes, through the documented X Search tool, which can search keywords, meaning, users and threads on X.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • x.ai
  1. 01Tools overviewdocs.x.ai · checked 2026-11-01
  2. 02Web Search tooldocs.x.ai · checked 2026-11-01
  3. 03X Search tooldocs.x.ai · checked 2026-11-01
  4. 04Citationsdocs.x.ai · checked 2026-11-01
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane