# AI Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude (`dottti/ai-brand-visibility-tracker`) Actor

See if ChatGPT, Perplexity, Gemini and Claude name your brand for buyer prompts: rank, competitors, share of voice, sentiment and cited sources. Uses your own API keys. Alerts when mentions or citations change. Free demo without keys.

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

## Pricing

from $7.00 / 1,000 one prompt x engine ai answer checked for your brand saved to the datasets

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

## AI Brand Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude

Find out whether AI assistants name your brand when buyers ask them for advice. You give your brand, your competitors
and the questions your buyers ask ("best CRM for small agencies"). The Actor asks each question on OpenAI (the models
behind ChatGPT), Perplexity, Google Gemini and Anthropic Claude through their official APIs, with **your own API keys**,
and returns one flat row per question and engine:

- was your brand mentioned, and how many times
- its rank among the brands named (1 = named first) and its number in a numbered list
- which competitors were named, in what order, and which ones came before you
- share of voice (your mentions out of all tracked brand mentions in that answer)
- the tone of the sentences that name you (simple word-list method, labelled as such)
- the sources the AI cited, their domains, and whether your own site was cited
- an excerpt of the answer around your first mention, tokens used, and the time of the check

Free summary rows add it up per engine: mention rate, share of voice, times named first, average rank, how often your
site is cited, the most cited domains, and the same numbers for each competitor.

This kind of tracking is often called GEO (generative engine optimization) or AEO (answer engine optimization).

### Who it is for

- **Marketing and SEO teams** who want to know if AI assistants recommend them or a competitor.
- **Agencies** that report AI visibility to clients every week or month.
- **Founders and product marketers** checking which sources the AI reads before it names a product, so they know where
  to get covered.

### You bring the API keys

Each engine is called with the key you enter, and its usage (tokens, web searches) is billed to your account with that
provider. Keys are stored encrypted by Apify and only sent to the provider they belong to. Add a key for one engine or
for all four; engines without a key are skipped.

| Engine | Default | Sources in the row |
| --- | --- | --- |
| OpenAI | gpt-6.1-terra, may search the web | yes, when it searched |
| Perplexity | the "low" effort preset (an everyday Perplexity search) | yes, always |
| Google Gemini | gemini-4-hydrogen | no (see limits) |
| Anthropic Claude | claude-opus-5-5 at low effort, may search the web | yes, when it searched |

You can change each model, turn web search off, or set a country for the web search.

### No key yet? Free demo

Run the Actor with empty input and it finishes in a few seconds with a free status row that says which keys to add, plus
two demo rows and a summary built from built-in sample text about **made-up** brands. They are marked `"isDemo": true`
and nothing is charged. You can also paste an answer you copied from any AI assistant into "Paste an answer" to check it
for your brand without a key.

### What you get

A real row from the free demo (made-up brands; the cited links are left out here):

```json
{
  "recordType": "check",
  "isDemo": true,
  "engine": "demo",
  "prompt": "best note taking app for a small team",
  "brand": "Acme Notes",
  "brandDomain": "acmenotes.example",
  "mentioned": true,
  "firstMentionRank": 2,
  "firstMentionOffset": 224,
  "listPosition": 2,
  "mentionCount": 2,
  "brandsMentionedCount": 3,
  "competitorsMentionedCount": 2,
  "competitorsMentioned": [
    { "name": "Northwind Docs", "rank": 1, "firstMentionOffset": 66, "listPosition": 1, "mentionCount": 2, "shareOfVoice": 0.4, "domainCited": false },
    { "name": "Contoso Wiki", "rank": 3, "firstMentionOffset": 349, "listPosition": 3, "mentionCount": 1, "shareOfVoice": 0.2, "domainCited": null }
  ],
  "competitorsAheadOfBrand": ["Northwind Docs"],
  "shareOfVoice": 0.4,
  "sentiment": "positive",
  "sentimentPositiveWords": 6,
  "sentimentNegativeWords": 0,
  "sentimentMethod": "rule-based word list on the sentences that name the brand (not an AI judgement)",
  "mentionContext": "**Acme Notes** – Easy to set up and fast, with a generous free plan and real-time editing. If you want something simple, Acme Notes is a strong pick; for heavy project tracking, Northwind Docs fits better.",
  "citedDomains": ["acmenotes.example", "reviews.example"],
  "citationsCount": 2,
  "ownDomainCited": true,
  "ownDomainCitationRank": 1,
  "answerChars": 567,
  "checkedAt": "2026-11-17T08:47:11.213Z"
}
```

Rows from a live engine also carry `model`, `webSearchUsed`, `webSearchCalls`, `citedUrls`, `answerExcerpt`,
`inputTokens`, `outputTokens`, `totalTokens`, `providerCostUsd` (Perplexity reports its own cost) and `responseId`.
Turn on "Include the full answer" to get the whole text in `answer`.

The summary row for the same demo:

```json
{
  "recordType": "summary",
  "engine": "demo",
  "brand": "Acme Notes",
  "promptsAnswered": 2,
  "mentionedIn": 1,
  "mentionRate": 0.5,
  "firstPlaceCount": 0,
  "averageFirstMentionRank": 2,
  "shareOfVoice": 0.25,
  "competitors": [
    { "name": "Northwind Docs", "mentionedIn": 2, "mentionRate": 1, "shareOfVoice": 0.375, "firstPlaceCount": 2, "averageFirstMentionRank": 1 },
    { "name": "Contoso Wiki", "mentionedIn": 2, "mentionRate": 1, "shareOfVoice": 0.25, "firstPlaceCount": 0, "averageFirstMentionRank": 2.5 },
    { "name": "Fabrikam Pad", "mentionedIn": 1, "mentionRate": 0.5, "shareOfVoice": 0.125, "firstPlaceCount": 0, "averageFirstMentionRank": 3 }
  ],
  "ownDomainCitationRate": 0.5,
  "topCitedDomains": [ { "domain": "reviews.example", "answers": 2 }, { "domain": "acmenotes.example", "answers": 1 } ],
  "sentimentCounts": { "positive": 1, "neutral": 0, "mixed": 0, "negative": 0 }
}
```

If a key is wrong, an account has no credit, a model name is not accepted or an answer fails, you get a free `status`
row that says so (for example `auth_failed`, `no_credit`, `bad_model`, `error`), the other engines keep going, and the
run still ends successfully, so schedules keep working.

### How to use it

1. Enter your **brand**, your **domain** and up to 30 **competitors**. Write a competitor as "HubSpot | hubspot.com" to
   add its domain, or "Name | domain.com | Other name" for more names.
2. Add your buyer **prompts**, one per line. No ideas? Set **Mode** to "Suggest buyer prompts", enter a **category**
   (for example "CRM for small agencies") and one key: you get free suggestion rows to copy into Prompts.
3. Add one or more **API keys** and start.

How names are matched: whole words, case ignored, so "Monday" does not match "Mondays". Your domain and aliases count
as your brand. Source links inside the answer text are not counted as mentions.

### Alerts: schedule it

Turn on **Only changes** and schedule the Actor (daily or weekly) in Apify Console. The first run returns every check.
Later runs return only checks where something moved since the last run for the same brand, engine, model and prompt:
`new`, `now_mentioned`, `no_longer_mentioned`, `rank_improved`, `rank_dropped`, `list_position_changed`,
`own_domain_now_cited`, `own_domain_no_longer_cited`. Each such row also shows the previous values and the cited domains
that were added or removed. Unchanged checks are not returned and not charged. Summary rows still cover every answer.

### Pricing

Pay per result: one `check` event per prompt and engine answered and saved to the dataset. Status, demo, summary and
prompt suggestion rows are free. Failed calls are free. Platform usage is included in the price. Your AI provider bills
its own usage to your key, separately. Set a maximum cost per run in Apify Console and the Actor stops cleanly when it is
reached.

### Limits

- AI answers change from one run to the next, even for the same prompt. Track trends over several runs, not one answer.
- API answers are close to, but not the same as, what someone sees in the ChatGPT, Perplexity, Gemini or Claude apps
  (the apps add their own instructions, memory and location).
- Gemini is asked without Google Search grounding, because Google's terms for grounded results do not allow storing or
  analysing them. Gemini rows therefore have no cited sources.
- Competitors are found only when you list them; the Actor does not discover brands you did not name.
- Sentiment is a simple word-list count on the sentences that name your brand, not an AI judgement. Use it as a hint.
- Rank is the order in which your tracked brands first appear in the answer.

### Data and terms

Every engine is called through its official API with the customer's own key. The API terms of OpenAI, Anthropic,
Google (Gemini API) and Perplexity each state that the customer owns, or that the provider claims no ownership of, the
output it generates. No web pages are scraped and no personal data is collected; e-mail addresses that appear in an
answer are removed.

# Actor input Schema

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

Your brand or product name as people write it, for example Pipedrive. Each answer is checked for it (whole words, case ignored).

## `brandDomain` (type: `string`):

Your website domain, for example pipedrive.com. Used to tell if the AI cited your own site, and also counted as a mention.

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

Other names that count as your brand, for example a product name or a short form.

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

Competitor brands, one per line, up to 30. Write "Name" or "Name | domain.com | Alias" to add their domain and other names.

## `prompts` (type: `array`):

The questions your buyers ask an AI assistant, one per line, up to 200. Each prompt is asked once on each engine you gave a key for.

## `openaiApiKey` (type: `string`):

Your own OpenAI API key, to ask OpenAI's models (the models behind ChatGPT). Usage is billed to your OpenAI account. Stored encrypted.

## `perplexityApiKey` (type: `string`):

Your own Perplexity API key. Perplexity always searches the web and returns its sources. Usage is billed to your Perplexity account. Stored encrypted.

## `geminiApiKey` (type: `string`):

Your own Google Gemini API key. Gemini is asked without Google Search grounding, so its rows have no cited sources. Usage is billed to your Google account. Stored encrypted.

## `anthropicApiKey` (type: `string`):

Your own Anthropic API key, to ask Claude. Usage is billed to your Anthropic account. Stored encrypted.

## `engines` (type: `array`):

Which engines to ask. Empty = every engine you gave a key for. Values: openai, perplexity, gemini, anthropic.

## `webSearch` (type: `boolean`):

On: OpenAI and Claude may search the web before answering and return the pages they cite (the provider charges for searches). Off: they answer from their own knowledge, with no sources.

## `country` (type: `string`):

Optional two-letter country code (US, GB, DE) passed to the web search of OpenAI, Perplexity and Claude, so results lean to that country.

## `onlyChanged` (type: `boolean`):

Return only checks whose mention, first-mention rank, list position or own-domain citation changed since the last run for this brand. The first run returns everything. Unchanged checks are not charged.

## `includeSummary` (type: `boolean`):

Add one free summary row per engine (and one for all engines): mention rate, share of voice, average rank, competitors and top cited domains.

## `maxChecks` (type: `integer`):

Upper limit of prompt x engine checks in one run.

## `excerptChars` (type: `integer`):

Characters of the answer kept in answerExcerpt, centred on the first brand mention.

## `includeFullAnswer` (type: `boolean`):

Also store the whole answer text in the field answer.

## `openaiModel` (type: `string`):

OpenAI model id. Empty = gpt-6.1-terra.

## `perplexityEffort` (type: `string`):

Perplexity's preset: fast (quick lookup), low (everyday research, like a normal Perplexity search), medium or high (deeper and dearer). Ignored when a Perplexity model is set.

## `perplexityModel` (type: `string`):

Optional model id for Perplexity's Agent API (for example openai/gpt-5.6-sol), asked with web search on. Empty = use the effort preset.

## `geminiModel` (type: `string`):

Gemini model id. Empty = gemini-4-hydrogen.

## `anthropicModel` (type: `string`):

Claude model id. Empty = claude-opus-5-5. For lower cost use claude-haiku-5-5.

## `anthropicEffort` (type: `string`):

How much Claude thinks before it answers: low (default, cheapest), medium or high.

## `mode` (type: `string`):

track: ask each prompt on each engine and analyse the answers. suggestPrompts: ask one engine to write buyer prompts for your category (free rows), to copy into Prompts.

## `category` (type: `string`):

What you sell, for prompt suggestions, for example CRM for small agencies.

## `suggestionCount` (type: `integer`):

How many buyer prompts to suggest.

## `answerText` (type: `string`):

Optional: paste an answer you copied from any AI assistant to analyse it for your brand without an API key. Used only when no key is given.

## `answerSource` (type: `string`):

Where the pasted answer came from, for example ChatGPT app. Saved in the model field.

## Actor input object example

```json
{
  "brand": "Pipedrive",
  "brandDomain": "pipedrive.com",
  "competitors": [
    "HubSpot | hubspot.com",
    "Zoho CRM | zoho.com",
    "Salesforce | salesforce.com"
  ],
  "prompts": [
    "best CRM for small agencies",
    "Pipedrive alternatives for a 5-person sales team"
  ],
  "webSearch": true,
  "onlyChanged": false,
  "includeSummary": true,
  "maxChecks": 100,
  "excerptChars": 500,
  "includeFullAnswer": false,
  "perplexityEffort": "low",
  "anthropicEffort": "low",
  "mode": "track",
  "suggestionCount": 15
}
```

# Actor output Schema

## `records` (type: `string`):

Mention, rank, share of voice, sentiment and cited sources per prompt and engine.

# 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": "Pipedrive",
    "brandDomain": "pipedrive.com",
    "competitors": [
        "HubSpot | hubspot.com",
        "Zoho CRM | zoho.com",
        "Salesforce | salesforce.com"
    ],
    "prompts": [
        "best CRM for small agencies",
        "Pipedrive alternatives for a 5-person sales team"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dottti/ai-brand-visibility-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": "Pipedrive",
    "brandDomain": "pipedrive.com",
    "competitors": [
        "HubSpot | hubspot.com",
        "Zoho CRM | zoho.com",
        "Salesforce | salesforce.com",
    ],
    "prompts": [
        "best CRM for small agencies",
        "Pipedrive alternatives for a 5-person sales team",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("dottti/ai-brand-visibility-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": "Pipedrive",
  "brandDomain": "pipedrive.com",
  "competitors": [
    "HubSpot | hubspot.com",
    "Zoho CRM | zoho.com",
    "Salesforce | salesforce.com"
  ],
  "prompts": [
    "best CRM for small agencies",
    "Pipedrive alternatives for a 5-person sales team"
  ]
}' |
apify call dottti/ai-brand-visibility-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dottti/ai-brand-visibility-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/uT4kP2oYfgq2zLn0T/builds/efIyrcFpJZBik4V3o/openapi.json
