{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Brand Visibility Tracker",
    "description": "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.",
    "version": "0.1",
    "x-build-id": "MS8S4pw4Q4FMjU7jC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dami_studio~ai-brand-visibility-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dami_studio-ai-brand-visibility-tracker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/dami_studio~ai-brand-visibility-tracker/runs": {
      "post": {
        "operationId": "runs-sync-dami_studio-ai-brand-visibility-tracker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/dami_studio~ai-brand-visibility-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-dami_studio-ai-brand-visibility-tracker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "brand": {
            "title": "Brand",
            "type": "string",
            "description": "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": {
            "title": "Other names for the brand",
            "type": "array",
            "description": "Other spellings and product names that count as the brand, one per line. Up to 10.",
            "items": {
              "type": "string"
            }
          },
          "brandDomains": {
            "title": "Brand websites",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "competitors": {
            "title": "Competitors",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "prompts": {
            "title": "Questions",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "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": {
            "title": "Question templates",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "best",
                "alternatives",
                "comparison",
                "review",
                "recommendation",
                "use_case",
                "how_to"
              ],
              "enumTitles": [
                "Best options in the category",
                "Alternatives to the brand",
                "Brand or competitor: which to choose",
                "Is the brand any good",
                "A recommendation for a small business",
                "A use case: a team of 10",
                "How to choose one"
              ]
            },
            "default": []
          },
          "promptVariants": {
            "title": "Extra wordings per question",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "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.",
            "default": 0
          },
          "answerLanguage": {
            "title": "Answer language",
            "type": "string",
            "description": "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": {
            "title": "AI assistants",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "chatgpt",
                "perplexity",
                "gemini",
                "claude",
                "grok",
                "deepseek",
                "google-ai-overview",
                "google-ai-mode",
                "copilot"
              ],
              "enumTitles": [
                "ChatGPT",
                "Perplexity",
                "Gemini",
                "Claude",
                "Grok",
                "DeepSeek",
                "Google AI Overview",
                "Google AI Mode",
                "Microsoft Copilot"
              ]
            },
            "default": [
              "chatgpt",
              "perplexity",
              "gemini"
            ]
          },
          "customModels": {
            "title": "Other models",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "webSearch": {
            "title": "Search the web",
            "type": "boolean",
            "description": "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.",
            "default": true
          },
          "country": {
            "title": "Search as from",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "BE",
              "CH",
              "AT",
              "SE",
              "NO",
              "DK",
              "FI",
              "PL",
              "PT",
              "CZ",
              "RO",
              "HU",
              "GR",
              "TR",
              "IL",
              "AE",
              "SA",
              "IN",
              "SG",
              "MY",
              "ID",
              "PH",
              "TH",
              "VN",
              "JP",
              "KR",
              "TW",
              "HK",
              "CN",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "PE",
              "ZA",
              "NG",
              "EG",
              "KE",
              "UA",
              "ANY"
            ],
            "type": "string",
            "description": "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.",
            "default": "US"
          },
          "runsPerPrompt": {
            "title": "Runs per question",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "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.",
            "default": 1
          },
          "analyzeAnswers": {
            "title": "Read each answer for sentiment",
            "type": "boolean",
            "description": "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.",
            "default": true
          },
          "includeAiSearchVolume": {
            "title": "AI search volume per question",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "includeReport": {
            "title": "Write a report page",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "checkCitedPages": {
            "title": "Read the most cited pages",
            "minimum": 0,
            "maximum": 12,
            "type": "integer",
            "description": "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.",
            "default": 0
          },
          "projectName": {
            "title": "Project name",
            "type": "string",
            "description": "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": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. When the run ends, its summary (and changes, with a project name) is sent here as JSON in a POST request."
          },
          "maxAiSpendUsd": {
            "title": "Maximum AI usage (USD)",
            "minimum": 0.01,
            "maximum": 500,
            "type": "number",
            "description": "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.",
            "default": 2
          },
          "apifyPlan": {
            "title": "Your Apify plan",
            "enum": [
              "FREE",
              "BRONZE",
              "SILVER",
              "GOLD"
            ],
            "type": "string",
            "description": "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.",
            "default": "FREE"
          },
          "maxAnswers": {
            "title": "Maximum answers",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "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.",
            "default": 300
          },
          "maxConcurrency": {
            "title": "Questions at once",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many questions are in flight at the same time.",
            "default": 4
          },
          "planOnly": {
            "title": "Show the plan only",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "openrouterApiKey": {
            "title": "Your OpenRouter API key",
            "type": "string",
            "description": "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": {
            "title": "ChatGPT model",
            "type": "string",
            "description": "Optional: pin a model id instead of the newest, like \"openai/gpt-6.1-sol\"."
          },
          "perplexityModel": {
            "title": "Perplexity model",
            "type": "string",
            "description": "Optional: pin a model id, like \"perplexity/sonar-deep-research\"."
          },
          "geminiModel": {
            "title": "Gemini model",
            "type": "string",
            "description": "Optional: pin a model id, like \"google/gemini-4-argon\"."
          },
          "claudeModel": {
            "title": "Claude model",
            "type": "string",
            "description": "Optional: pin a model id, like \"anthropic/claude-opus-5.5\"."
          },
          "grokModel": {
            "title": "Grok model",
            "type": "string",
            "description": "Optional: pin a model id, like \"x-ai/grok-4.6\"."
          },
          "deepseekModel": {
            "title": "DeepSeek model",
            "type": "string",
            "description": "Optional: pin a model id, like \"deepseek/deepseek-v4-flash-0731\"."
          },
          "analysisModel": {
            "title": "Model that reads the answers",
            "type": "string",
            "description": "Optional: the model that reads each answer for sentiment and writes extra wordings. Empty uses a small, low-cost model."
          },
          "maxAnswerLength": {
            "title": "Longest answer (tokens)",
            "minimum": 256,
            "maximum": 2048,
            "type": "integer",
            "description": "The most an assistant may write per answer, in tokens (a token is about three quarters of a word). 2,048 is the ceiling.",
            "default": 1500
          },
          "searchContextSize": {
            "title": "Search depth",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "How much the web search reads before answering. Deeper reads more pages and costs more AI usage.",
            "default": "medium"
          },
          "reasoningEffort": {
            "title": "Thinking effort",
            "enum": [
              "default",
              "minimal",
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "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.",
            "default": "low"
          },
          "answerText": {
            "title": "Answer text in the rows",
            "enum": [
              "full",
              "excerpt",
              "none"
            ],
            "type": "string",
            "description": "Keep the whole answer, its first 800 characters, or none of it. The counts and positions are always worked out from the whole answer.",
            "default": "full"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}