# AI Visibility Tracker: ChatGPT, Claude & Gemini (GEO & AEO) (`mastertools/ai-visibility`) Actor

Brand monitoring for AI search (GEO & AEO). See if ChatGPT, Claude and Gemini recommend your brand: rank, mentions, share of voice, competitors and cited sources for every prompt. One run, no API keys needed.

- **URL**: https://apify.com/mastertools/ai-visibility.md
- **Developed by:** [Master Tools](https://apify.com/mastertools) (community)
- **Categories:** AI, SEO tools
- **Features:** Limited permissions
- **Stats:** 5 total users, 0 monthly users, 96.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $45.00 / 1,000 ai answer checks

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 Visibility Tracker: ChatGPT, Claude & Gemini

**See whether AI assistants recommend your brand, and who they recommend instead.**

Brand monitoring for AI search: an AI visibility tracker and LLM rank tracker for GEO and AEO. Give it the questions your buyers ask. The Actor asks ChatGPT, Claude and Gemini, and for every answer tells you: is your brand mentioned, at which position, which competitors are named, and which websites the AI cites as sources. One run, all engines, a ready summary.

### What you get

- **Know where you stand in AI answers.** Mentioned or not, your place in the answer's list, how many times, and your share of voice against competitors.
- **See who AI recommends instead.** Every tracked competitor named in the answer, in the order the AI lists them, and whose websites are cited.
- **Find the pages AI trusts.** Every source with title, URL and domain, plus the most cited domains across the whole run: your outreach and content list.
- **See what the AI searched for.** The exact web searches ChatGPT and Claude ran to write each answer (query fan-out).
- **Three AI assistants in one run.** ChatGPT and Claude with live web search, plus Gemini, for the country you choose.
- **A ready summary.** Visibility, average position and citation rate per engine, competitor visibility and top cited domains, computed for you.
- **No API keys needed.** Press Start and get answers from all three engines. Bring your own keys only if you want to.
- **Fast and light.** No login, no browser, most answers in seconds.
- **Clean, flat data.** One row per prompt × engine, ready for Google Sheets, Looker Studio, BI tools and AI agents.

### How to use

1. Press **Start**. The example checks how AI answers "best CRM for small business" for HubSpot and four competitors.
2. Replace the prompts, brand, website and competitors with yours.
3. Open the **Brand visibility** table, the **Answers and sources** view or the **Visibility summary**. Download JSON, CSV or Excel, or read the results through the API.
4. Put the Actor on a **schedule** (daily or weekly) to track how your AI visibility changes over time.

### Who it's for

- **SEO and GEO agencies:** AI visibility reports for every client, on a schedule.
- **SaaS and e-commerce marketers:** your AI share of voice against competitors, per engine and per prompt.
- **PR and content teams:** the websites AI cites for your category, ready for outreach.
- **AI agents:** "Does ChatGPT recommend us?" answered through MCP in one call.

### Input

| Field | What it does | Example |
|---|---|---|
| `prompts` | Questions your buyers ask AI, one per line. Each is asked in every engine. | `best CRM for small business` |
| `brand` | Your brand. Add other spellings after `\|`. | `HubSpot \| HubSpot CRM` |
| `brandDomain` | Your website, to see when AI cites it. | `hubspot.com` |
| `competitors` | Brands to compare with, one per line, optional website after `\|`. | `Salesforce \| salesforce.com` |
| `engines` | `chatgpt`, `claude`, `gemini`. All by default. | `["chatgpt", "claude"]` |
| `country` | Two-letter country the searches run from. | `US`, `GB`, `DE` |
| Your own API keys | Optional OpenAI, Anthropic and Gemini keys, if you prefer your own API accounts. | |

```json
{
  "prompts": ["best CRM for small business", "top CRM software for startups"],
  "brand": "HubSpot",
  "brandDomain": "hubspot.com",
  "competitors": ["Salesforce", "Zoho CRM", "Pipedrive", "Freshsales"],
  "engines": ["chatgpt", "claude", "gemini"],
  "country": "US"
}
```

### Output

One row per prompt × engine:

```json
{
  "prompt": "best CRM for small business",
  "engine": "chatgpt",
  "brand": "HubSpot",
  "brandMentioned": true,
  "brandMentions": 2,
  "brandPosition": 1,
  "brandCited": true,
  "brandCitationPosition": 1,
  "shareOfVoice": 25,
  "competitorsMentioned": ["Zoho CRM", "Pipedrive", "Salesforce"],
  "competitorsCited": ["Salesforce", "Zoho CRM"],
  "answer": "Here are the CRMs small businesses pick most often in 2026:\n\n1. **HubSpot CRM** – free plan with contacts, deals and email tracking…",
  "citations": [
    { "position": 1, "title": "Free CRM Software & Tools for Your Whole Team | HubSpot", "url": "https://www.hubspot.com/products/crm", "domain": "hubspot.com" },
    { "position": 2, "title": "Zoho CRM | Top-rated Sales CRM Software", "url": "https://www.zoho.com/crm/", "domain": "zoho.com" }
  ],
  "citedDomains": ["hubspot.com", "zoho.com", "forbes.com", "salesforce.com"],
  "searchQueries": ["best CRM for small business 2026", "top rated small business CRM software reviews"],
  "model": "gpt-6-luna",
  "country": "US",
  "status": "answered",
  "checkedAt": "2026-11-09T12:00:00.000Z"
}
```

| Field | Meaning |
|---|---|
| `brandMentioned`, `brandMentions` | The answer names your brand, and how many times. Links and source chips don't count. |
| `brandPosition` | Your place in the answer: your number in its list of options, or, without a list, your order among the brands you track. 1 is the top. |
| `brandCited`, `brandCitationPosition` | Your website is among the sources, and the number of the first such source. |
| `shareOfVoice` | Your mentions as a percent of all mentions of you and your competitors in this answer. |
| `competitorsMentioned`, `competitorsCited` | Tracked competitors named in the answer (in order) and those whose sites are cited. |
| `citations`, `citedDomains` | Sources shown with the answer and their domains. |
| `searchQueries` | Web searches the AI ran to write the answer. |
| `status` | `answered`, or `no-answer` when the engine gave no answer for that prompt. |

#### Visibility summary

Every run also saves a summary in the key-value store (record `SUMMARY`, linked in the **Output** tab):

```json
{
  "brand": "HubSpot",
  "overall": { "answers": 6, "brandMentioned": 6, "visibility": 100, "avgPosition": 1.3, "brandCited": 4, "citationRate": 100, "shareOfVoice": 29.9 },
  "byEngine": {
    "chatgpt": { "answers": 2, "visibility": 100, "avgPosition": 1, "citationRate": 100 },
    "claude": { "answers": 2, "visibility": 100, "avgPosition": 1.5, "citationRate": 100 },
    "gemini": { "answers": 2, "visibility": 100, "avgPosition": 1.5, "citationRate": null }
  },
  "competitors": [{ "name": "Pipedrive", "mentioned": 6, "visibility": 100, "cited": 1 }, { "name": "Zoho CRM", "mentioned": 5, "visibility": 83.3, "cited": 3 }],
  "topCitedDomains": [{ "domain": "hubspot.com", "answers": 4 }, { "domain": "zoho.com", "answers": 3 }]
}
```

### The engines

| Engine | What you see |
|---|---|
| **ChatGPT** | OpenAI's model with live web search: the answer and the sources it cites. |
| **Claude** | Anthropic's Claude with live web search: the answer, the sources it cites and the searches it ran. |
| **Gemini** | What Google's Gemini knows about your category from its own knowledge. |

### Use it with AI agents

Connect the Actor as a tool in Claude, ChatGPT, Cursor or n8n through the Apify MCP server. Two fields are enough (`prompts` and `brand`), and the answer comes back as compact rows your agent can reason about: "Which of our product pages should we improve so ChatGPT cites us?"

### Integrations

Google Sheets, Looker Studio, Make, Zapier, n8n, Slack alerts through webhooks, and the Apify API. Schedule a weekly run and chart your visibility trend.

### FAQ

**What are GEO and AEO?** Generative engine optimization and answer engine optimization: getting your brand named and cited in AI answers. This Actor measures the result in every engine, so you see what works.

**How is the position counted?** If the answer lists options (numbered, bullets, headings or a table), your position is your number in that list. If there is no list, it is your order among the brands you track, by first mention.

**What counts as a mention?** Your brand name or any spelling you add after `|`, as whole words. A link to your site inside the answer is a citation, not a mention.

**Are the answers the same as in the ChatGPT, Claude or Gemini apps?** They come from OpenAI's, Anthropic's and Google's own models; ChatGPT and Claude answer with live web search. The apps also personalize answers for logged-in users, so individual users may see small differences.

**Which countries work?** ChatGPT, Claude and Gemini answer for any country.

**How many prompts can I check?** As many as you like in one run. On the Apify free plan, a run checks your first 3 prompts.

**Can I use my own API keys?** Yes. Open **Your own API keys (optional)** and add your OpenAI, Anthropic or Gemini key.

### Need data at scale?

Daily tracking for thousands of prompts and brands, a pipeline into your BI or CRM, more AI engines or a custom GEO report: contact us.

# Actor input Schema

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

Questions your buyers ask AI assistants, one per line. Every prompt is asked in every engine you pick, so 10 prompts × 7 engines = 70 answers. On the Apify free plan a run checks your first 3 prompts.

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

The brand to look for in AI answers. Add other spellings after |, for example: HubSpot | HubSpot CRM

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

Your domain, to see when AI cites your site as a source. Subdomains count too.

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

Brands to compare with, one per line. Add a website after | to track their citations exactly, for example: Salesforce | salesforce.com

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

Where to ask. All seven by default.

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

Two-letter country code the searches run from: US, GB, DE, FR, IN…

## `language` (type: `string`):

Interface language for Google AI Overviews and AI Mode: en, de, es, pt-BR… AI chats answer in the language of your prompt.

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

Optional. Use your own OpenAI key for ChatGPT answers.

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

Optional. Use your own Perplexity key.

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

Optional. Use your own Anthropic key for Claude answers.

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

Optional. Use your own Google AI Studio key for Gemini.

## Actor input object example

```json
{
  "prompts": [
    "best CRM for small business"
  ],
  "brand": "HubSpot",
  "brandDomain": "hubspot.com",
  "competitors": [
    "Salesforce",
    "Zoho CRM",
    "Pipedrive",
    "Freshsales"
  ],
  "engines": [
    "chatgpt",
    "perplexity",
    "claude",
    "gemini",
    "copilot",
    "google-ai-overviews",
    "google-ai-mode"
  ],
  "country": "US",
  "language": "en"
}
```

# Actor output Schema

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

One row per prompt × engine: is the brand mentioned, its position, share of voice, competitors, sources and the full answer.

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

Totals for the run: brand visibility and average position per engine, competitors' visibility, most cited domains, failed checks.

# 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 = {
    "prompts": [
        "best CRM for small business"
    ],
    "brand": "HubSpot",
    "brandDomain": "hubspot.com",
    "competitors": [
        "Salesforce",
        "Zoho CRM",
        "Pipedrive",
        "Freshsales"
    ],
    "engines": [
        "chatgpt",
        "perplexity",
        "claude",
        "gemini",
        "copilot",
        "google-ai-overviews",
        "google-ai-mode"
    ],
    "country": "US",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastertools/ai-visibility").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 = {
    "prompts": ["best CRM for small business"],
    "brand": "HubSpot",
    "brandDomain": "hubspot.com",
    "competitors": [
        "Salesforce",
        "Zoho CRM",
        "Pipedrive",
        "Freshsales",
    ],
    "engines": [
        "chatgpt",
        "perplexity",
        "claude",
        "gemini",
        "copilot",
        "google-ai-overviews",
        "google-ai-mode",
    ],
    "country": "US",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("mastertools/ai-visibility").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 '{
  "prompts": [
    "best CRM for small business"
  ],
  "brand": "HubSpot",
  "brandDomain": "hubspot.com",
  "competitors": [
    "Salesforce",
    "Zoho CRM",
    "Pipedrive",
    "Freshsales"
  ],
  "engines": [
    "chatgpt",
    "perplexity",
    "claude",
    "gemini",
    "copilot",
    "google-ai-overviews",
    "google-ai-mode"
  ],
  "country": "US",
  "language": "en"
}' |
apify call mastertools/ai-visibility --silent --output-dataset

```

## MCP server setup

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

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/eFW67D2WK4Fevba95/builds/1sCLkdcLYPFkXQdVA/openapi.json
