# ChatGPT & AI Search Visibility Tracker (Gemini, Perplexity) (`ingeniela/ai-search-visibility-tracker`) Actor

Find out if ChatGPT, Claude, Gemini, Perplexity and Grok recommend your brand: visibility per assistant, position, share of voice vs competitors, cited sources and the questions where you are missing.

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

## Pricing

from $10.00 / 1,000 analyzed 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/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

## ChatGPT & AI Search Visibility Tracker (Gemini, Perplexity)

More and more buyers ask ChatGPT, Gemini, Claude, Perplexity or Grok instead of Google: "best CRM for a small agency", "alternatives to X", "which dentist in Madrid". If the AI does not name you, you do not exist for that buyer. This Actor asks those assistants the questions your buyers ask and measures how often they recommend **your brand**, in which **position**, **who they recommend instead**, and **which websites they cite**, so you know where to get mentioned.

### Tutorial (1 minute)

![Step-by-step tutorial: what to fill in, click Start, the real result and the price](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/ai-search-visibility-tutorial.gif)

*Every result in this tutorial comes from a real run.*

### What you get

- **Visibility per assistant**: % of answers that mention you, your average position, and how often you are named first.
- **Share of voice** against the competitors you list.
- **Questions where you are missing**, with the competitors that appear there instead.
- **Brands you did not know you compete with**: every other brand the assistants recommend.
- **Cited sources** (with web search on): the review sites, lists and articles the assistants read. Getting onto those pages is the fastest way to appear.
- **Sentiment**: how each assistant describes you (positive, neutral, negative).
- **What to do**: 5-8 concrete recommendations written from your results.
- **A visual report** (`REPORT`), every answer in the dataset, and the full JSON summary.

### How to use it

1. Write your **brand**, **website** and 3-5 **competitors** (`Name | domain.com`).
2. Paste the **questions** your buyers ask, or leave them empty and fill in **Category** (and **Audience** / **Country**): the AI writes them.
3. Choose the **assistants**. Turn on **web search** to see live sources, as ChatGPT search and Perplexity users do.
4. Click **Start**, then open **REPORT** in the Output tab.
5. Schedule it monthly to track your AI visibility over time.

### Input example

```json
{
  "brandName": "Clínica Dental Sonrisa",
  "brandWebsite": "https://clinicasonrisa.es",
  "competitors": ["Vitaldent | vitaldent.com", "Dentix", "Sanitas Dental | sanitas.es"],
  "category": "dental clinic for implants",
  "country": "Madrid, Spain",
  "questionsToGenerate": 10,
  "engines": ["chatgpt", "gemini", "perplexity"],
  "webSearch": true,
  "language": "Spanish"
}
```

### Output (one row per answer)

```json
{
  "question": "¿Cuál es la mejor clínica para implantes dentales en Madrid?",
  "assistant": "Perplexity (Sonar, web search)",
  "brandMentioned": true,
  "brandRank": 3,
  "brandSentiment": "positive",
  "brandContext": "Recommended for its fixed implant prices and financing.",
  "competitorsMentioned": ["Vitaldent", "Sanitas Dental"],
  "citedDomains": ["doctoralia.es", "topdoctors.es", "clinicasonrisa.es"],
  "brandSiteCited": true,
  "answer": "..."
}
```

### Assistants and models

| Assistant | Model (via OpenRouter) |
|---|---|
| ChatGPT | `openai/gpt-6.1-terra` |
| Claude | `anthropic/claude-sonnet-5.5` |
| Gemini | `google/gemini-3.5-flash` |
| Perplexity | `perplexity/sonar` (always searches the web) |
| Grok | `x-ai/grok-4.7` |

The Actor asks through the model APIs, with a neutral assistant prompt. Results are close to what users see in the apps, but the apps add personal memory, location and their own search, so treat the numbers as a trend to track, not an exact copy of one user's screen.

### Pricing

| Event | Price |
|---|---|
| Answer analyzed | $0.01 |
| AI answer with the built-in AI (not charged with your own key) | $0.05 |

**Example:** 10 questions × 4 assistants = 40 answers. With the built-in AI: 40 × $0.06 = **$2.40**. With your own OpenRouter key: **$0.40** plus what OpenRouter bills you (about $0.30).

### FAQ

**Why OpenRouter?** One key reaches all five assistants. With only an OpenAI key you get ChatGPT; with only an Anthropic key, Claude.

**Should I turn on web search?** Yes if your buyers use ChatGPT search or Perplexity: it shows which sites the assistants trust. Without it you measure what the models already "know" from training.

**How do I improve my visibility?** Get listed and reviewed on the cited sites, publish comparison and "best X for Y" pages, add an `llms.txt` (see our llms.txt Generator), and keep your name consistent everywhere.

# Actor input Schema

## `brandName` (type: `string`):

As people write it, e.g. 'Notion'.

## `brandWebsite` (type: `string`):

Also counts mentions of your domain and whether assistants cite your site.

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

Product names or spellings, e.g. 'Notion AI'.

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

One per line: 'Name' or 'Name | domain.com'. Used for share of voice.

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

What your buyers ask AI, e.g. 'best wiki tool for a 10-person startup'. Empty = AI writes them from the fields below.

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

What you sell, e.g. 'CRM for small agencies'.

## `audience` (type: `string`):

Who buys, e.g. 'startups', 'dentists in Madrid'.

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

For local businesses: added to every question.

## `questionsToGenerate` (type: `integer`):

Used only when 'Questions to ask' is empty.

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

Each question is asked to each assistant. Gemini, Perplexity and Grok need OpenRouter (built-in or your key).

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

Like ChatGPT search: answers cite live sources (Perplexity always searches). Shows which sites you need to be on. Adds ~US$0.01 per answer on OpenRouter.

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

Language of the written questions and the analysis.

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Empty = a good default for the provider. Used only for writing questions and reading answers.

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

With your own key (any provider) that provider bills you and AI events are not charged.

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

Your own key from platform.openai.com.

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

Recommended: one key reaches all five assistants (openrouter.ai/keys).

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

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "brandName": "Notion",
  "brandWebsite": "https://www.notion.com",
  "competitors": [
    "Confluence | atlassian.com",
    "Coda | coda.io",
    "ClickUp | clickup.com"
  ],
  "category": "team wiki and docs tool",
  "questionsToGenerate": 3,
  "engines": [
    "chatgpt",
    "perplexity"
  ],
  "webSearch": false,
  "language": "English",
  "aiProvider": "auto"
}
```

# Actor output Schema

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

No description

## `answers` (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 = {
    "brandName": "Notion",
    "brandWebsite": "https://www.notion.com",
    "competitors": [
        "Confluence | atlassian.com",
        "Coda | coda.io",
        "ClickUp | clickup.com"
    ],
    "category": "team wiki and docs tool",
    "questionsToGenerate": 3,
    "engines": [
        "chatgpt",
        "perplexity"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/ai-search-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 = {
    "brandName": "Notion",
    "brandWebsite": "https://www.notion.com",
    "competitors": [
        "Confluence | atlassian.com",
        "Coda | coda.io",
        "ClickUp | clickup.com",
    ],
    "category": "team wiki and docs tool",
    "questionsToGenerate": 3,
    "engines": [
        "chatgpt",
        "perplexity",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/ai-search-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 '{
  "brandName": "Notion",
  "brandWebsite": "https://www.notion.com",
  "competitors": [
    "Confluence | atlassian.com",
    "Coda | coda.io",
    "ClickUp | clickup.com"
  ],
  "category": "team wiki and docs tool",
  "questionsToGenerate": 3,
  "engines": [
    "chatgpt",
    "perplexity"
  ]
}' |
apify call ingeniela/ai-search-visibility-tracker --silent --output-dataset

```

## MCP server setup

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