# AI Brand Visibility: ChatGPT, Perplexity, Gemini, AI Overviews (`macgitarra/ai-brand-visibility-tracker`) Actor

Does AI recommend your brand? Ask ChatGPT, Perplexity, Gemini and Google AI Overviews your customers' questions and get mention rate, citation position, share of voice vs competitors and the sites AI cites. No API keys needed.

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

## Pricing

from $60.00 / 1,000 ai answers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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 & Google AI Overviews

**Does AI recommend your brand, or your competitors?** More and more buyers ask ChatGPT, Perplexity, Gemini or Google's AI Overviews "what's the best X?" instead of clicking search results. This Actor asks those engines the questions your customers ask, and tells you:

- **Visibility rate**: in what % of AI answers your brand is mentioned
- **Citations**: whether AI cites *your website* as a source, and at which position
- **Rank vs competitors**: when AI lists several brands, are you first, second… or missing?
- **Share of voice**: how often each competitor appears compared with you
- **Sources AI trusts**: the sites AI cites most for your topic (review sites, forums, media…), so you know where to get mentioned
- **Every answer in full**, with its sources, for your own analysis

**No API keys, no subscriptions.** You pay only per answer. One run gives you a ready **HTML report** to share with a client or your team, plus all data as JSON, CSV or Excel.

### Who it's for

- **SEO / GEO agencies** reporting AI visibility (Generative Engine Optimization) to clients
- **Marketing teams** tracking whether their brand shows up in AI search, week after week
- **SaaS and e-commerce founders** checking which competitors AI recommends instead of them
- **PR and content teams** finding which publications and review sites AI relies on

### How to use it

1. Enter your **brand name** and **website**.
2. Paste the **questions** your customers would ask an AI, e.g. *"best CRM for a small sales team"*, *"HubSpot alternatives"*. Questions can be in any language.
3. Optionally add **competitors** (`HubSpot (hubspot.com)`, `Salesforce`, `zoho.com`) to get share of voice.
4. Pick the **engines** and the **country**, then click **Start**.

Tip: schedule the Actor weekly on the same questions to see your trend. AI answers vary between calls, so set **"Ask each question this many times"** to 2-3 for a steadier rate.

### Input example

```json
{
  "brand": "Pipedrive",
  "domain": "pipedrive.com",
  "questions": [
    "What is the best CRM for a small sales team?",
    "HubSpot alternatives for small businesses"
  ],
  "competitors": ["HubSpot (hubspot.com)", "Salesforce (salesforce.com)", "Zoho (zoho.com)"],
  "engines": ["chatgpt", "perplexity", "gemini", "google_ai_overview"],
  "country": "US",
  "repeats": 1
}
```

### Output

**Report (HTML)**: visibility per engine, share of voice, most cited sites and results per question. Open it from the run's **Output** tab.

**Dataset**: one row per answer:

```json
{
  "engineName": "Perplexity",
  "question": "What is the best CRM for a small sales team?",
  "status": "cited",
  "brandMentioned": true,
  "brandCited": true,
  "citationPosition": 3,
  "mentionRank": 2,
  "competitorsMentioned": ["HubSpot", "Zoho"],
  "citedDomains": ["g2.com", "forbes.com", "pipedrive.com", "hubspot.com"],
  "answer": "For small sales teams, HubSpot and Pipedrive are the most common picks…",
  "citations": [{ "url": "https://www.g2.com/…", "title": "Best CRM Software" }]
}
```

`status` is one of:

- `cited`: your site is among the sources
- `mentioned`: your brand is named, but your site is not cited
- `absent`
- `no_overview`: Google showed no AI Overview for that query
- `error`

**Summary (JSON)**: the same numbers as the report, for dashboards and automations (key `SUMMARY` in the key-value store).

### Pricing

Pay per result. Nothing is charged for failed calls or for queries where Google shows no AI Overview.

| Event | Price |
|---|---|
| Answer from ChatGPT, Perplexity or Gemini | $0.06 |
| Google AI Overview | $0.02 |

Example: 20 questions × ChatGPT + Perplexity + Gemini + AI Overviews = 60 × $0.06 + 20 × $0.02 = **$4.00**. Set a maximum cost per run in Apify and the Actor stops before exceeding it.

### How it works and what to keep in mind

- ChatGPT, Perplexity and Gemini are asked through their **official APIs with web search turned on**, with the searcher's country set. Google AI Overviews are captured from Google search results.
- API answers are close to, but **not identical with**, what a logged-in person sees in the consumer apps (personalisation, memory, app version). Use the numbers as a trend and for comparison with competitors, not as a guarantee for one specific user.
- A brand counts as **mentioned** when its name, an alias or its domain appears in the answer (case-insensitive, whole words). Brand names shorter than 3 characters are ignored as too ambiguous; add aliases for those.
- The Actor stores only the questions you give it and the AI answers. It collects no personal data.

### FAQ

**Do I need OpenAI, Perplexity or Google API keys?** No. They're included in the price.

**Can I track several brands?** Run the Actor once per brand, or add the other brands as competitors to compare them in one run.

**Can I integrate it?** Yes. Use the Apify API, schedules, webhooks, Make, Zapier, n8n, or call it as a tool from an AI agent (MCP).

**Something's wrong or missing?** Open an issue on the Actor's Issues tab. We read them.

Made by Finasoft · kontakt@finasoft.pl

# Actor input Schema

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

The name people would see in an AI answer, e.g. "Pipedrive".

## `domain` (type: `string`):

Your domain, e.g. "pipedrive.com". Used to detect when AI cites your site as a source (subdomains count too).

## `questions` (type: `array`):

Questions your customers ask AI, in any language, e.g. "best CRM for a small sales team". Up to 200 per run. Each question is asked to each selected engine.

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

Optional. One per line: a name ("Salesforce"), a domain ("zoho.com") or both ("HubSpot (hubspot.com)"). Used for share of voice.

## `aliases` (type: `array`):

Optional. Other names that count as a mention, e.g. product names or a spelling without spaces.

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

Which AI engines to ask. ChatGPT, Perplexity and Gemini are asked through their official APIs with web search on.

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

Two-letter country code (ISO 3166-1) of the searcher, e.g. US, GB, DE, PL. Passed to ChatGPT, Perplexity and Gemini as the user's location. Write the questions in that country's language for realistic answers.

## `repeats` (type: `integer`):

AI answers change from call to call. Asking 2-3 times gives a steadier visibility rate (each answer is charged). Does not apply to Google AI Overviews.

## `maxConcurrency` (type: `integer`):

How many AI requests run at once.

## Actor input object example

```json
{
  "brand": "Pipedrive",
  "domain": "pipedrive.com",
  "questions": [
    "What is the best CRM for a small sales team?",
    "Simple CRM for startups with a good mobile app",
    "HubSpot alternatives for small businesses"
  ],
  "competitors": [
    "HubSpot (hubspot.com)",
    "Salesforce (salesforce.com)",
    "Zoho (zoho.com)"
  ],
  "engines": [
    "chatgpt",
    "perplexity",
    "gemini",
    "google_ai_overview"
  ],
  "country": "US",
  "repeats": 1,
  "maxConcurrency": 4
}
```

# Actor output Schema

## `report` (type: `string`):

No description

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

No description

## `answers` (type: `string`):

No description

# 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",
    "domain": "pipedrive.com",
    "questions": [
        "What is the best CRM for a small sales team?",
        "Simple CRM for startups with a good mobile app",
        "HubSpot alternatives for small businesses"
    ],
    "competitors": [
        "HubSpot (hubspot.com)",
        "Salesforce (salesforce.com)",
        "Zoho (zoho.com)"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("macgitarra/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",
    "domain": "pipedrive.com",
    "questions": [
        "What is the best CRM for a small sales team?",
        "Simple CRM for startups with a good mobile app",
        "HubSpot alternatives for small businesses",
    ],
    "competitors": [
        "HubSpot (hubspot.com)",
        "Salesforce (salesforce.com)",
        "Zoho (zoho.com)",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("macgitarra/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",
  "domain": "pipedrive.com",
  "questions": [
    "What is the best CRM for a small sales team?",
    "Simple CRM for startups with a good mobile app",
    "HubSpot alternatives for small businesses"
  ],
  "competitors": [
    "HubSpot (hubspot.com)",
    "Salesforce (salesforce.com)",
    "Zoho (zoho.com)"
  ]
}' |
apify call macgitarra/ai-brand-visibility-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,macgitarra/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/sFmbSdQ4bvg4PXqFR/builds/e5a1GLZtCOJSpSPAV/openapi.json
