# Shortlist Mirror BYOK: AI Brand Monitor with Your Own API Keys (`raiselabs/shortlist-mirror-byok`) Actor

What AI gets wrong about your brand, on your own API keys. ChatGPT, Claude, Gemini, Perplexity, Muse and Grok answer questions about you; Mirror lists every claim, checks it against your site and writes an action plan. $0.03 per answer + $0.30 per report.

- **URL**: https://apify.com/raiselabs/shortlist-mirror-byok.md
- **Developed by:** [Burak Fenercioglu](https://apify.com/raiselabs) (community)
- **Categories:** AI, SEO tools
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 75.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 answer (your api key)s

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

### What AI tells people about your brand, on your own API keys

**Shortlist Mirror BYOK** asks ChatGPT, Claude, Gemini, Perplexity, Meta's Muse and Grok direct questions about a brand, product, market or submarket, using **your own API keys**. It lists **every claim** the answers make, checks the facts (pricing, plans, features, integrations, compliance) **against your own website**, and writes an action plan: **Drop, Add, Keep, Improve**.

BYOK ("bring your own key") is built for **agencies, SEO and GEO teams and developers** who already pay for AI APIs. Your providers bill you directly for the answers and the Claude analysis. We charge **$0.03 per answer + $0.30 per report**: **$2.10** for a default 12-question run on five engines, plus your provider costs.

It's the same engine as [Shortlist Mirror](https://apify.com/raiselabs/shortlist-mirror), which needs no keys and has a free snapshot.

#### What you get

- **Your action plan: Drop, Add, Keep, Improve.** Concrete steps, each with a priority, the effort and where to make the change. Every action rests on findings from your run; advice with no evidence is left out.
- **Site agreement (0–100%):** the share of AI's factual claims that match your own pages, overall and per engine.
- **Misconceptions:** the wrong claim, what your site says (with a link), the engines that repeat it and the sources they cite.
- **Unconfirmed claims:** things AI states that your site doesn't cover. Often content gaps.
- **Perception:** how each AI positions you, what you're known for, who you're best for, and which of your key messages AI never repeats.
- **Sentiment by engine** (1–5), **where engines disagree**, and **change over time** with a weekly schedule.
- **Official APIs, no scraping.** **Agent-ready** through Apify's MCP server.

#### Your API keys

| Key | Needed for | Required? |
|---|---|---|
| **Anthropic** (console.anthropic.com) | Writing the questions, reading every answer, the fact check and the action plan; Claude answers | **Yes** |
| OpenAI (platform.openai.com) | ChatGPT answers (web search on) | Optional |
| Google Gemini (aistudio.google.com) | Gemini answers with Google Search grounding (turn billing on) | Optional |
| Perplexity (perplexity.ai/settings/api) | Perplexity answers | Optional |
| Meta | Muse answers | Optional |
| xAI (console.x.ai) | Grok answers | Optional |

- Mirror BYOK asks **only the engines you have keys for**. Picked engines without a key are skipped, never failed. Leave **AI engines** empty to use every engine you added a key for.
- **Every key is checked before the run starts**, with a free "list models" call to each provider. A rejected key stops the run with a message naming it, and nothing is charged.
- **Keys stay secret.** They are Apify secret inputs (stored encrypted). Mirror BYOK never writes them to logs, datasets, key-value stores, reports or the suggested input, and redacts them from provider error messages. It keeps no shared answer cache: every answer comes fresh from your keys.
- Save your keys once in a **Task** to reuse them, e.g. with a weekly Schedule.

#### Quick start

```json
{
  "target": "Notion",
  "targetType": "brand",
  "anthropicApiKey": "sk-ant-…",
  "openaiApiKey": "sk-…"
}
```

`targetType` is `brand`, `product` (e.g. "Notion AI"), `market` (e.g. "CRM") or `submarket` (e.g. "CRM for dental clinics"). For markets, Mirror reports how AI defines the market, the prices it quotes, the buying criteria it stresses, the vendors it names and the myths it points out.

Optional: **Website to check against** (found automatically if empty), **Pages to check**, **Facts to check**, **Your own questions**, **Number of questions** (6–20), **engines**, **country**, **language** and a **Tracking ID** for week-over-week changes.

#### Pricing

| Run | What you pay us | What your providers bill you (typical) |
|---|---|---|
| **Full report**, 12 questions × 5 engines | **$2.10** (60 answers × $0.03 + $0.30) | About $3.60 for answers + $0.70 Claude analysis |
| Full report, 20 questions × 5 engines | $3.30 | About $6 + $1 analysis |
| Add Grok | +$0.03 per question | +$0.29 per question on average (up to $0.75) |
| **Suggest questions only** | **Free** | A few cents of Claude |

- **$0.03 per answer** (`byok-answer`), any engine, charged only when the answer succeeds.
- **$0.30 per report** (`byok-report`), once per full run, only after the answers have been read successfully. If no engine returns an answer, there is no report and no report charge.
- Provider costs are measured from a real 12-question run on Claude, ChatGPT, Gemini, Perplexity and Muse; they depend on your plans and the answers' length. Each report shows the estimated provider cost of that run.

#### How it works

1. **Questions.** Claude writes questions a person would really ask: identity, pricing, features, fit, reputation, trust and comparison (for markets: definition, pricing, criteria, leaders, myths, direction).
2. **Answers.** Each engine answers through its official API, with web search on, on your key.
3. **Claims.** Claude reads every answer and lists each distinct claim with an **exact quote**. A claim whose quote isn't really in the answer is dropped.
4. **Check.** Mirror reads up to 15 public pages of your site (obeying robots.txt, one request per second) and compares each factual claim with them **without telling Claude which AI made it**. *Matches* or *differs* stands only if its evidence is copied word for word from a page Mirror read; otherwise the claim is *your site doesn't say*.

**Site agreement v1** = claims that match ÷ (claims that match + claims that differ), factual claims only.

#### Output

- **Report (HTML):** one page you can share.
- **Claims dataset:** one row per claim: `claim`, `topic`, `kind`, `engines`, `mentions`, `reach`, `quotes`, `citedDomains`, `check` (`status`, `evidence`, `url`, `source`, `checkedAt`), `sensitive`, `severity`, `trend`.
- **SUMMARY (JSON):** site agreement, sentiment, perception, misconceptions, sources, the action plan, the diff since the last run, which keys were checked and which engines were skipped.
- **ANSWERS (JSON):** every raw answer with its citations.

#### Important: AI claims, not verified facts

- Everything Mirror reports is a statement **made by an AI assistant**, not a statement of fact by raiselabs. *Matches* and *differs* compare those statements with the reference you choose, which can be incomplete or out of date too.
- API answers can differ from what people see in the chat apps (models, personalization, location). Treat the results as a consistent, repeatable sample.
- **No people.** Targets that are people, private or public, are refused, and questions about individuals are removed. Claims about an individual's conduct, health or private life are left out.
- **Sensitive statements** (fraud, lawsuits, breaches, safety) are quoted as said, labelled *unverified*, and kept out of summaries and rankings.
- You are responsible for how you use or publish the results, and for your use of each AI provider under its terms. Statements about medical, financial or legal products aren't advice. Don't put personal data in the inputs.

# Actor input Schema

## `target` (type: `string`):

A brand, product, market or submarket, e.g. "Notion", "Notion AI", "CRM" or "CRM for dental clinics". Not people: Mirror checks brands, products and markets only.

## `targetType` (type: `string`):

Pick what the target is. Brands and products are checked against their own site; markets get definitions, prices, criteria and myths.

## `mode` (type: `string`):

Answers and analysis use your own API keys, so your AI providers bill you for them directly. We charge $0.03 per successful answer and $0.30 per report. Suggest is free.

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

console.anthropic.com. Required: Claude writes the questions, reads every answer, checks the claims against your site and writes the action plan. Also used for Claude answers when Claude is one of your engines. Stored encrypted by Apify; never logged, saved or shown in results.

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

platform.openai.com. Used for ChatGPT answers (Responses API with web search). Stored encrypted by Apify; never logged, saved or shown in results.

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

aistudio.google.com (billing must be on for Google Search grounding). Used for Gemini answers. Stored encrypted by Apify; never logged, saved or shown in results.

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

perplexity.ai/settings/api. Used for Perplexity answers (Agent API). Stored encrypted by Apify; never logged, saved or shown in results.

## `metaApiKey` (type: `string`):

Used for Muse (Meta AI) answers. Stored encrypted by Apify; never logged, saved or shown in results.

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

console.x.ai. Used for Grok answers. Grok is the most expensive engine on your xAI bill (up to about $0.75 per answer). Stored encrypted by Apify; never logged, saved or shown in results.

## `website` (type: `string`):

The official site or docs, e.g. notion.com. Claims like prices and features are compared with its public pages. Leave empty and Mirror finds it (the report says which site it used).

## `referencePages` (type: `array`):

Exact pages worth checking, e.g. /pricing, /security or https://docs.example.com. For a market, add any source you trust.

## `knownFacts` (type: `string`):

Facts you state, one per line, e.g. "Starts at $12 per user per month" or "SOC 2 Type II". Useful when your site loads with JavaScript. Shown in the report as 'per your input'.

## `parentMarket` (type: `string`):

For a submarket, the wider market (e.g. "CRM" for "CRM for dental clinics"). Optional; Mirror infers it.

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

Mirror BYOK asks the engines you pick AND have a key for; picked engines without a key are skipped. Leave empty to use every engine you added a key for. $0.03 per successful answer on any engine.

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

Replace the written questions with your own (up to 20). Questions about individual people are removed.

## `questionCount` (type: `integer`):

For the full report: 6 to 20 questions. Each question is asked once per engine ($0.03 per successful answer).

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

Two-letter country code passed to engines that support location.

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

Language for the written questions (e.g. en, de, fr).

## `trackingId` (type: `string`):

Set a stable ID (e.g. "notion-us") to compare each run with the previous one: misconceptions fixed or new, sentiment moves. Use it with a saved Task and a weekly Schedule.

## Actor input object example

```json
{
  "target": "Notion",
  "targetType": "brand",
  "mode": "full",
  "questionCount": 12,
  "country": "US",
  "language": "en"
}
```

# Actor output Schema

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

One-page report: perception, misconceptions, sources and every claim.

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

Site agreement, sentiment, perception, misconceptions and sources.

## `claims` (type: `string`):

One row per claim, with quotes, sources and the check against your site.

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

Every AI answer with its citations.

# 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 = {
    "target": "Notion",
    "mode": "full"
};

// Run the Actor and wait for it to finish
const run = await client.actor("raiselabs/shortlist-mirror-byok").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 = {
    "target": "Notion",
    "mode": "full",
}

# Run the Actor and wait for it to finish
run = client.actor("raiselabs/shortlist-mirror-byok").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 '{
  "target": "Notion",
  "mode": "full"
}' |
apify call raiselabs/shortlist-mirror-byok --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,raiselabs/shortlist-mirror-byok"
        }
    }
}
```

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/jSwDR6hYlu98lUUZk/builds/pG0HJRqmUHPyFOii3/openapi.json
