# AI Answer Visibility Tracker: ChatGPT & Perplexity Brand Check (`taiw/ai-answer-visibility-tracker`) Actor

Check whether your brand appears in ChatGPT and Perplexity answers for your prompts: mentions, rank, competitors and cited sources. Bring your own API keys.

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

## Pricing

$10.00 / 1,000 answer checkeds

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 Answer Visibility Tracker: ChatGPT & Perplexity Brand Check

See whether AI assistants recommend your brand. The tracker asks **ChatGPT** and **Perplexity** the questions your customers ask, then reports whether your brand is mentioned, in what position, which competitors appear next to it, and which websites the AI cites as sources. Use it for **AI search visibility, answer engine optimization (AEO) and generative engine optimization (GEO)** reporting.

### What you can search for

AI search visibility tracker, ChatGPT brand mentions, Perplexity brand tracking, AEO tracker, GEO tracker, generative engine optimization, AI share of voice, brand visibility in AI answers, LLM citation tracker, AI search rank tracker.

### How it works

1. Enter your brand, aliases and domains, your competitors and the prompts customers might ask.
2. Add your own OpenAI and Perplexity API keys.
3. Run it. Use several runs per prompt, because AI answers vary.
4. Read the per-answer results and the SUMMARY record with mention rate, average position, cited domains and prompts where you are missing.

### What you get

per answer: engine, model, prompt, whether the brand is mentioned, position among brands, competitors mentioned, whether your domain is cited, cited domains and URLs, the answer text and a snippet around your brand mention. The key-value store SUMMARY record adds the mention rate and share of voice per engine.

### Pricing

Pay per event, no subscription: $10 per 1,000 answer checks ($0.01 per check). The AI providers bill the model usage to your own API keys.

### Frequently asked questions

**Why do I need my own API keys?**
The Actor calls the OpenAI and Perplexity APIs on your behalf, so the model cost stays on your own accounts at provider rates and you control your spend.

**Is this the same as the ChatGPT app?**
It uses OpenAI's search-enabled API model with web citations. Results are close to, but not identical to, what a user sees in the ChatGPT app, because the app adds personalisation and memory.

**How many runs per prompt?**
Three to five runs gives a steadier mention rate. Treat a single answer as one sample.

**Does it support Gemini or Google AI Overviews?**
Not yet. This version covers ChatGPT and Perplexity.

### Notes

Only public information is collected. You are responsible for using the data in line with the terms of the sources and with applicable laws. Run it on a schedule from the Apify Console, or call it through the Apify API, the MCP server, or integrations such as Make, Zapier and n8n.

# Actor input Schema

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

The brand name to look for in AI answers, for example Revorly.

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

Other spellings or product names that count as a mention.

## `brandDomains` (type: `array`):

Your website domains, for example revorly.com. Used to check whether the AI cites your site as a source.

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

Competitor brand names to track in the same answers (share of voice).

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

The questions your customers ask AI, for example "best CRM for small agencies" or "alternatives to HubSpot".

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

Which assistants to check.

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

Required for ChatGPT checks. Stored encrypted by Apify. OpenAI bills model usage to your account.

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

Required for Perplexity checks. Stored encrypted by Apify. Perplexity bills usage to your account.

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

A search-enabled model that returns web citations.

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

Perplexity Sonar model name.

## `runsPerPrompt` (type: `integer`):

AI answers vary between runs. Run each prompt several times for a steadier mention rate.

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

Two-letter country code used to localise search, for example US, GB, DE.

## `notifyWebhookUrl` (type: `string`):

Optional. Receives the visibility summary when the run ends.

## Actor input object example

```json
{
  "engines": [
    "chatgpt",
    "perplexity"
  ],
  "openaiModel": "gpt-4o-mini-search-preview",
  "perplexityModel": "sonar",
  "runsPerPrompt": 1,
  "country": "US"
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("taiw/ai-answer-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("taiw/ai-answer-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 '{}' |
apify call taiw/ai-answer-visibility-tracker --silent --output-dataset

```

## MCP server setup

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