{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Brand Visibility Monitor — ChatGPT, Claude, Gemini (GEO)",
    "description": "Track your brand's visibility across ChatGPT, Claude, Gemini & Perplexity (GEO/AEO). Ask the AIs your buyers' questions, get a visibility score, mention position, competitor share & Perplexity citations. Uses official APIs with your own keys. $20 per 1,000 checks; failed calls never charged.",
    "version": "0.1",
    "x-build-id": "E9c7mouUBvjvP1TPI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bikram07~ai-brand-visibility-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bikram07-ai-brand-visibility-monitor",
        "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/bikram07~ai-brand-visibility-monitor/runs": {
      "post": {
        "operationId": "runs-sync-bikram07-ai-brand-visibility-monitor",
        "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/bikram07~ai-brand-visibility-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-bikram07-ai-brand-visibility-monitor",
        "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",
        "required": [
          "brandName",
          "prompts"
        ],
        "properties": {
          "brandName": {
            "title": "Brand name",
            "type": "string",
            "description": "The brand to look for in AI answers. Matching is case-insensitive with word boundaries, so <b>Acme</b> matches \"acme\" but not \"Acmeify\"."
          },
          "brandDomain": {
            "title": "Brand domain (optional)",
            "type": "string",
            "description": "Your website domain, e.g. <b>example.com</b>. Used to check whether Perplexity cites your site as a source. Scheme and www. are ignored."
          },
          "competitors": {
            "title": "Competitors (optional, max 5)",
            "maxItems": 5,
            "type": "array",
            "description": "Competitor brand names to track alongside your brand. Used for the \"brand first\" signal and competitor share in the summary.",
            "items": {
              "type": "string"
            }
          },
          "prompts": {
            "title": "Prompts to ask each AI",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "The questions your customers would ask an AI assistant, e.g. \"best web scraping tools 2026\". Each prompt is sent to every selected provider.",
            "items": {
              "type": "string"
            }
          },
          "providers": {
            "title": "AI providers to check",
            "uniqueItems": true,
            "type": "array",
            "description": "Which AI assistants to query. You must supply an API key below for every selected provider.",
            "items": {
              "type": "string",
              "enum": [
                "openai",
                "anthropic",
                "gemini",
                "perplexity"
              ],
              "enumTitles": [
                "OpenAI (ChatGPT models)",
                "Anthropic (Claude)",
                "Google Gemini",
                "Perplexity (Sonar, with citations)"
              ]
            },
            "default": [
              "openai"
            ]
          },
          "openaiApiKey": {
            "title": "OpenAI API key",
            "type": "string",
            "description": "Your OpenAI API key (platform.openai.com). Stored encrypted by Apify, decrypted only inside the run, never logged, never stored in the dataset."
          },
          "anthropicApiKey": {
            "title": "Anthropic API key",
            "type": "string",
            "description": "Your Anthropic API key (platform.claude.com). Encrypted at rest, never logged."
          },
          "geminiApiKey": {
            "title": "Google Gemini API key",
            "type": "string",
            "description": "Your Gemini API key (aistudio.google.com). Encrypted at rest, never logged."
          },
          "perplexityApiKey": {
            "title": "Perplexity API key",
            "type": "string",
            "description": "Your Perplexity API key (perplexity.ai/settings/api). Encrypted at rest, never logged."
          },
          "openaiModel": {
            "title": "OpenAI model",
            "type": "string",
            "description": "OpenAI model ID. Default <b>gpt-5-mini</b> is cheap and current. Note: GPT-5 family models ignore the temperature setting (only the default is supported); the Actor handles this automatically.",
            "default": "gpt-5-mini"
          },
          "anthropicModel": {
            "title": "Anthropic model",
            "type": "string",
            "description": "Anthropic model ID. Default <b>claude-haiku-4-5</b> is the cheapest current Claude model.",
            "default": "claude-haiku-4-5"
          },
          "geminiModel": {
            "title": "Gemini model",
            "type": "string",
            "description": "Gemini model ID. Default <b>gemini-3.5-flash</b> is the current fast/cheap Gemini model.",
            "default": "gemini-3.5-flash"
          },
          "perplexityModel": {
            "title": "Perplexity model",
            "type": "string",
            "description": "Perplexity model ID. Default <b>sonar</b> is the cheapest search-grounded model and returns citations.",
            "default": "sonar"
          },
          "temperature": {
            "title": "Temperature",
            "minimum": 0,
            "maximum": 2,
            "type": "number",
            "description": "Sampling temperature passed to each provider (clamped to 0–1 for Anthropic). GPT-5 family models only support their default temperature; for those the Actor automatically omits it.",
            "default": 0.7
          },
          "runsPerPrompt": {
            "title": "Runs per prompt",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "How many times to ask each provider the same prompt. AI answers vary between runs — 2–3 runs give a more reliable visibility signal. Each run is one charged check.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}