# AI Brand Visibility Tracker (`dami_studio/ai-brand-visibility-tracker`) Actor

AI brand visibility tracker and tool: ask ChatGPT, Perplexity, Gemini, Claude, Grok and DeepSeek your buyers' questions and see whether they name your brand, where, against which competitors, with what tone, and which sites they cite.

- **URL**: https://apify.com/dami_studio/ai-brand-visibility-tracker.md
- **Developed by:** [Dami's Studio](https://apify.com/dami_studio) (community)
- **Categories:** SEO tools, AI, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

**AI brand visibility tracker: ask ChatGPT, Perplexity, Gemini, Claude, Grok, DeepSeek, Copilot and Google's AI Overview and AI Mode the questions your buyers ask, and see whether they name your brand**: in what place, next to which competitors, in what tone, and which sites they cite. You get one row per answer and a summary with a visibility score per assistant. The AI usage is billed on top of the price per answer: model answers to your Apify account at the model prices (ten times that on Apify's free plan) or to your own OpenRouter key, and AI Overview, AI Mode and Copilot answers through Apify's own Store actors at their prices.

| | |
|---|---|
| **Input** | Your brand and its sites, your competitors, and the questions buyers ask |
| **Output** | One row per question, assistant and run: named or not, rank against competitors, position in the answer, share of voice, cited sources, sentiment, the answer itself |
| **Ceiling** | 3,000 answers per run (up to 100 questions) |
| **Account needed** | None at the AI companies: the usage goes on your Apify bill |
| **Price** | $1.80 per 1,000 answers on every plan, plus the AI usage. The free plan's $5 a month covers the price of about 2,700 answers; the AI usage comes out of the same credit |

### 🔍 What AI Brand Visibility Tracker does

It asks each assistant your questions the way a person would, with web search on, and reads every answer for your brand and your competitors. Model questions go to each AI company's own model service, on the newest model of the kind the app gives people (each row says which); Gemini searches with Google, as the app does.

Each answer is read twice. Plain text matching finds every mention, so the counts never drift. Then a small AI model reads it for tone, a 0 to 10 recommendation strength and every brand named; a brand the answer never names is dropped.

The summary gives mention rate, how often you are named first, share of voice and citation rate, per assistant and overall, and the questions where a competitor is named and you are not.

### 📋 What data you get from each AI answer

| What | Fields |
|---|---|
| The question and who answered | `prompt`, `promptSource`, `seedPrompt`, `engine`, `model`, `run`, `runId`, `webSearch`, `searchCountry` |
| Whether you are named | `brandMentioned`, `mentionCount`, `brandQuote` |
| Where you are named | `positionScore` (1 = first tenth of the answer), `rankAmongTracked`, `rankAmongNamed`, `listRank` |
| You against competitors | `shareOfVoice`, `competitorsMentioned`, `competitors` (each with its own counts and ranks), `brandsNamed` |
| Sources | `citations` (position, url, title, domain, and kind: your site, a competitor's, a forum, a video, a marketplace, a review site...), `citedDomains`, `citationCount`, `brandCited`, `brandCitedPosition`, `brandCitedUrls`, `pagesSearched` |
| Tone (optional) | `sentiment`, `recommendationStrength`, `analysisSummary`, `brandAttributes` |
| The answer | `answer`, `answerWordCount`, `finishReason`, `aiCostUsd`, `responseSeconds`, `askedAt` |

### ▶️ How to track your brand in AI answers

1. Open [AI Brand Visibility Tracker](https://apify.com/dami_studio/ai-brand-visibility-tracker) and type your brand in **Brand**, your sites in **Brand websites** and your competitors in **Competitors** (`Name | site.com`).
2. Put the questions your buyers ask in **Questions**, one per line. **Question templates** can add more from your **Category**.
3. Pick the assistants in **AI assistants** and, to see where the answers could get expensive, tick **Show the plan only** for a free first look.
4. Press Start. Each answer becomes a row; the totals are in the key-value store under SUMMARY.
5. To follow changes week to week, set a **Project name** and run it on a schedule with the same questions.

Run it with nothing filled in and it returns one free sample row showing the shape of a real one.

### 💰 How much does it cost to track brand mentions in AI answers?

$1.80 per 1,000 answers, the same on every plan, plus $0.00005 per run start. An answer is one assistant answering one question once.

The AI usage is separate, because every answer is a real call to a paid model. Without a key it is billed to your Apify account by Apify's own AI model actor, at the model prices on paid plans and at ten times those on the free plan; with your own OpenRouter key, there instead. Google AI Overview, AI Mode and Copilot answers are billed by Apify's own Store actors at the prices their Store pages list, highest on the free plan. **Maximum AI usage** stops the run before it goes past the amount you set (2 USD unless you change it). AI search volume, when you turn it on, is $0.005 per question that comes back with a count, even a count of 0.
Free: the sample row, plan rows, note rows, questions that got no answer, and the summary and report.

### 📥 What you give it

| Field | What it is | Default |
|---|---|---|
| `brand` | Your brand, as people write it | none |
| `brandAliases` | Other names that count as the brand | none |
| `brandDomains` | Your sites, for citations | none |
| `competitors` | `Name | site.com`, one per line, up to 15 | none |
| `prompts` | Your buyers' questions, up to 100 | none |
| `category` | What the brand is, for templates | none |
| `promptTemplates` | `best`, `alternatives`, `comparison`, `review`, `recommendation`, `use_case`, `how_to` | none |
| `promptVariants` | Extra wordings per question, 0 to 5 | 0 |
| `answerLanguage` | Ask for answers in a language | none |
| `engines` | `chatgpt`, `perplexity`, `gemini`, `claude`, `grok`, `deepseek`, `google-ai-overview`, `google-ai-mode`, `copilot` | chatgpt, perplexity, gemini |
| `customModels` | Other model ids from openrouter.ai/models | none |
| `webSearch` | Let the assistants search the web | true |
| `country` | Country the search runs for, or `ANY` | US |
| `runsPerPrompt` | Asks per question per assistant, 1 to 10 | 1 |
| `analyzeAnswers` | Read each answer for tone | true |
| `includeReport` | Save an HTML report page | false |
| `checkCitedPages` | Read the most cited pages, 0 to 12 | 0 |
| `projectName` | Compare with the last run of the same name | none |
| `webhookUrl` | Send the summary there when the run ends | none |
| `includeAiSearchVolume` | Monthly AI search volume of each question. On Apify's free plan, the first 3 questions of a run; any paid plan removes the limit | false |
| `maxAiSpendUsd` | Stop at this much AI usage | 2 |
| `apifyPlan` | Your plan, for the Store actors' prices: `FREE`, `BRONZE`, `SILVER`, `GOLD` | FREE |
| `maxAnswers` | Refuse plans larger than this | 300 |
| `maxConcurrency` | Questions in flight at once | 4 |
| `planOnly` | List what would be asked, ask nothing | false |
| `openrouterApiKey` | Your own OpenRouter key, kept secret | none |
| `chatgptModel` ... `deepseekModel`, `analysisModel` | Pin a model id | newest |
| `maxAnswerLength` | Longest answer in tokens, 256 to 2,048 | 1500 |
| `searchContextSize` | `low`, `medium`, `high` | medium |
| `reasoningEffort` | `default`, `minimal`, `low`, `medium`, `high` | low |
| `answerText` | `full`, `excerpt`, `none` | full |

```json
{
  "brand": "Notion",
  "brandDomains": ["notion.so"],
  "competitors": ["Obsidian | obsidian.md", "Coda | coda.io"],
  "prompts": ["What is the best note-taking app for a small team?"],
  "engines": ["chatgpt", "perplexity", "gemini"],
  "runsPerPrompt": 3
}
```

### 📤 What you get back

A ChatGPT row from a real run, shortened:

```json
{
  "ok": true,
  "recordType": "answer",
  "prompt": "What is the best note-taking app for a small team?",
  "promptSource": "yours",
  "engine": "chatgpt",
  "model": "openai/gpt-chat-latest",
  "run": 1,
  "webSearch": true,
  "searchCountry": "US",
  "brand": "Notion",
  "brandMentioned": true,
  "mentionCount": 8,
  "positionScore": 1,
  "rankAmongTracked": 1,
  "rankAmongNamed": 1,
  "listRank": null,
  "shareOfVoice": 100,
  "brandCited": true,
  "brandCitedPosition": 1,
  "brandCitedUrls": ["https://www.notion.com/help/upgrade-or-downgrade-your-plan"],
  "brandQuote": "For a small team (roughly 2–20 people), I'd recommend Notion as the best overall note-taking app in 2026.",
  "sentiment": "positive",
  "recommendationStrength": 10,
  "analysisSummary": "The answer recommends Notion as the best overall note-taking app for small teams and its clear first pick.",
  "brandAttributes": ["Highly customizable", "Combines note-taking with project management", "Takes some time to learn"],
  "competitorsMentioned": [],
  "competitors": [
    { "name": "Obsidian", "mentioned": false, "mentionCount": 0, "positionScore": null, "rankAmongTracked": null, "listRank": null, "shareOfVoice": 0, "cited": false, "citedPosition": null }
  ],
  "brandsNamed": ["Notion", "Microsoft OneNote", "Slite", "Google Docs", "ClickUp"],
  "citations": [
    { "position": 1, "url": "https://www.notion.com/help/upgrade-or-downgrade-your-plan", "title": "Change your Notion plan | Notion Help", "domain": "notion.com", "kind": "brand" },
    { "position": 2, "url": "https://support.microsoft.com/en-us/onenote/share-notes", "title": "Share notes | Microsoft Support", "domain": "support.microsoft.com", "kind": "other" }
  ],
  "citedDomains": ["notion.com", "support.microsoft.com", "slite.com", "help.clickup.com"],
  "citationCount": 4,
  "answer": "For a small team (roughly 2–20 people), **I'd recommend Notion as the best overall note-taking app in 2026**. ...",
  "answerWordCount": 640,
  "finishReason": "stop",
  "aiCostUsd": 0.081387,
  "responseSeconds": 10.8,
  "askedAt": "2026-11-04T04:59:12.007Z"
}
```

### 🧾 Reading the output

- **Answer rows** have `recordType: "answer"` and `ok: true`. Each is one charged answer.
- **Note rows** have `recordType: "note"`, `ok: false` and an `errorCode`, and are free: `BAD_INPUT` (the input needs a change; nothing was asked), `ACCOUNT_LIMIT` (your plan, credit or key could not pay for the AI usage), `NOT_FOUND` (a model is not available; pick another), `NOT_SERVED` (an assistant did not answer; re-run later), `NO_RESULTS` (an empty answer), `TIME_LIMIT` and `COST_LIMIT` (the run stopped at a limit you set; the note says which), `UNEXPECTED_ERROR` (please report it).
- **Plan rows** (`recordType: "plan"`) come only with **Show the plan only**. A **sample row** (`_sample: true`) comes only with an empty input.
- `positionScore` is empty when your brand is not named, and `brandCited` is empty when you gave no sites.
- Names are matched as whole words, any case. Put every spelling people use for your brand in **Other names for the brand** so each one counts.
- To keep only answers, filter on `recordType` equal to `answer`.

The summary sits in the key-value store under SUMMARY. Its visibility score is 40 x mention rate + 30 x placement + 20 x share of voice + 10 x citation rate, all from the rows.

### 💡 What people use it for

- A brand that wins on Google and wants to know if the assistants say its name when someone asks for the best tool in its category.
- An agency that sends clients a monthly page on AI visibility: one project name per client, a schedule, and the REPORT page.
- A content team deciding which review sites and lists to get onto: the cited domains, and **Read the most cited pages** to see which of them already name a competitor.

A recipe: get question ideas from [Keyword Autocomplete Scraper](https://apify.com/dami_studio/keyword-autocomplete-scraper), track them here weekly with a project name, then pull the most cited pages into [Website Intelligence Crawler](https://apify.com/dami_studio/website-intelligence-crawler) to read what they say.

### 🚧 What it does not do

- It does not open the ChatGPT, Gemini or other apps, or use anyone's account. An app can answer one person differently from another, with memory and personal settings no outside tool sees.
- One ask is one sample. The same question can name different brands an hour later; use **Runs per question** for a rate.
- It is not an official tool of OpenAI, Perplexity, Google, Anthropic, xAI, DeepSeek, Microsoft or OpenRouter. Dami's Studio is independent and is not affiliated with or endorsed by any of them, or by any other company named on this page.

### 🧭 Which AI visibility tool do you need?

| If you want | Use |
|---|---|
| Whether AI assistants name your brand when buyers ask | This one |
| Your place in Google's ordinary results for the same questions | [Google Search Results Scraper](https://apify.com/dami_studio/google-search-results-scraper) |
| The questions people type, as search suggestions | [Keyword Autocomplete Scraper](https://apify.com/dami_studio/keyword-autocomplete-scraper) |
| Interest in your brand over time | [Google Trends Scraper](https://apify.com/dami_studio/google-trends-scraper) |
| The text of the pages the answers cite | [Website Intelligence Crawler](https://apify.com/dami_studio/website-intelligence-crawler) |
| Whether your brand name is already a US trademark | [USPTO Trademark Search Scraper](https://apify.com/dami_studio/trademark-search-scraper) |

### ❓ Questions people ask

#### Do I need an OpenAI, Perplexity or Google account?

No. Without a key the AI usage is billed to your Apify account. If you already pay OpenRouter, add your key in **Your OpenRouter API key** and it is billed there instead.

#### Why does ChatGPT show me something different?

The app knows you: your past chats, your location, its settings. This asks each model fresh, from the country you pick. Run each question 3 or more times and read the rate.

#### Does it read Google's AI Overview?

Yes: pick Google AI Overview in **AI assistants**. Google shows one for some questions only; a question without one gets a free note row.

#### How do I call it from code or an AI assistant?

Use the API tab on this page, or add it to an MCP client with `https://mcp.apify.com/?tools=dami_studio/ai-brand-visibility-tracker`. Set the run's maximum cost and **Maximum AI usage** to keep both bills where you want them.

### 🆘 If something breaks

Open an issue in the Issues tab with the run's link and what you expected to see. Note rows say what happened in plain words, so include the `errorCode` if there is one.

# Actor input Schema

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

The brand to look for in the answers, as people write it. Matching ignores case and only counts whole words, so "Coda" does not match "Codable".

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

Other spellings and product names that count as the brand, one per line. Up to 10.

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

Your own sites, like "notion.so". An answer that cites a page on one of them (subdomains included) counts as citing you. Up to 10.

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

One per line, the name first and, after a "|", their sites: "Obsidian | obsidian.md". Each answer reports which of them it names, in what order, and whether it cites their sites. Share of voice is counted against this list. Up to 15.

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

The questions your buyers type into an AI assistant, one per line, in any language. Keep the same wording from run to run when you track changes over time. Up to 100.

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

What the brand is, in a few words, like "note-taking app" or "CRM for small business". Needed by the "best", "recommendation", "use case" and "how to choose" templates below.

## `promptTemplates` (type: `array`):

Ready-made questions added to yours, written in English from your brand, category and competitors. "Brand or competitor" adds one question for each of your first three competitors.

## `promptVariants` (type: `integer`):

Also ask each question in this many other wordings, written by a small AI model in the question's language. People ask the same thing many ways; 0 asks each question only as written. Each wording is asked on every engine.

## `answerLanguage` (type: `string`):

Optional, like "German". When set, every question carries a one-line instruction to answer in that language. Leave it empty to ask exactly as a person would; the answer then follows the question's language.

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

Which assistants to ask. ChatGPT, Perplexity, Gemini, Claude, Grok and DeepSeek use their maker's newest model of the kind people get in the app, read from the public model list at the start of every run (the row's "model" says which). Google AI Overview, Google AI Mode and Microsoft Copilot answers are read by Apify's own Store actors on your account and billed there at their Store prices.

## `customModels` (type: `array`):

Any other model by its id on openrouter.ai/models, like "mistralai/mistral-large-4-0". Each one is asked every question, like an engine. Up to 5.

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

On: each assistant searches the web before answering and cites its sources, as the apps do for most buying questions. Off: answers come from what the model learned in training, with no sources. Perplexity always searches.

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

The country the web search is run for, which changes the shops, prices and local brands an answer brings up. Each row's "searchCountry" shows the country its search used. "Anywhere" sends no location.

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

Ask each question this many times on each assistant. Answers change from one ask to the next, so 3 or more gives a mention rate you can trust more than a single answer.

## `analyzeAnswers` (type: `boolean`):

A small AI model reads each answer and adds the tone toward your brand, a 0 to 10 recommendation strength, every brand the answer names in order, and a one-line summary. Brand names it reports that are not in the answer are dropped. Off: those fields stay empty and the run costs a little less AI usage.

## `includeAiSearchVolume` (type: `boolean`):

Also get how often each question is asked of AI assistants in a month, in the country you picked, with its month-by-month history: a row of its own per question (recordType volume) and the figure on every answer row. Charged per question that comes back with a count, even a count of 0, at the price on the Pricing tab. The count is for the country's own language, so outside English-speaking countries write the questions in that language and set it in Answer language. Questions over 250 characters get none.

## `includeReport` (type: `boolean`):

Also save REPORT, a one-page HTML report in the run's key-value store: scores per assistant, where competitors are named and you are not, the sites cited most, and changes since the last run of the same project.

## `checkCitedPages` (type: `integer`):

Open this many of the pages the answers cite most and note which of them name your brand and which name only competitors: the pages worth getting onto. 0 reads none.

## `projectName` (type: `string`):

Optional. Runs with the same project name are compared: each run saves CHANGES with the questions where your brand was newly named or dropped, citations gained and lost, and competitors that appeared. Use it with a weekly schedule and keep the questions the same.

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

Optional. When the run ends, its summary (and changes, with a project name) is sent here as JSON in a POST request.

## `maxAiSpendUsd` (type: `number`):

The run stops asking once the AI usage for this run reaches this amount, at the model prices. This is separate from the run's own maximum cost, which covers this tool's price per answer.

## `apifyPlan` (type: `string`):

Only for Google AI Overview, Google AI Mode and Microsoft Copilot, which Apify's own Store actors charge by plan. The run counts their answers against Maximum AI usage at your plan's price; left on Free, it counts the free plan's price, the highest, and may stop sooner than it needs to on a paid plan. Each of those runs also carries its own charge cap.

## `maxAnswers` (type: `integer`):

Questions x wordings x assistants x runs must fit under this, or the run asks nothing and says so. A guard against a typo turning into a large bill.

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

How many questions are in flight at the same time.

## `planOnly` (type: `boolean`):

List every question, assistant and model the run would ask, with a high guess of the AI usage, and ask nothing. Free. The dataset shows the first 100; the whole plan is in the PLAN record.

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

Optional. Leave it empty and the AI usage is billed to your Apify account. With a key, the questions go to OpenRouter on your own account and are billed there instead. Stored encrypted and never written to the results or the log.

## `chatgptModel` (type: `string`):

Optional: pin a model id instead of the newest, like "openai/gpt-6.1-sol".

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

Optional: pin a model id, like "perplexity/sonar-deep-research".

## `geminiModel` (type: `string`):

Optional: pin a model id, like "google/gemini-4-argon".

## `claudeModel` (type: `string`):

Optional: pin a model id, like "anthropic/claude-opus-5.5".

## `grokModel` (type: `string`):

Optional: pin a model id, like "x-ai/grok-4.6".

## `deepseekModel` (type: `string`):

Optional: pin a model id, like "deepseek/deepseek-v4-flash-0731".

## `analysisModel` (type: `string`):

Optional: the model that reads each answer for sentiment and writes extra wordings. Empty uses a small, low-cost model.

## `maxAnswerLength` (type: `integer`):

The most an assistant may write per answer, in tokens (a token is about three quarters of a word). 2,048 is the ceiling.

## `searchContextSize` (type: `string`):

How much the web search reads before answering. Deeper reads more pages and costs more AI usage.

## `reasoningEffort` (type: `string`):

For models that can think before answering. Low keeps answers quick and close to an app's everyday answers; higher costs more. "Model default" leaves it to the model.

## `answerText` (type: `string`):

Keep the whole answer, its first 800 characters, or none of it. The counts and positions are always worked out from the whole answer.

## Actor input object example

```json
{
  "brand": "Notion",
  "brandAliases": [
    "Notion AI"
  ],
  "brandDomains": [
    "notion.so",
    "notion.com"
  ],
  "competitors": [
    "Obsidian | obsidian.md",
    "Coda | coda.io",
    "Evernote | evernote.com"
  ],
  "prompts": [
    "What is the best note-taking app for a small team?"
  ],
  "promptTemplates": [],
  "promptVariants": 0,
  "engines": [
    "chatgpt",
    "perplexity",
    "gemini"
  ],
  "webSearch": true,
  "country": "US",
  "runsPerPrompt": 1,
  "analyzeAnswers": true,
  "includeAiSearchVolume": false,
  "includeReport": false,
  "checkCitedPages": 0,
  "maxAiSpendUsd": 2,
  "apifyPlan": "FREE",
  "maxAnswers": 300,
  "maxConcurrency": 4,
  "planOnly": false,
  "maxAnswerLength": 1500,
  "searchContextSize": "medium",
  "reasoningEffort": "low",
  "answerText": "full"
}
```

# Actor output Schema

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

Answer rows and free note rows in the default dataset.

## `summary` (type: `string`):

Visibility score, mention rate, share of voice and citation rate per brand and assistant, competitor gaps and the sites cited most.

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

The one-page HTML report, with Write a report page on.

## `changes` (type: `string`):

With a project name, after the project's second run.

# 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",
    "brandAliases": [
        "Notion AI"
    ],
    "brandDomains": [
        "notion.so",
        "notion.com"
    ],
    "competitors": [
        "Obsidian | obsidian.md",
        "Coda | coda.io",
        "Evernote | evernote.com"
    ],
    "prompts": [
        "What is the best note-taking app for a small team?"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dami_studio/ai-brand-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 = {
    "brand": "Notion",
    "brandAliases": ["Notion AI"],
    "brandDomains": [
        "notion.so",
        "notion.com",
    ],
    "competitors": [
        "Obsidian | obsidian.md",
        "Coda | coda.io",
        "Evernote | evernote.com",
    ],
    "prompts": ["What is the best note-taking app for a small team?"],
}

# Run the Actor and wait for it to finish
run = client.actor("dami_studio/ai-brand-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 '{
  "brand": "Notion",
  "brandAliases": [
    "Notion AI"
  ],
  "brandDomains": [
    "notion.so",
    "notion.com"
  ],
  "competitors": [
    "Obsidian | obsidian.md",
    "Coda | coda.io",
    "Evernote | evernote.com"
  ],
  "prompts": [
    "What is the best note-taking app for a small team?"
  ]
}' |
apify call dami_studio/ai-brand-visibility-tracker --silent --output-dataset

```

## MCP server setup

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