# LLM Mentions Page Tracker (`opspilot.cc/llm-mentions-page-tracker`) Actor

Show which of your specific pages ChatGPT and Google AI Overviews cite. Up to 10 URL/domain/keyword targets per billable request, no free tier.

- **URL**: https://apify.com/opspilot.cc/llm-mentions-page-tracker.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Categories:** AI, Marketing, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $200.00 / 1,000 ai visibility requests

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

## 🔎 LLM Mentions Page Tracker

> Which of your pages do AI answers actually cite — not your domain, your page.

Domain-level AI visibility tells you that "example.com shows up somewhere". It does not tell you whether the article you rewrote last month, the product page you just launched or the `/blog/*` section you are proud of is the source an AI answer used. This Actor checks **specific URLs** against AI answer data and returns every prompt where those pages appear, together with the full source list, so a citation is something you can point at rather than infer.

Every row carries `isMatch`, `matchedTargets` and `matchedUrls`, so a single run answers two questions at once: which prompts cite *my* page, and which other pages win those prompts.

### ✨ What you get

One dataset row per AI answer, plus a `SUMMARY` for the run.

| Field | Type | Meaning |
|---|---|---|
| `platform` | string | `google` (AI Overview) or `chat_gpt` |
| `modelName` | string | The model that produced the answer, when reported |
| `question` | string | The prompt the answer responds to |
| `answer` | string | The full answer text (markdown) |
| `sources` | array | Every cited source: `url`, `domain`, `sourceName`, `title`, `snippet`, `rank`, `publicationDate` |
| `sourceCount` | number | How many sources the answer cites |
| `searchResultCount` | number | How many pages the model retrieved (populated for the search-results scope) |
| `matchedTargets` | array | Which of your tracked targets this answer hits: an exact page, a directory, a domain or a keyword |
| `matchedUrls` | array | The subset of `matchedTargets` that are page targets — the page-level answer |
| `keywordTargets` | array | Keywords the request that produced this row carried, so a keyword run stays traceable |
| `isMatch` | boolean | `true` when a tracked page or domain is cited, or a tracked keyword is satisfied (see the FAQ on keyword matching) |
| `aiSearchVolume` | number | AI search volume of the prompt, when the platform reports it |
| `monthlySearches` | object | Monthly search history behind the prompt, when reported |
| `brandEntities` | array | Brands the answer mentions, when reported |
| `fanOutQueries` | array | Follow-up queries the model expanded the prompt into, when reported |
| `webSearchBased` | boolean | Whether the answer used live web search |
| `locationCode` / `languageCode` | number / string | Market and language the answer was produced for |
| `firstResponseAt` / `lastResponseAt` | string | When the platform first and last produced this same answer |
| `requestIndex` | number | Which billable request produced this row |
| `collectedAt` | string | Run timestamp |

Source URLs usually arrive with tracking parameters attached (`?utm_source=…`). The Actor matches on **host + path only**, so a `?utm_source=` suffix never hides a real citation.

### 💼 Use cases

- **Auditing a content refresh** — you rewrote five guides and want to know which ones AI answers now cite, and for which prompts. Pass the five URLs, read `matchedUrls`, and skip the domain-wide noise entirely.
- **Tracking a whole directory instead of a domain** — `https://example.com/blog/*` becomes a subpath target, so every article under `/blog` is checked while `/pricing` and `/legal` stay out of the report.
- **Competitor citation benchmarking on the same prompts** — put your page and two rival pages in one request: rows come back marked with `matchedTargets`, so the comparison is a filter, not a manual read of `sources`.
- **Product pages in AI shopping answers** — pass a product URL and read the prompts where that exact page is cited, next to the retailers that outrank it in the same answer.

### ✅ Who this is for

- **GEO / AEO specialists** who report on page-level AI citations and need a defensible list of prompts per URL, not a domain score.
- **SEO leads and content strategists** prioritising a refresh queue: a page cited for ten prompts is worth more than a page cited for none.
- **Agencies producing client-facing AI visibility reports** who need schedulable, repeatable runs with an audit trail in `SUMMARY`.
- **Cross-border sellers and SaaS marketers** comparing how their pricing and product pages are cited in AI answers versus competitors' pages.

### ❌ Who this is NOT for

- **You want traffic, clicks or conversions** — a citation is visibility, not a visit. Nothing here measures sessions, CTR or revenue.
- **You need domain-level dashboards or historical trends** — this Actor answers for the targets you pass, at the moment you run it. It stores no time series; schedule it and diff the datasets yourself.
- **You need ChatGPT answers outside the United States or in a non-English language** — ChatGPT mention data is US + English only today. Google AI Overviews covers the markets and languages the platform supports.
- **You want unlimited URLs in one run** — one request carries at most 10 entities and `maxRequests` caps how many requests a run may make. Larger lists must be split or batched deliberately.
- **You expect a free test** — there is no free tier. Every request is a paid data call, billed whether or not it finds a mention.

### 🚀 Quick start

1. Paste one or more **absolute URLs** into `urls` — for example `https://www.shopify.com/blog/seo-guide`. Prefilled, so pressing **Start** works immediately.
2. Leave `platform` on `google` (AI Overviews) or switch to `both` to get Google and ChatGPT data out of the same request.
3. Press **Start**. One request is made, one request is billed.
4. In the dataset, filter `isMatch: true` to see only the answers that cite your page. Read `matchedUrls` to confirm which of your URLs did the citing.
5. To cover a directory, change the URL to `https://example.com/blog/*`.
6. To track more than 10 entities, raise `maxRequests` — each additional request is billed.

### 📥 Input parameters

| Parameter | Type | Default | Range | What it does |
|---|---|---|---|---|
| `urls` | list | one example URL | up to 50 | Pages to check. Absolute URLs only. A trailing `*` turns the entry into a subpath target (`https://example.com/blog/*`); subpath targets cannot contain query strings. |
| `keywords` | list | — | up to 10 | Optional. Matches prompts and answers that mention the phrase even when no URL is cited. Each keyword consumes one of the 10 slots in a request. |
| `excludeDomains` | list | — | up to 4 | Optional. Keeps known noise out of the answer set (`reddit.com`, `youtube.com`, your own aggregator). Each excluded domain also consumes one of the 10 slots. |
| `platform` | select | `google` | `google`, `chat_gpt`, `both` | `both` omits the platform filter, so one request returns Google AI Overview and ChatGPT data together. ChatGPT data is US + English only. |
| `scope` | select | `sources` | `sources`, `search_results`, `any` | `sources` = cited in the final answer (the usual question). `search_results` also counts pages the model retrieved without citing them, ChatGPT only. `any` is the widest. |
| `locationCode` | number | `2840` | market codes | Market for the answer set. `2840` = United States, the only market ChatGPT data supports today. |
| `languageCode` | string | `en` | language codes | Language of the answer set. English only for ChatGPT today. |
| `maxMentionsPerRequest` | number | `20` | 1–50 | Rows requested per request. Higher values fill the dataset faster; the request price does not change. |
| `maxRequests` | number | `1` | 1–10 | Hard ceiling on billable requests. Entities that do not fit are reported in a `REQUESTS_NOT_RUN` notice instead of being silently dropped. |

Input is validated before anything is fetched: relative URLs, a ChatGPT market other than the US, and `scope: search_results` combined with Google are all rejected up front, so a typo never turns into a billed request.

### 📤 Output

**Dataset** — one row per AI answer (fields above), or a single `notice` row when there is nothing to deliver:

| Notice `code` | When it appears | What it means |
|---|---|---|
| `PAID_PLAN_REQUIRED` | run started on a free plan | Refused before any request; nothing fetched, nothing billed |
| `PRICING_NOT_CONFIGURED` | the Actor's price list has no `llm-request` event | Fail-closed: the run will not fetch without a working price |
| `BUDGET_STOP` | `maxTotalChargeUsd` cannot cover the next request, or the charge was refused | Everything collected so far is kept; no further request is sent |
| `REQUESTS_NOT_RUN` | more entities than `maxRequests` allows | States how many requests were skipped and their entity count |
| `NO_MENTIONS` | the request returned zero rows | A valid result — the tracked pages are not cited for these prompts |
| `INVALID_INPUT` | validation failed | Nothing fetched, nothing billed |

**SUMMARY** (key-value store) — `requestsPlanned`, `requestsMade`, `requestsSkipped`, `rowsReturned`, `mentionsCollected`, `matchedMentions`, `stopReason`, `perRequest` (entities per request, rows returned, matched rows), `billing` (event state, price, requests charged, estimated charge, remaining budget, owner-run flag), `appliedLimits`, `warnings`, `collectedAt`, `finishedAt`.

`requestsMade` × the request price is exactly what the run costs. There is no hidden per-row line: the dataset rows are already paid for by the request that produced them.

### ⚙️ How it works

1. **Normalise targets.** URLs are reduced to `host + path` (query string dropped), a trailing `*` sets a subpath flag, domains are lower-cased and keywords are trimmed. Duplicates collapse.
2. **Pack the entities.** Up to 10 targets travel in one request; exclusions ride along on every chunk and consume slots. Anything that does not fit inside `maxRequests` is reported, never dropped silently.
3. **Pre-flight the budget.** Before the HTTP call the Actor reads the remaining `maxTotalChargeUsd` and compares it with the request price. Not enough → no call is made.
4. **Fetch, then charge, then deliver.** The request runs, its rows are validated, the caller is charged for exactly one `llm-request`, and only then are the rows written to the dataset. A refused charge ends the run without delivering data.
5. **Match and label.** Each answer is matched against the include targets by source host+path (exact or prefix for subpath targets), domain suffix or keyword text, and flagged with `isMatch`, `matchedTargets` and `matchedUrls`.

There is no retry loop by design: a retry is another paid request, so a failed request is reported in `warnings` and the entity list is left visible in `SUMMARY` for a deliberate re-run.

### 💰 Billing

**$0.20 per request — one request covers up to 10 URL, domain and keyword targets.** Plus a one-off `$0.001` Actor start. Billing is per request, not per row and not per URL.

| You track | Requests | Price | Per page |
|---|---|---|---|
| 1 URL | 1 | $0.20 | $0.20 |
| 10 URLs | 1 | $0.20 | $0.02 |
| 25 URLs | 3 | $0.60 | $0.024 |
| 50 URLs | 5 | $1.00 | $0.02 |

Batching is the whole economics of this Actor: 10 pages in one request cost the same as one page. Excluded domains share those 10 slots, so 4 exclusions leave room for 6 include targets per request.

- **No free tier.** A free-plan run is refused before any request is made (`PAID_PLAN_REQUIRED`). Each request is a real data purchase; a free run would spend the operator's money and charge the caller nothing.
- **You pay for the request, not for the luck.** A request that returns zero mentions is still billed — that is how answer data works. `NO_MENTIONS` tells you the result is empty, not that something broke.
- **Budget stop.** The run checks your remaining `maxTotalChargeUsd` before each request. If it cannot cover one, nothing further is fetched (`BUDGET_STOP`), and the dataset keeps what was already collected.
- **Fail-closed pricing.** If the price list ever loses the `llm-request` event, the run refuses to fetch (`PRICING_NOT_CONFIGURED`). A monetisation outage can never turn into a free service.
- **Owner runs are exempt.** Runs by the Actor owner are not charged, so pricing can be debugged without self-billing.
- **Failed requests are not charged to you.** If the data source returns an error task, the run reports it in `warnings` and does not bill for that request.

### ❓ FAQ

**Why did my run stop after one request?**
`maxRequests` defaults to `1`. Raise it (1–10) to cover more entities, or split the list across runs. Skipped entities are listed in the `REQUESTS_NOT_RUN` notice.

**Why does a keyword-only run mark every answer `isMatch: true`?**
A keyword is satisfied at request level: the API selects answers using your whole keyword set and does not say which of the 10 targets produced a row. In a keyword-only run, that means every returned answer counts, and `matchedTargets` names the keyword. In a mixed run (pages plus keywords) this shortcut is disabled on purpose, so cite claims never get inflated by a keyword; read `keywordTargets` to see which keywords travelled with the request.

**Why is `isMatch` false when I can see my domain in `sources`?**
Matching is on host + path of the *include* targets you passed. A different subdomain (`blog.example.com` vs `example.com`) or a different path is a different page. Either pass the exact URL, or pass the directory as `https://example.com/blog/*`.

**Does a `*` target also match the bare directory URL?**
Yes — `https://example.com/blog/*` matches `/blog` itself and everything below it. Query strings are removed from subpath targets, because the data source rejects them there.

**Can I track German or Indian ChatGPT answers?**
Not yet: ChatGPT mention data is US + English only. Google AI Overviews works in the markets and languages the platform supports — set `locationCode` and `languageCode` accordingly.

**What is the difference between `sources` and `search_results` scope?**
`sources` counts only what the final answer cited. `search_results` also counts pages the model retrieved but chose not to cite — useful for "were we even in the running" questions. `search_results` is ChatGPT-only, and combining it with Google is rejected before any request is made.

**Why do my source URLs carry a `?utm_source=` parameter?**
The AI platform appends tracking parameters to cited URLs. The Actor strips them before matching and keeps the raw URL in `sources`, so nothing is lost and no citation is missed.

**Can I run this on the free plan?**
No. The Actor refuses before fetching and tells you why in a `PAID_PLAN_REQUIRED` notice. No request is made, so nothing is charged.

### 📚 Resources

- Apify platform basics: [how Actors run](https://docs.apify.com/platform/actors/running)
- Pay-per-event pricing and how charges are recorded: [monetising Actors](https://docs.apify.com/platform/actors/publishing/monetizing-actors)
- Input schema reference: [Actor input schema](https://docs.apify.com/platform/actors/development/actor-definition/input-schema)
- API access to datasets and runs: [Apify API v2](https://docs.apify.com/api/v2)

Changelog and version history live in `CHANGELOG.md`. The dataset is the product; `SUMMARY` is the receipt.

# Changelog

This Actor's version history is a separate document: https://apify.com/opspilot.cc/llm-mentions-page-tracker/changelog.md

# Actor input Schema

## `urls` (type: `array`):

Absolute URLs, one per line (up to 50). Add a trailing \* to cover a whole directory, e.g. `https://example.com/blog/*` — subpath URLs cannot contain query strings. Every 10 entities are one billable request.

## `keywords` (type: `array`):

Optional. Match the prompts and answers that mention this phrase, even when no URL is cited. Each keyword takes one of the 10 slots in a request.

## `excludeDomains` (type: `array`):

Optional, up to 4. Keeps known noise (reddit.com, youtube.com, your own aggregator) out of the answer set. Each excluded domain also takes one of the 10 slots.

## `platform` (type: `string`):

`both` omits the platform parameter and returns Google AI Overview and ChatGPT data from a single request. ChatGPT data is currently US + English only.

## `scope` (type: `string`):

`sources` answers "was my page cited in the final answer" — the usual GEO question. `search_results` (ChatGPT only) also counts pages the model retrieved but did not cite.

## `locationCode` (type: `integer`):

Market code for the answer set. 2840 = United States, the only market ChatGPT data supports today.

## `languageCode` (type: `string`):

Language code for the answer set. ChatGPT data is English only for now.

## `maxMentionsPerRequest` (type: `integer`):

Rows requested per request, 1–50. The request price does not change with the row count: a higher value fills the dataset faster, it does not add a per-row charge.

## `maxRequests` (type: `integer`):

Hard ceiling on billable requests. Each request is $0.20 and covers up to 10 entities, so 50 URLs need 5 requests. Requests beyond this ceiling are never made and the skipped entities are reported.

## Actor input object example

```json
{
  "urls": [
    "https://www.shopify.com/blog/seo-guide"
  ],
  "platform": "google",
  "scope": "sources",
  "locationCode": 2840,
  "languageCode": "en",
  "maxMentionsPerRequest": 20,
  "maxRequests": 1
}
```

# Actor output Schema

## `answers` (type: `string`):

One row per AI answer, with sources and page-level match flags.

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

Requests made, rows returned, matches, billing snapshot and warnings.

# 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 = {
    "urls": [
        "https://www.shopify.com/blog/seo-guide"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("opspilot.cc/llm-mentions-page-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 = { "urls": ["https://www.shopify.com/blog/seo-guide"] }

# Run the Actor and wait for it to finish
run = client.actor("opspilot.cc/llm-mentions-page-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 '{
  "urls": [
    "https://www.shopify.com/blog/seo-guide"
  ]
}' |
apify call opspilot.cc/llm-mentions-page-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opspilot.cc/llm-mentions-page-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/byd5n3Z5vtcRE76CD/builds/SiMUFrk3fwwK7VJPD/openapi.json
