# AI Search Visibility & GEO Brand Monitor (`forlex/ai-search-visibility-monitor`) Actor

Track brand visibility, share of voice, mention rank, and citation gaps across Google AI Overviews, ChatGPT Search, Perplexity, Gemini & Claude. Includes Turnkey + BYOK modes, weekly delta diffs, Notion/Slack alerts, Server API & MCP.

- **URL**: https://apify.com/forlex/ai-search-visibility-monitor.md
- **Developed by:** [Forlex Lab](https://apify.com/forlex) (community)
- **Categories:** AI, SEO tools, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 ai engine check (turnkey)s

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Search Visibility & GEO Monitor

Track how **AI Search engines** mention, rank, recommend, and cite your brand compared to competitors across **Google AI Overviews**, **Perplexity**, **ChatGPT Search**, **Gemini**, and **Claude**.

Built for **GEO (Generative Engine Optimization)** & **AEO (Answer Engine Optimization)** teams, SEO agencies, and SaaS marketing ops who want automated Share of Voice (SoV), citation-gap intelligence, weekly delta tracking, and instant Standby API / MCP tool access.

***

### Why Use This Actor?

Traditional SEO trackers only tell you blue-link rankings. Modern buyers ask AI assistants for shortlists (`"best CRM for SaaS startups"`, `"top web scraping platform for AI agents"`). This Actor measures whether AI recommends **you** or your competitors—and **which third-party domains** the AI cites so your team knows exactly where to get featured.

#### Key Features

- **5 Major AI Engines:** `google_ai_overview`, `perplexity`, `chatgpt`, `gemini`, `claude`.
- **Two Flexible Billing/Execution Modes:**
  - **Turnkey Mode (Zero Setup):** Runs Google AI Overviews directly and routes LLM engines via Apify's built-in OpenRouter AI proxy (`openrouter.apify.actor`) with zero external API keys needed.
  - **BYOK Mode (Bring Your Own Key):** Supply your own `openRouterApiKey`, `openaiApiKey`, `perplexityApiKey`, `geminiApiKey`, or `anthropicApiKey` to unlock discounted per-check pricing (`engine-check-byok`).
- **GEO Share of Voice & Sentiment Metrics:** Computes `brandMentioned`, `brandMentionRank`, `brandCited`, `brandCitationRank`, `shareOfVoicePct`, `sentiment` (`positive`/`neutral`/`negative`), and `isRecommended`.
- **Citation Gap Report (`GEO_REPORT` + `GEO_REPORT_MD`):** Identifies top third-party domains (`reddit.com`, `g2.com`, comparison blogs, docs) cited in prompts where your brand was missing.
- **Weekly Delta Tracking (`syncKey` + `emitOnlyChanges`):** Compares current run results against previous runs (`gained_mention`, `lost_mention`, `gained_citation`, `lost_citation`) and fires webhook/Slack/Discord alerts automatically.
- **Standby REST API & MCP Server:** Run real-time single-prompt checks via `GET /check`, `POST /check`, or `POST /mcp` (`check_ai_brand_visibility`, `audit_citation_gaps`).

***

### Input Example

```json
{
  "brandName": "Apify",
  "brandDomain": "apify.com",
  "brandAliases": ["Apify Store", "Crawlee"],
  "competitors": ["Bright Data", "Oxylabs", "Firecrawl"],
  "competitorDomains": ["brightdata.com", "oxylabs.io", "firecrawl.dev"],
  "queries": [
    "best web scraping platform for AI agents",
    "top actors and scrapers for RAG pipelines"
  ],
  "engines": ["google_ai_overview", "perplexity"],
  "country": "us",
  "language": "en",
  "includeCitationGapReport": true,
  "syncKey": "apify-weekly-geo"
}
```

***

### Output Overview

#### Dataset Item (per prompt x engine check)

```json
{
  "checkKey": "a1b2c3d4e5f60708",
  "brandName": "Apify",
  "query": "best web scraping platform for AI agents",
  "engine": "google_ai_overview",
  "status": "ok",
  "brandMentioned": true,
  "brandMentionCount": 3,
  "brandMentionRank": 1,
  "brandCited": true,
  "brandCitationRank": 1,
  "sentiment": "positive",
  "isRecommended": true,
  "shareOfVoicePct": 60,
  "competitorResults": [
    { "name": "Firecrawl", "domain": "firecrawl.dev", "mentioned": true, "mentionCount": 2, "cited": true }
  ],
  "gapDomains": ["github.com", "reddit.com"],
  "deltaStatus": "new_check",
  "checkedAt": "2026-11-27T05:30:00.000Z"
}
```

#### Key-Value Store Outputs

- **`GEO_REPORT`**: Full JSON executive summary, engine breakdown, competitor leaderboard, and ranked `topCitationGaps`.
- **`GEO_REPORT_MD`**: Ready-to-share Markdown summary report for Slack, Notion, or weekly client updates.

***

### 💰 Pricing (Pay Per Event)

This Actor uses transparent **Pay-Per-Event (PPE)** billing so you only pay for completed engine checks and optional executive reports (with automatic volume discounts for Apify Bronze/Silver/Gold tiers). Free Apify users can run checks within platform free-tier limits.

| Event | FREE | BRONZE | SILVER | GOLD+ | Notes |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **`apify-actor-start`** | $0.00005 | $0.00005 | $0.00005 | $0.00005 | Per GB RAM (first 5s compute free) |
| **`engine-check-turnkey`** *(Primary)* | **$0.0120** | **$0.0100** | **$0.0085** | **$0.0070** | Google AI Overviews or zero-key Turnkey LLM check |
| **`engine-check-byok`** | $0.0035 | $0.0028 | $0.0022 | $0.0018 | Discounted rate when supplying your own LLM/OpenRouter API key |
| **`citation-gap-report`** *(Optional)* | $0.0250 | $0.0200 | $0.0170 | $0.0150 | Charged once per run when generating `GEO_REPORT` + `GEO_REPORT_MD` |

***

### Standby Server & MCP Usage

- **REST Check:** `POST https://forlex--ai-search-visibility-monitor.apify.actor/check`
- **MCP Endpoint:** `POST https://forlex--ai-search-visibility-monitor.apify.actor/mcp`
  - Tools: `check_ai_brand_visibility`, `audit_citation_gaps`

***

### Need Automation or Proxy Upgrades?

Scale scheduled Google AI Overview checks cleanly with [Apify Residential & SERP Proxies](https://apify.com?fpr=5uxnkx).

# Changelog

This Actor's version history is a separate document: https://apify.com/forlex/ai-search-visibility-monitor/changelog.md

# Actor input Schema

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

Primary brand or product name to track across AI search answers.

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

Your brand domain (e.g. 'apify.com') to match cited URLs and sources.

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

Optional alternative product names or acronyms belonging to your brand.

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

Competitor brand names to benchmark Share of Voice and mention rank against.

## `competitorDomains` (type: `array`):

Optional competitor domains (matched in order or across citations).

## `queries` (type: `array`):

Buyer-intent prompts or search queries to test across selected AI engines.

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

AI answer engines to query. Supported values: google_ai_overview, perplexity, chatgpt, gemini, claude. 'google_ai_overview' runs with zero third-party keys; LLM engines work via Turnkey Apify OpenRouter or your own BYOK keys.

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

Two-letter country code for localized search results (e.g. 'us', 'gb', 'de', 'id').

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

Language code for prompts and search queries (e.g. 'en', 'id', 'es').

## `includeCitationGapReport` (type: `boolean`):

Aggregate all checks into GEO_REPORT (JSON) and GEO_REPORT_MD (Markdown) in Key-Value Store highlighting domains that cite competitors but not you. Charges 1 'citation-gap-report' event per run.

## `syncKey` (type: `string`):

Unique project key (e.g. 'mybrand-weekly-geo') to compare mention/citation status against the previous run.

## `emitOnlyChanges` (type: `boolean`):

When Delta Sync Key is set, write only checks whose mention, citation, or rank changed since the prior run.

## `webhookUrl` (type: `string`):

Optional HTTPS webhook URL to receive the aggregated GEO summary JSON after the run finishes.

## `openRouterApiKey` (type: `string`):

Optional personal OpenRouter API key covering Perplexity, ChatGPT, Gemini, and Claude in BYOK mode.

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

Optional OpenAI API key for ChatGPT web search responses in BYOK mode.

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

Optional Perplexity Sonar API key in BYOK mode.

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

Optional Gemini API key with Google Search grounding in BYOK mode.

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

Optional Anthropic API key for Claude in BYOK mode.

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

Maximum number of prompt × engine checks run in parallel.

## `outputConnector` (type: `string`):

Optional Apify MCP Connector to post GEO_REPORT_MD after the run completes.

## `deliverTarget` (type: `string`):

Optional Notion page/database ID or Slack channel ID.

## `deliverMode` (type: `string`):

Choose whether to deliver the executive GEO report or individual check rows.

## `deliverMaxItems` (type: `integer`):

Maximum rows delivered in perCheck mode.

## `proxyConfiguration` (type: `object`):

Uses Apify GOOGLE_SERP proxy for Google AI Overviews on Apify Cloud, with automatic web fallback if unavailable.

## Actor input object example

```json
{
  "brandName": "Apify",
  "brandDomain": "apify.com",
  "brandAliases": [
    "Apify Store",
    "Crawlee"
  ],
  "competitors": [
    "Bright Data",
    "ScrapingBee",
    "Oxylabs"
  ],
  "competitorDomains": [
    "brightdata.com",
    "scrapingbee.com",
    "oxylabs.io"
  ],
  "queries": [
    "best web scraping platform for AI agents",
    "how to scrape websites for LLM RAG pipelines"
  ],
  "engines": [
    "google_ai_overview"
  ],
  "country": "us",
  "language": "en",
  "includeCitationGapReport": true,
  "syncKey": "",
  "emitOnlyChanges": false,
  "webhookUrl": "",
  "maxConcurrency": 3,
  "deliverTarget": "",
  "deliverMode": "summary",
  "deliverMaxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Brand visibility, share of voice, mention rank, and citation gap rows per prompt and AI engine.

## `geoReportJson` (type: `string`):

Aggregated visibility score, competitor leaderboard, and citation-gap domains.

## `geoReportMarkdown` (type: `string`):

Shareable Markdown GEO audit report.

# 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": "Apify",
    "brandDomain": "apify.com",
    "brandAliases": [
        "Apify Store",
        "Crawlee"
    ],
    "competitors": [
        "Bright Data",
        "ScrapingBee",
        "Oxylabs"
    ],
    "competitorDomains": [
        "brightdata.com",
        "scrapingbee.com",
        "oxylabs.io"
    ],
    "queries": [
        "best web scraping platform for AI agents",
        "how to scrape websites for LLM RAG pipelines"
    ],
    "engines": [
        "google_ai_overview"
    ],
    "includeCitationGapReport": true,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("forlex/ai-search-visibility-monitor").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": "Apify",
    "brandDomain": "apify.com",
    "brandAliases": [
        "Apify Store",
        "Crawlee",
    ],
    "competitors": [
        "Bright Data",
        "ScrapingBee",
        "Oxylabs",
    ],
    "competitorDomains": [
        "brightdata.com",
        "scrapingbee.com",
        "oxylabs.io",
    ],
    "queries": [
        "best web scraping platform for AI agents",
        "how to scrape websites for LLM RAG pipelines",
    ],
    "engines": ["google_ai_overview"],
    "includeCitationGapReport": True,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("forlex/ai-search-visibility-monitor").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": "Apify",
  "brandDomain": "apify.com",
  "brandAliases": [
    "Apify Store",
    "Crawlee"
  ],
  "competitors": [
    "Bright Data",
    "ScrapingBee",
    "Oxylabs"
  ],
  "competitorDomains": [
    "brightdata.com",
    "scrapingbee.com",
    "oxylabs.io"
  ],
  "queries": [
    "best web scraping platform for AI agents",
    "how to scrape websites for LLM RAG pipelines"
  ],
  "engines": [
    "google_ai_overview"
  ],
  "includeCitationGapReport": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call forlex/ai-search-visibility-monitor --silent --output-dataset

```

## MCP server setup

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

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/bSeJZvutK4e1A4hem/builds/DzXgt3KYuNYTdPY5U/openapi.json
