# AI Visibility Tracker | Brand Mentions & Citation Gap API (`berkaydev/ai-visibility-brand-tracker`) Actor

Track how your brand shows up in Google AI Overviews: mentioned or not, position vs. competitors, your site cited or not, and which cited websites you are missing from (citation gap). Share of voice, weekly change alerts, German and English questions.

- **URL**: https://apify.com/berkaydev/ai-visibility-brand-tracker.md
- **Developed by:** [Gezgin Data](https://apify.com/berkaydev) (community)
- **Categories:** SEO tools, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 answer analyseds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Find out how your brand shows up in **Google AI Overviews**, the AI answer Google puts above the search results. For each question your customers ask, you get: is your brand **mentioned**, in which **position** compared with your competitors, is **your website cited** as a source, which **competitors** appear, and which **cited websites you are missing from**. A summary gives **share of voice** per brand and the **citation gap**: the sites the AI relies on most where you are absent. German and English questions both work, and a weekly monitoring mode reports only what changed.

### Who uses it

**SEO and content teams** track whether their brand appears in AI answers for the questions that matter and see which pages the AI trusts instead. **Marketing agencies** report AI visibility to clients next to classic rankings. **PR teams** find the publications and review sites the AI cites, which is where coverage now pays off twice. **Founders** check in a few minutes whether AI recommends them or a competitor.

### What makes it different

Most AI visibility trackers stop at "mentioned: yes or no". This one also tells you **what to do about it**. The citation gap lists the websites that Google's AI cited for a question while your site was not, so you know where to get listed, reviewed or quoted. In a test for HubSpot, the brand led three of four CRM questions, but for "CRM für Handwerker" (CRM for tradespeople) it was absent, and the AI cited YouTube, a savings bank's blog and two trade portals instead. That is a concrete content and outreach list.

It is also cheap and honest about its source. The answers come from Apify's official Google AI Overviews Scraper, which the Actor calls for you. Each question costs a fraction of a cent there plus this Actor's own small fee, far below trackers that charge several cents per question. Country domains of your brand (hubspot.de, hubspot.co.uk) count as your site.

### Input example

```json
{
  "brand": "HubSpot|hubspot.com",
  "competitors": ["Salesforce|salesforce.com", "Pipedrive|pipedrive.com", "Zoho|zoho.com"],
  "queries": ["best CRM for small business", "beste CRM Software für kleine Unternehmen", "CRM für Handwerker"]
}
```

Write the brand as `Name|domain`; the domain is what tells the Actor whether your site is cited. `brandAliases` adds other spellings or product names. Questions can be in any language; phrase them the way a customer would search.

### Output

One row per question:

```json
{
  "query": "CRM für Handwerker",
  "answerFound": true,
  "brandMentioned": false,
  "brandPosition": null,
  "brandCited": false,
  "brandsMentionedInOrder": [],
  "competitorsMentioned": [],
  "citationGap": ["youtube.com", "berliner-sparkasse.de", "shk-at-work.de", "sander-doll.com"],
  "answerText": "Für Handwerksbetriebe eignen sich spezialisierte Lösungen …",
  "sources": [{ "url": "https://www.shk-at-work.de/…", "title": "…" }]
}
```

Plus one summary row (also stored as `SUMMARY` in the key-value store):

```json
{
  "recordType": "summary",
  "message": "HubSpot is mentioned in 75% and cited in 75% of 4 AI answers (4 questions). Sites the AI cites where you are missing: youtube.com, berliner-sparkasse.de, shk-at-work.de.",
  "shareOfVoice": [
    { "name": "HubSpot", "mentionRatePct": 75, "citedRatePct": 75, "mentionedFirst": 3, "isYourBrand": true },
    { "name": "Zoho", "mentionRatePct": 75, "citedRatePct": 50, "mentionedFirst": 0, "isYourBrand": false }
  ],
  "citationGapTop": [{ "domain": "youtube.com", "citedInAnswers": 1, "exampleQueries": ["CRM für Handwerker"] }]
}
```

You can download the dataset as JSON, CSV, Excel or HTML.

### Weekly monitoring

Switch on `onlyChanges` and schedule the run weekly (Apify Console → Schedules). The first run sets the starting point. After that, you get only the questions where something changed: your brand appeared or disappeared, your position moved, your site started or stopped being cited, new competitors or new sources showed up, or the AI answer appeared or vanished. Each changed row says what changed in `changes`, and you are charged only for those rows.

### Use it from an AI agent (MCP)

The Actor works as a tool for Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server: `https://mcp.apify.com/?tools=berkaydev/ai-visibility-brand-tracker`. Send brand, competitors and questions, with `compact: true` for short rows. Field names such as `questions`, `prompts` or `keywords` are accepted too.

### Pricing

You pay this Actor per question with an AI answer analysed; questions without an AI Overview are free. The Google AI Overviews Scraper that fetches the answers charges its own fee per captured overview to your account (a fraction of a cent, lower on paid Apify plans), visible in its run.

### Limits, said plainly

Version 1 covers **Google AI Overviews**. ChatGPT, Perplexity, Claude and Gemini are planned as an option with your own API key. Google shows an AI Overview for many questions but not all; questions without one are reported and not charged. AI answers vary from day to day, so a single run is a snapshot, and trends need a few weekly runs. Fetching the overviews takes time: about 20 to 40 seconds per question, run in parallel, so a run with a handful of questions takes a minute or two. Brand matching works on names, aliases and domains; a brand with a very generic name may need aliases.

### FAQ

**What is an AI Overview?** The AI-generated answer Google shows above the search results for many questions, with links to the sources it used.

**How is the position calculated?** By the order in which the brands are first mentioned in the answer text. Position 1 means your brand is named first.

**What is the citation gap?** The websites the AI cited for a question while your own site was not cited. They are the places to get listed, reviewed or quoted.

**Can I track German questions?** Yes. Write the questions in German and you get the German AI Overview.

**Does it use ChatGPT?** Not in version 1. It reads Google AI Overviews through Apify's official scraper; other assistants are planned with your own API key, so you stay within their terms.

**How do I monitor weekly?** Turn on `onlyChanges` and add a weekly schedule. The first run is the starting point; later runs return only what changed.

# Actor input Schema

## `brand` (type: `string`):

Brand name, optionally with your domain after a |, e.g. HubSpot|hubspot.com. The domain is used to tell whether your site is cited (country domains like hubspot.de count too).

## `brandAliases` (type: `array`):

Spellings or product names that also count as a mention, e.g. 'HubSpot CRM'.

## `competitors` (type: `array`):

One per line, optionally with domain: Salesforce|salesforce.com. Up to 20.

## `queries` (type: `array`):

One question or search per line, in any language, e.g. 'best CRM for small business' or 'beste CRM Software für kleine Unternehmen'. Google shows AI Overviews for many, not all, questions.

## `onlyChanges` (type: `boolean`):

Remembers each question's last result and returns only questions where something changed: your brand appeared or disappeared, your position moved, your site is (no longer) cited, new competitors or sources. The first run sets the starting point. Schedule it weekly.

## `seenStoreName` (type: `string`):

Named key-value store in your account that keeps the last result per brand and question.

## `maxQueries` (type: `integer`):

Cap on questions per run.

## `compact` (type: `boolean`):

Return only question, mentioned, position, cited, competitors, citation gap and changes.

## Actor input object example

```json
{
  "brand": "HubSpot|hubspot.com",
  "competitors": [
    "Salesforce|salesforce.com",
    "Pipedrive|pipedrive.com",
    "Zoho|zoho.com"
  ],
  "queries": [
    "best CRM for small business",
    "beste CRM Software für kleine Unternehmen",
    "free CRM for startups"
  ],
  "onlyChanges": false,
  "seenStoreName": "ai-visibility-memory",
  "maxQueries": 200,
  "compact": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per question plus a summary row (share of voice, citation gap).

## `summary` (type: `string`):

Share of voice per brand and the top citation gap.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "brand": "HubSpot|hubspot.com",
    "competitors": [
        "Salesforce|salesforce.com",
        "Pipedrive|pipedrive.com",
        "Zoho|zoho.com"
    ],
    "queries": [
        "best CRM for small business",
        "beste CRM Software für kleine Unternehmen",
        "free CRM for startups"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("berkaydev/ai-visibility-brand-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "brand": "HubSpot|hubspot.com",
    "competitors": [
        "Salesforce|salesforce.com",
        "Pipedrive|pipedrive.com",
        "Zoho|zoho.com",
    ],
    "queries": [
        "best CRM for small business",
        "beste CRM Software für kleine Unternehmen",
        "free CRM for startups",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("berkaydev/ai-visibility-brand-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "brand": "HubSpot|hubspot.com",
  "competitors": [
    "Salesforce|salesforce.com",
    "Pipedrive|pipedrive.com",
    "Zoho|zoho.com"
  ],
  "queries": [
    "best CRM for small business",
    "beste CRM Software für kleine Unternehmen",
    "free CRM for startups"
  ]
}' |
apify call berkaydev/ai-visibility-brand-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,berkaydev/ai-visibility-brand-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QCo7jofdVP9DtaES1/builds/eGb3vDJGqMP844MjS/openapi.json
