analyze_citation_coverage
Checks which of up to 10 keywords cite a domain in an AI answer, and which do not. This is usually the first question in an audit: out of everything you care about, where do you already show up, and where are you invisible. Each result is remembered, so the next check says what changed.
You give it
domainrequiredstringBare domain, for example example.com (no https://, no www).keywordsrequiredlist of stringsUp to 10 prompts or topics to check the domain against.brandoptionalstringBrand name to look for in the answer text. Without it the domain's first label is used, which can match an ordinary word by accident, so pass the real brand when you know it.countryoptionalstringMarket to read the answer in, for example Italy. Default United States.languageoptionalstringLanguage code, for example it. Default en. Write the keyword in that language too.engineoptionalstringchat_gpt (default), gemini or perplexity. ChatGPT and Gemini are read the way a person sees them in those apps; Perplexity through its sonar API with web search.samplesoptionalintegerIndependent answers to read, 1 to 5. Default 1. Answers change from run to run, so use 3 before telling someone they are or are not cited. Each sample costs a unit.You get back
- For each keyword: cited or not, and in how many of the answers
- Your best rank among the sources
- Who is cited instead, and how much of it is Reddit or YouTube
- Whether the answer names you without a link
- What changed since your last check
- Overall: keywords cited, coverage %, and keywords newly cited or lost
Full details
Returns. Per keyword: whether the domain is cited (in at least half the samples), in how many of the sampled answers, its best rank among the sources, the domains that are cited when it is not, how much of that is community sites such as Reddit and YouTube (source_mix), whether the answer names it without linking to it, the model and time of the answer, and previous and change: your last check of the same domain and keyword, and whether the citation rate went up, down or stayed the same. Overall: keywords checked, keywords cited, coverage percentage, the keywords where the domain is not cited, and the keywords newly cited or no longer cited since your last check.
Note. "Cited" and "mentioned" are reported separately and never merged: a keyword where the answer names you but does not link to you is listed under mentioned_not_cited. A keyword the provider fails on carries an error field instead of failing the whole call. Results are kept for 180 days against your API key and only your key can read them.
Example arguments
{
"domain": "example.com",
"keywords": ["best project management software", "asana alternatives"],
"brand": "Example"
}