{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Search Visibility Tracker: ChatGPT Claude Gemini Perplexity",
    "description": "AI search visibility tracker for GEO/AEO: see how often ChatGPT, Claude, Gemini and Perplexity mention and rank your brand vs competitors. Mention rate, share of voice, cited sources. Official APIs with web search, N samples per engine. Pay per answer from $0.015.",
    "version": "1.0",
    "x-build-id": "2QOqRp2rhwLazNt3f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lone_fascia~ai-search-visibility/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lone_fascia-ai-search-visibility",
        "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/lone_fascia~ai-search-visibility/runs": {
      "post": {
        "operationId": "runs-sync-lone_fascia-ai-search-visibility",
        "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/lone_fascia~ai-search-visibility/run-sync": {
      "post": {
        "operationId": "run-sync-lone_fascia-ai-search-visibility",
        "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": [
          "brand",
          "questions"
        ],
        "properties": {
          "brand": {
            "title": "Your brand",
            "type": "string",
            "description": "Your brand name as people write it. Matched case-insensitively as a whole word (e.g. \"Kit\" does not match \"ConvertKit\"). Add other spellings under Aliases."
          },
          "questions": {
            "title": "Questions",
            "maxItems": 50,
            "type": "array",
            "description": "Questions a buyer would ask an AI assistant, one per line (max 50). Don't include your own brand name in the question. Each question is asked to every selected engine samplesPerEngine times: number of answers = questions × engines × samples.",
            "items": {
              "type": "string"
            }
          },
          "competitors": {
            "title": "Competitors",
            "maxItems": 25,
            "type": "array",
            "description": "Competitor brands to track exactly (max 25). Brands you don't list are still detected heuristically as untracked brands.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "AI engines",
            "uniqueItems": true,
            "type": "array",
            "description": "Which AI engines to ask. Each is called through its official API with the provider's own web search turned on. Price differs per engine (see Pricing).",
            "items": {
              "type": "string",
              "enum": [
                "chatgpt",
                "claude",
                "gemini",
                "perplexity"
              ],
              "enumTitles": [
                "ChatGPT (openai/gpt-6-luna)",
                "Claude (anthropic/claude-haiku-5.5)",
                "Gemini (google/gemini-3.5-flash-lite)",
                "Perplexity (perplexity/sonar)"
              ]
            },
            "default": [
              "chatgpt",
              "claude",
              "gemini",
              "perplexity"
            ]
          },
          "samplesPerEngine": {
            "title": "Samples per engine",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many times each question is asked to each engine. AI answers vary between runs, so several samples give a mention rate instead of a single lucky or unlucky answer. With 3 samples a single question × engine rate is 0%, 33%, 67% or 100%.",
            "default": 3
          },
          "aliases": {
            "title": "Aliases",
            "type": "object",
            "description": "Alternate spellings per brand. Keys must equal your brand or a competitor exactly as entered above, e.g. {\"1Password\": [\"1 Password\"], \"Proton Pass\": [\"ProtonPass\"]}.",
            "default": {}
          },
          "brandDomains": {
            "title": "Your domains",
            "type": "array",
            "description": "Your website domains, to count answers that cite your own site (subdomains are included).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "completeAnswerHint": {
            "title": "Complete-answer prompt line",
            "enum": [
              "all",
              "chatgpt",
              "none"
            ],
            "type": "string",
            "description": "Adds the same neutral line \"Then give a complete answer that lists the main options.\" to the question. 'all' (default) keeps the four engines comparable; without it, some engines occasionally reply with one or two sentences. The exact prompt sent is saved on every row.",
            "default": "all"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}