Is Your Site Cited by Grok? Visibility Tracker and Method
Step 1: Build your prompt set
Write 20 questions that real [your audience] would ask an AI assistant when looking for [your product or topic category]. Group them into: problem questions (“how do I…”), comparison questions (“X vs Y”), recommendation questions (“best … for …”) and brand questions (“is [your brand] good for …”). Phrase them the way people type them. Do not mention [your brand] except in the brand questions. Output a numbered list.
Step 2: Run and log (manual)
Open Grok, turn on web search, ask each prompt, and open the sources. Tick the box when your domain is among them. The log keeps the data in your browser only.
For each prompt, ask Grok with web search on and check the sources. Tick the box if your domain appears.
| Prompt | Cited on 2026-12-02 | |
|---|---|---|
- 2026-12-02not run
Step 3 (optional): automate with the API
The Responses API returns a citations list for requests that use the web search tool (see xAI’s citations docs). This script is a starting template: we have not run it against your account, so test it with one prompt and check the field names against the docs.
import os, json, urllib.request
DOMAIN = "example.com"
PROMPTS = [
"What are the best free tools for [your topic]?",
"How do I [your main use case]?",
]
def ask(prompt):
body = json.dumps({
"model": "grok-4.7",
"input": prompt,
"tools": [{"type": "web_search"}],
}).encode()
req = urllib.request.Request(
"https://api.x.ai/v1/responses", data=body,
headers={"Authorization": "Bearer " + os.environ["XAI_API_KEY"],
"Content-Type": "application/json"})
return json.load(urllib.request.urlopen(req, timeout=120))
for p in PROMPTS:
data = ask(p)
urls = data.get("citations", [])
cited = any(DOMAIN in u for u in urls)
print(("CITED " if cited else "not cited ") + p)- Run each prompt several times and on different days; track the share, not a single result.
- Keep the prompt set fixed so changes are comparable.
- Check the answer text too, because the citations list includes sources the agent only examined.
- Mind cost: web search is $5 per 1,000 calls plus tokens (estimate it).
What to do with the results
- Prompts where you are never cited: check whether a page on your site answers that exact question, clearly and with a date.
- Prompts where competitors are cited: open those pages and note what they answer that you do not.
- Make sure the pages are indexed and fast; see Grok for SEO for audit prompts.
FAQ
Can I check whether Grok cites my site?
Yes, manually or with a script. Ask Grok the questions your customers ask, with web search on, and check whether your domain appears in the sources. xAI’s API returns a citations list for agentic requests.
Is there an official Grok rank tracker?
We found no official rank or visibility report from xAI like Search Console. Any “Grok rank” number comes from sampling answers, which varies by wording, time and whether search was used, so treat it as a trend, not a rank.
Why does the answer change each time?
Model answers vary run to run, and search results change. Run each prompt several times, on different days, and look at the share of runs that cite you instead of one result.
Does a citation mean Grok recommends me?
Not necessarily. xAI’s docs note that the citations list includes sources the agent examined, which may not appear in the final answer. Check the answer text as well.
How do I get cited more?
There is no guaranteed method. Publish pages that answer the exact questions clearly with dates and sources, make sure they are crawlable and indexed, and earn mentions elsewhere. Then measure with a stable prompt set.
What does the API method cost?
Tokens plus server-side tool calls. xAI lists web search at $5 per 1,000 calls as of December 2, 2026, so a 50-prompt set is a few cents to a few dollars depending on the model and answer length. Use the cost calculator to estimate.