# AI Brand Visibility Tracker (`arisma_tech/ai-search-brand-visibility-monitor`) Actor

Find out whether AI assistants recommend your brand when customers ask about your category — Gemini, OpenRouter, Groq and LLM7.io. Track mentions, position, citations and share of voice vs competitors, with alerts when your visibility changes.

- **URL**: https://apify.com/arisma_tech/ai-search-brand-visibility-monitor.md
- **Developed by:** [Arishma](https://apify.com/arisma_tech) (community)
- **Categories:** Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 results

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 Brand Visibility Tracker

Find out whether **AI assistants recommend your brand** when customers ask about your category — and how you rank against competitors. Ask the questions your customers ask, and get back mentions, positions, citations and a 0–100 visibility score per brand, per AI engine. Run it on a schedule and get **alerts the moment your AI visibility changes**.

Built for marketing teams, SEO/GEO agencies and founders who need to know how AI search talks about their brand.

### What you get

- **Brand mentions and position.** For every query and engine: is your brand mentioned, how often, and where it ranks among the brands in the answer.
- **Citation tracking.** Which sources each AI cites, and whether your website (or a competitor's) is one of them.
- **Competitor share of voice.** Mention rate, average position, citation rate and a 0–100 visibility score for you and each competitor, per engine and overall.
- **Run-to-run alerts.** `BRAND_LOST`, `BRAND_GAINED`, `CITATION_LOST`, `COMPETITOR_ENTERED` per query and engine, plus `VISIBILITY_DROP` when your mention rate on an engine falls.
- **Webhooks.** All alerts from a run are POSTed as one JSON payload (Slack, Zapier, Make or your backend).
- **Pay only for successful checks.** Failed checks are never charged and are retried automatically on the next scheduled run.

### How to use it

1. Enter your brand, its aliases and your website domains.
2. Add the questions your customers ask AI assistants, e.g. *best CRM for small business*.
3. Add competitors (optionally with their domains to track their citations too).
4. Set a **Monitor ID**, and create a **Schedule** in Apify Console (e.g. weekly). Each run is compared with the previous one.

#### Input example

```json
{
  "brand": "HubSpot",
  "brandAliases": ["HubSpot CRM"],
  "brandDomains": ["hubspot.com"],
  "queries": ["best CRM for small business", "best free CRM software"],
  "competitors": ["Salesforce", "Pipedrive", "Zoho CRM"],
  "runsPerQuery": 1,
  "monitorId": "hubspot-crm-category",
  "webhookUrl": "https://hooks.example.com/ai-visibility"
}
```

#### Output example (one row per query, engine and sample)

```json
{
  "query": "best CRM for small business",
  "engine": "groq",
  "engineName": "Groq",
  "sample": 1,
  "brand": "HubSpot",
  "monitorId": "hubspot-crm-category",
  "aiAnswerPresent": true,
  "brandMentioned": true,
  "brandPosition": 1,
  "brandMentionCount": 6,
  "brandCited": false,
  "competitorsMentioned": ["Pipedrive", "Zoho CRM"],
  "mentions": [{ "brand": "HubSpot", "mentioned": true, "mentionCount": 6, "position": 1, "cited": false }],
  "citations": [{ "url": "https://www.g2.com/categories/crm", "title": "Best CRM Software", "domain": "g2.com" }],
  "citedDomains": ["g2.com"],
  "answerText": "For small businesses, the most popular options are…",
  "checkedAt": "2026-11-09T16:10:20+00:00"
}
```

The run's `OUTPUT` record holds the visibility scores per brand and engine, plus all alerts.

#### Visibility score

`visibilityScore = 100 × (0.5 × mention rate + 0.25 × citation rate + 0.25 × position score)`, where position score is the average of 1/position across checks (1st place = 1, 2nd = 0.5, not mentioned = 0).

### About the engines

Every check asks one of these AI engines, as a fresh user with no history:

- **Gemini** — Google's Gemini model with live Google Search.
- **OpenRouter** — OpenRouter's multi-model routing.
- **Groq** — fast inference on Groq's hosted models.
- **LLM7.io** — Lightweight LLM7 models.

AI answers vary between asks. Increase **Samples per query** for more stable numbers; alerts use the majority result across samples. Results closely track what users see in these AI services, but the apps can personalize answers, so treat results as representative, not identical.

ChatGPT, Perplexity and Google AI Overviews are not included in this version.

### Pricing

One flat price, no tiers, no discounts, no subscription:

| Event | Price | When |
|---|---|---|
| Result (`result`) | $6.00 / 1,000 | Each successful check (one dataset row) |
| Actor start | $0.00005 / run | When the Actor starts |

Example: 10 queries × 4 engines = 40 checks ≈ $0.24 per run. Failed checks are never charged. Platform usage is billed at standard Apify rates.

### FAQ

**Do I need my own API keys?** No. Everything is included in the per-result price.

**Which AI engines are checked?** Gemini, OpenRouter, Groq and LLM7.io. ChatGPT, Perplexity and Google AI Overviews are not included in this version.

**Why did a check fail?** It appears with `status: "failed"` in the internal summary and you are not charged. Failed checks are retried automatically on the next scheduled run.

**How do alerts work?** Set a **Monitor ID** and run on a schedule. Each run is compared with the previous run with the same ID, and changes become alerts. Add a webhook URL to have all alerts POSTed to you when the run finishes.

**Is this legal?** The actor asks AI engines public questions and records their answers. It collects no personal data.

# Actor input Schema

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

The brand you want to track, e.g. HubSpot.

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

Other names AI answers may use for your brand (product names, abbreviations).

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

Your websites. Used to detect when AI answers cite you as a source.

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

Questions your customers ask AI assistants, e.g. 'best CRM for small business'.

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

Competitor brand names to compare against.

## `competitorDetails` (type: `array`):

Optional aliases and domains per competitor, e.g. \[{"name": "Salesforce", "aliases": \["Sales Cloud"], "domains": \["salesforce.com"]}]. Adds citation tracking for competitors.

## `runsPerQuery` (type: `integer`):

AI answers vary between asks. Ask each query this many times on each AI engine for more stable results. Each sample is a charged check.

## `monitorId` (type: `string`):

Name of this tracking setup. Scheduled runs with the same ID are compared against the previous run for alerts.

## `visibilityDropAlertPoints` (type: `integer`):

Alert when your brand's mention rate on an engine falls by at least this many percentage points since the last run.

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

Optional. All alerts from the run are POSTed here as JSON when the run finishes.

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

Two-letter country code used to localize answers, e.g. US, GB, DE.

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

Language code for Google AI Overviews, e.g. en, de, fr.

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

Store each AI answer's full text in the results.

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

Maximum number of checks running in parallel per engine.

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

Used for browser-based checks when they are enabled. Residential proxies in the selected country are recommended.

## Actor input object example

```json
{
  "brand": "HubSpot",
  "brandAliases": [
    "HubSpot CRM"
  ],
  "brandDomains": [
    "hubspot.com"
  ],
  "queries": [
    "best CRM for small business",
    "best free CRM software"
  ],
  "competitors": [
    "Salesforce",
    "Pipedrive",
    "Zoho CRM"
  ],
  "competitorDetails": [],
  "runsPerQuery": 1,
  "monitorId": "default",
  "visibilityDropAlertPoints": 10,
  "country": "US",
  "language": "en",
  "includeAnswerText": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `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 = {
    "brand": "HubSpot",
    "brandAliases": [
        "HubSpot CRM"
    ],
    "brandDomains": [
        "hubspot.com"
    ],
    "queries": [
        "best CRM for small business",
        "best free CRM software"
    ],
    "competitors": [
        "Salesforce",
        "Pipedrive",
        "Zoho CRM"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("arisma_tech/ai-search-brand-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 = {
    "brand": "HubSpot",
    "brandAliases": ["HubSpot CRM"],
    "brandDomains": ["hubspot.com"],
    "queries": [
        "best CRM for small business",
        "best free CRM software",
    ],
    "competitors": [
        "Salesforce",
        "Pipedrive",
        "Zoho CRM",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("arisma_tech/ai-search-brand-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 '{
  "brand": "HubSpot",
  "brandAliases": [
    "HubSpot CRM"
  ],
  "brandDomains": [
    "hubspot.com"
  ],
  "queries": [
    "best CRM for small business",
    "best free CRM software"
  ],
  "competitors": [
    "Salesforce",
    "Pipedrive",
    "Zoho CRM"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call arisma_tech/ai-search-brand-visibility-monitor --silent --output-dataset

```

## MCP server setup

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