# AI Visibility Checker: ChatGPT, Perplexity, Gemini & Claude (`heyiambk/ai-answer-visibility`) Actor

Check if ChatGPT, Perplexity, Gemini and Claude mention your brand for the questions your buyers ask. Get mention position, cited URLs, competitors named and share of voice per engine. GEO/AEO tracking. Pay per answer checked.

- **URL**: https://apify.com/heyiambk/ai-answer-visibility.md
- **Developed by:** [Tan Boon Kwee](https://apify.com/heyiambk) (community)
- **Categories:** AI, SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 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.

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 Checker: ChatGPT, Perplexity, Gemini & Claude

**AI Visibility Checker** shows whether AI assistants name your brand when buyers ask them for a recommendation. Enter your brand and the questions your buyers ask. The Actor asks each AI answer engine and reports:

- whether your brand was **mentioned**, and its **position** among the names in the answer
- whether **your own site was cited** as a source
- which **competitors** appeared in the same answer
- every **URL the engine cited**, so you can see which pages shape the answer
- a **share-of-voice summary** for each engine (mention rate, average position, competitor mention rates)

It is a simple way to track **GEO / AEO** (generative engine optimization, answer engine optimization) and **brand mentions in AI search** without logging in to any chatbot.

### What can I use the AI Visibility Checker for?

- **Brand monitoring in AI search:** see whether ChatGPT-class, Perplexity, Gemini and Claude answers recommend you, and track it weekly.
- **Competitor research:** see which competitors the engines name for your category's buying questions, and which sources they cite.
- **Agency client reports:** run the same prompt set for each client every month and export share of voice to a sheet.
- **Content and PR planning:** the cited URLs show which review sites, listicles and docs the engines rely on.

### Which AI engines does it check?

| Engine | Model used | Web-grounded |
|---|---|---|
| Perplexity | Sonar | Yes, always |
| ChatGPT-class | OpenAI GPT-4.1 mini + web search | Yes (switch off with `webSearch: false`) |
| Gemini | Gemini 2.5 Flash + web search | Yes (switch off) |
| Claude | Claude Haiku 4.5 + web search | Yes (switch off) |

Answers come from the engines' APIs (through OpenRouter), not from logged-in consumer apps. API answers are close to what the apps show but can differ, and every AI answer varies from run to run. Use `samplesPerPrompt` (up to 3) to smooth that out, and treat results as a sample taken at one time, not a ranking guarantee.

### How much does it cost to check AI visibility?

You pay per answer checked. Failed or empty answers are free, and demo rows are free.

| Event | Price |
|---|---|
| Answer check (AI costs included) | $0.04 |
| Answer check with your own OpenRouter key | $0.01 (you pay OpenRouter for the AI usage) |

Pricing examples:

- **Quick test:** 1 prompt x 1 engine = 1 check = **$0.04**
- **Category snapshot:** 10 prompts x 2 engines x 1 sample = 20 checks = **$0.80**
- **Weekly tracking:** 25 prompts x 2 engines, every week (about 4 runs a month) = 200 checks = **about $8 a month**
- **All four engines, 3 samples:** 10 prompts x 4 engines x 3 samples = 120 checks = **$4.80**

Apify also charges a tiny start fee per run (a fraction of a cent). Set **max cost per run** in the run options and the Actor stops before it goes over. On the Apify free plan, runs are limited to 3 checks unless you add your own OpenRouter key.

### How to check if ChatGPT mentions your brand

1. Enter your **brand name**, any other spellings in **Other names**, and your **domains**.
2. Add the **prompts** your buyers would type, for example "best CRM for a 10-person agency".
3. Add the **competitors** you want counted.
4. Pick the **engines** and click **Start**. Try **Dry run** first to see the output format for free.
5. Download the results as JSON, CSV or Excel, or open the `SUMMARY` record for share of voice.

### Input example

```json
{
  "brand": "Notion",
  "aliases": ["Notion AI"],
  "domains": ["notion.so", "notion.com"],
  "competitors": ["Evernote", "Obsidian", "Coda", "Confluence"],
  "prompts": [
    "What is the best note-taking app for a small team?",
    "Best wiki tool for a 20-person startup?"
  ],
  "engines": ["perplexity", "chatgpt", "gemini"],
  "samplesPerPrompt": 1,
  "webSearch": true,
  "country": "United States",
  "maxChecks": 50
}
```

### Output example

One row per answer checked:

```json
{
  "brand": "Notion",
  "prompt": "What is the best note-taking app for a small team?",
  "engine": "perplexity",
  "model": "perplexity/sonar",
  "sample": 1,
  "brandMentioned": true,
  "matchedTerms": ["Notion"],
  "mentionPosition": 1,
  "ownDomainCited": false,
  "ownDomainUrls": [],
  "competitorsMentioned": ["Evernote"],
  "entitiesNamed": ["Notion", "Google Workspace", "Google Keep", "OneNote", "Evernote"],
  "citations": ["https://zapier.com/blog/best-note-taking-apps/", "https://www.techradar.com/best/best-note-taking-app"],
  "answer": "For a small team, the best overall choice is usually Notion ...",
  "sampledAt": "2026-11-19T04:11:54+00:00",
  "error": null
}
```

The `SUMMARY` record in the key-value store holds per-engine mention rate, own-site citation rate, average position and competitor mention rates.

### Automate it: schedules, webhooks, Google Sheets and Slack

- **Schedule:** in Apify Console, open **Schedules**, create a schedule (for example weekly on Monday) and add this Actor with your saved input. Use the same prompts each time so the trend means something.
- **Webhook:** on the Actor's **Integrations** tab, add an HTTP webhook for the *Run succeeded* event. The payload includes the run's `defaultDatasetId`, so your system can fetch the rows from `https://api.apify.com/v2/datasets/<datasetId>/items`.
- **Google Sheets:** export the dataset with the Google Sheets Import & Export Actor (`lukaskrivka/google-sheets`), or pull the latest results into a sheet with `=IMPORTDATA("https://api.apify.com/v2/acts/heyiambk~ai-answer-visibility/runs/last/dataset/items?format=csv&token=YOUR_API_TOKEN")`. Keep that sheet private, because it contains your token.
- **Slack:** connect Slack on the Integrations tab to get a message when a scheduled run finishes, then open the dataset or `SUMMARY` from the link.
- **API, Make, Zapier, n8n:** start runs and read results through the Apify API or the Apify apps for those tools.

### Tips

- Write prompts the way a buyer would ask, not the way you describe yourself.
- Add every spelling of your name to `aliases` and every domain you own to `domains`.
- Competitor names are matched as whole words, so "Coda" does not match "Codacy".

### FAQ

#### Is this the same as asking ChatGPT in the app?

No. It uses the model APIs with web search turned on, which is close to the consumer apps but not identical. The apps can also personalise answers. Treat the results as a repeatable sample.

#### Why do results change between runs?

AI answers are not deterministic. Use up to 3 samples per prompt and compare mention rates over several runs instead of single answers.

#### Do I need an OpenRouter or OpenAI key?

No. AI costs are included in the $0.04 price. If you have an OpenRouter key you can add it and pay $0.01 per check plus your own OpenRouter usage. On the Apify free plan a key is needed for more than 3 checks per run.

#### How are mentions detected?

By whole-word text matching on your brand, aliases and competitors, plus a small model that lists the brand and product names in each answer for the "Named in answer" column. Check edge cases in the stored answer text.

#### Does it collect personal data or log in anywhere?

No. It sends your prompts to AI engine APIs and stores their answers. It does not log in to any consumer AI app and collects no personal data.

#### What happens if I leave the input empty?

The run finishes with free demo rows for an example brand, so you can see the output format without being charged.

### Support

Open an issue on the Issues tab with your run ID. Fixes ship to everyone.

# Actor input Schema

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

The brand, product or company to look for in AI answers. Required for a real check; without it the run returns free demo rows.

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

Other spellings or product names that count as a mention.

## `domains` (type: `array`):

Domains that count as your own site when cited, e.g. notion.so

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

Names to count when they appear in the same answers.

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

Questions your buyers ask AI assistants. One answer is checked per prompt, per engine, per sample. Required for a real check.

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

Which answer engines to ask. All are web-grounded unless 'webSearch' is off.

## `samplesPerPrompt` (type: `integer`):

AI answers vary. Ask each prompt this many times per engine (1 to 3).

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

Let the engines search the web, like the consumer assistants do. Off = model memory only.

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

Optional. Adds 'I am in <country>' to each prompt, e.g. United States.

## `includeAnswerText` (type: `boolean`):

Store the full answer in each row.

## `openrouterApiKey` (type: `string`):

Bring your own key to pay the AI costs yourself at the lower per-check price. Required on the Apify free plan for more than 3 checks per run.

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

Hard cap on answers checked in this run.

## `dryRun` (type: `boolean`):

Return up to 3 demo rows without calling any AI engine, to preview the output format. Nothing is charged.

## Actor input object example

```json
{
  "brand": "Notion",
  "aliases": [],
  "domains": [
    "notion.so",
    "notion.com"
  ],
  "competitors": [
    "Evernote",
    "Obsidian",
    "Coda"
  ],
  "prompts": [
    "What is the best note-taking app for a small team?"
  ],
  "engines": [
    "perplexity"
  ],
  "samplesPerPrompt": 1,
  "webSearch": true,
  "country": "",
  "includeAnswerText": true,
  "maxChecks": 1,
  "dryRun": false
}
```

# Actor output Schema

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

No description

## `summary` (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": "Notion",
    "domains": [
        "notion.so",
        "notion.com"
    ],
    "competitors": [
        "Evernote",
        "Obsidian",
        "Coda"
    ],
    "prompts": [
        "What is the best note-taking app for a small team?"
    ],
    "engines": [
        "perplexity"
    ],
    "maxChecks": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("heyiambk/ai-answer-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 = {
    "brand": "Notion",
    "domains": [
        "notion.so",
        "notion.com",
    ],
    "competitors": [
        "Evernote",
        "Obsidian",
        "Coda",
    ],
    "prompts": ["What is the best note-taking app for a small team?"],
    "engines": ["perplexity"],
    "maxChecks": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("heyiambk/ai-answer-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 '{
  "brand": "Notion",
  "domains": [
    "notion.so",
    "notion.com"
  ],
  "competitors": [
    "Evernote",
    "Obsidian",
    "Coda"
  ],
  "prompts": [
    "What is the best note-taking app for a small team?"
  ],
  "engines": [
    "perplexity"
  ],
  "maxChecks": 1
}' |
apify call heyiambk/ai-answer-visibility --silent --output-dataset

```

## MCP server setup

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