Skip to content

GEO Citations Command: Check AI Answer Visibility

Check whether AI answer engines mention your brand and cite your domain. You bring your own API key.

Terminal window
geo citations --brand "GeoReady" --domain geoready.dev --topic "GEO audit tools"
geo citations --brand "Acme" --domain acme.com --query "best CRM for startups" --runs 3
geo citations --brand "Acme" --domain acme.com --provider serpbase
Option Default Description
--brand required Brand name to look for in the answers
--domain required Your domain (for example example.com), looked for among the sources the engine returns
--topic the brand Topic used to build the default queries
--query default queries A custom query to ask. Repeatable. Replaces the default queries
--runs 8 Ask each query this many times, from 1 to 20. Costs runs x queries API calls. Ignored with --provider serpbase
--provider see below perplexity, openai, anthropic, groq, minimax, gemini, deepseek or serpbase
--format text Output format: text or json
--output stdout Write the output to a file

The default provider is Perplexity when PERPLEXITY_API_KEY is set. Otherwise the command picks a provider from the keys it finds in the environment, and stops with an error that lists the variables to set if it finds none.

  • Perplexity grounds its answers in live web search and returns real source URLs, so it can show whether your domain is cited.
  • OpenAI, Anthropic, Groq, MiniMax, Gemini and DeepSeek are parametric: they only reveal whether the model knows your brand, not whether it cites your site.
  • serpbase does not ask a model. It observes the real Google results page and the AI Overview. It needs SERPBASE_API_KEY and is never picked automatically: pass --provider serpbase.

AI answers are not deterministic: the same question returns different sources from one run to the next. With --runs above 1 the command reports a 95% confidence interval on the citation rate and says whether the verdict is stable. Use --runs 1 for one cheap sample, and read it as a single observation.

Verdict Meaning
strong Your domain is cited in at least half of the runs
cited Your domain is cited in some runs
mentioned_only The brand is mentioned but the domain is not cited
invisible Neither the brand nor the domain appears

The verdict describes what the engine returned for these queries on this day. It does not predict what a real user will see.

from geo_optimizer.core.citations import run_citation_check
result = run_citation_check("Acme", "acme.com", topic="CRM software", runs=3)