# Grok

> Grok can search public X posts and the web in real time. In xAI's API, Grok returns numbered inline citations that link to its sources.

Canonical: https://promptlyfound.com/platforms/grok
Updated: 2026-11-20

## Short answer

**The xAI documentation names no crawler or robots.txt token for Grok, so site owners have no documented way to opt in or out.** Grok is the AI assistant from xAI. It can search public X posts and run a real-time web search to answer a question. In xAI's API, Grok returns the URLs it used and numbered inline citations.

## Key findings

- When it answers a query, Grok decides whether to search public X posts and whether to run a real-time web search. [1]
- xAI's Web Search tool lets Grok search the web in real time and browse web pages. [2]
- xAI's API returns a list of all sources Grok encountered by default. In the Responses API, numbered inline citation links are on by default. [3]
- Making an X account private keeps its posts from being used to train Grok and from being surfaced in response to user queries. [1]

## How it finds pages

Grok can draw on public X posts as well as the web, so activity on X is one route into its answers. The X Help Center article [About Grok](https://help.x.com/en/using-x/about-grok) says that when Grok answers a question, it decides whether to search public X posts and whether to run a real-time web search.[1] In xAI's API, the Web Search tool lets Grok search the web in real time, open web pages and extract information from them, according to xAI's [Web Search documentation](https://docs.x.ai/developers/tools/web-search).[2]

## How it shows sources

xAI says Grok decides when to cite and does not cite a source in every answer.[3] The [citations documentation](https://docs.x.ai/developers/tools/citations) says the API returns a list of every URL Grok encountered while searching, and some of those URLs may not appear in the final answer. Inline citations are numbered links placed where the answer uses a source. Numbering starts at 1, and a repeated source keeps its first number.[3]

## Controls for site owners

Site owners have no documented control over Grok. The [xAI documentation index](https://docs.x.ai/llms.txt) lists no page about crawlers, user agents or robots.txt.[4] The X Help Center describes one control for X users. Making an X account private keeps its posts from being used to train Grok and from being surfaced in answers.[1]

## Sources

1. About Grok. X Help Center. https://help.x.com/en/using-x/about-grok
2. Web Search. xAI, 2026-10-10. https://docs.x.ai/developers/tools/web-search
3. Citations. xAI. https://docs.x.ai/developers/tools/citations
4. xAI documentation index. xAI. https://docs.x.ai/llms.txt

---

This is a plain-text copy of https://promptlyfound.com/platforms/grok from Promptly Found. The web page is the canonical version and includes the charts.
