{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Visibility Tracker: ChatGPT, Perplexity & AI Overviews",
    "description": "Track whether ChatGPT, Perplexity, Gemini, Claude, Grok and Google's AI Overview name and cite your brand, by country. Newest models every run. Answers, cited sources, mention rate and citation share. $0.10 per answer; no-overview questions free.",
    "version": "0.2",
    "x-build-id": "Z6C8fxiVsLdRCalSk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zaiq~ai-answer-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zaiq-ai-answer-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/zaiq~ai-answer-tracker/runs": {
      "post": {
        "operationId": "runs-sync-zaiq-ai-answer-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/zaiq~ai-answer-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-zaiq-ai-answer-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",
        "required": [
          "prompts",
          "engines"
        ],
        "properties": {
          "prompts": {
            "title": "Questions",
            "type": "array",
            "description": "Questions your buyers ask, one per line, as they would type them into an AI assistant or Google.",
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Brands to track",
            "type": "array",
            "description": "One per line: a brand name, a domain, or both as 'Name | domain.com'. Each answer is checked for whether the brand is named and whether its site is cited.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "AI engines",
            "type": "array",
            "description": "Each AI assistant answers through its official API with live web search, using the company's newest model unless you name one under Advanced. Google AI Overview is read from Google's own results page for the question in your country; questions without an overview are free.",
            "items": {
              "type": "string",
              "enum": [
                "openai",
                "perplexity",
                "gemini",
                "claude",
                "grok",
                "google-ai-overview"
              ],
              "enumTitles": [
                "ChatGPT (OpenAI GPT, newest model, web search)",
                "Perplexity (Sonar, web search)",
                "Google Gemini (newest Flash, Google Search grounding)",
                "Anthropic Claude (newest Sonnet, web search)",
                "xAI Grok (newest model, web and X search)",
                "Google AI Overview (Google's results page)"
              ]
            },
            "default": [
              "openai",
              "perplexity",
              "google-ai-overview"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "The searcher's country (two-letter code). ChatGPT, Perplexity, Claude and Grok search as from there and Google's AI Overview is read from that country's Google; Gemini does not take a location.",
            "default": "US"
          },
          "language": {
            "title": "Google language (optional)",
            "type": "string",
            "description": "Language of Google's results page, e.g. en, de, fr, pt-BR. Empty: the country's usual language."
          },
          "runsPerPrompt": {
            "title": "Runs per question",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "AI answers vary from run to run. Use 3 or more for a stable mention rate; 1 for a quick look.",
            "default": 1
          },
          "openaiModel": {
            "title": "ChatGPT / OpenAI model",
            "type": "string",
            "description": "OpenRouter model id. Empty: the newest in the family at run time (on 12 Oct 2026: openai/gpt-6.1-sol)."
          },
          "perplexityModel": {
            "title": "Perplexity model",
            "type": "string",
            "description": "OpenRouter model id. Empty: the newest in the family at run time (on 12 Oct 2026: perplexity/sonar-pro-search)."
          },
          "geminiModel": {
            "title": "Gemini model",
            "type": "string",
            "description": "OpenRouter model id. Empty: the newest in the family at run time (on 12 Oct 2026: google/gemini-3.8-flash)."
          },
          "claudeModel": {
            "title": "Claude model",
            "type": "string",
            "description": "OpenRouter model id. Empty: the newest in the family at run time (on 12 Oct 2026: anthropic/claude-sonnet-5.5)."
          },
          "grokModel": {
            "title": "Grok model",
            "type": "string",
            "description": "OpenRouter model id. Empty: the newest in the family at run time (on 12 Oct 2026: x-ai/grok-4.7)."
          },
          "maxAnswerTokens": {
            "title": "Longest answer (tokens)",
            "minimum": 500,
            "maximum": 2048,
            "type": "integer",
            "description": "Searching uses part of this budget; below about 1,500 some engines return empty answers.",
            "default": 2000
          },
          "maxConcurrency": {
            "title": "Questions at once",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many answers are requested at the same time.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}