{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Visibility & ChatGPT Rank Tracker: GEO Audit + AI Mode",
    "description": "Is ChatGPT sending you buyers? AI visibility tracker and GEO / AEO audit for shops and companies: enter a domain, it asks ChatGPT and Google AI Mode your buyers' questions several times and shows if you are named, who instead and what to change.",
    "version": "1.1",
    "x-build-id": "rEhr8B65eltCcaynb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/reliable_tools~ai-visibility-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-reliable_tools-ai-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/reliable_tools~ai-visibility-tracker/runs": {
      "post": {
        "operationId": "runs-sync-reliable_tools-ai-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/reliable_tools~ai-visibility-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-reliable_tools-ai-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": {
          "domain": {
            "title": "Your website (the only field you need)",
            "type": "string",
            "description": "Domain to audit. Example: \"yourshop.com\". A full page address (\"https://yourshop.com/products/x\") audits only the searches that page ranks for. Everything else is detected: brand, what you sell, kind of business, country, language, the searches that matter."
          },
          "mode": {
            "title": "Depth",
            "enum": [
              "quick",
              "deep"
            ],
            "type": "string",
            "description": "\"quick\" (default): up to 10 searches, ChatGPT + Google AI Mode, each question asked 3 times, 2 to 4 minutes, about $2.50, fits a synchronous API call. \"deep\": up to 25 searches, each question 5 times, plus the plain search term as a second question, more pages compared, up to 10 of your domains; takes 10 to 25 minutes. Free Apify plan: always a preview with 3 searches, 2 engines, 1 sample each (6 answers), 1 page comparison and 3 cards; quick and deep need a paid plan.",
            "default": "quick"
          },
          "maxKeywords": {
            "title": "Searches to audit",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many searches get an action card. Empty = 10 (quick) or 25 (deep). Example: 5 for a first look at about $1.40. Fewer real buyer searches are returned rather than padded ones. Free Apify plan: at most 3."
          },
          "brand": {
            "title": "Brand name",
            "type": "string",
            "description": "How AI answers would write your company name. Example: \"Acme Roofing\". Empty = read from your homepage. Set it when the company name differs from the domain, otherwise mentions are missed."
          },
          "brandAliases": {
            "title": "Other names for your brand",
            "type": "array",
            "description": "Other names that count as you: short names, old names, product lines. Example: [\"Acme\", \"Acme Dach GmbH\"].",
            "items": {
              "type": "string"
            }
          },
          "ownDomains": {
            "title": "Your other domains",
            "type": "array",
            "description": "Your other websites, so that citations of any of them count as yours. Example: [\"acme-roofing.de\", \"acme.co.uk\"]. In deep mode their rankings are discovered too (up to 10 domains, $0.10 each).",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Your own search terms (optional)",
            "type": "array",
            "description": "Empty (recommended) = the audit finds the buyer searches itself: from your Google rankings and from the services on your site. To use your own, one per line: \"search term | monthly searches | click price\"; the two numbers are optional and looked up when missing. Example: [\"roof repair berlin | 880 | 6.20\", \"flat roof sealing\"].",
            "items": {
              "type": "string"
            }
          },
          "prompts": {
            "title": "Your own questions (optional)",
            "type": "array",
            "description": "Full questions exactly as a buyer would ask an AI assistant, asked in addition to the generated ones. Example: [\"Which roofing company in Berlin does emergency repairs?\"]. In legacy mode (own API keys, no domain) these are the prompts that are tracked.",
            "items": {
              "type": "string"
            }
          },
          "pinnedQuestions": {
            "title": "Pinned questions from an earlier run (optional)",
            "type": "array",
            "description": "To compare two runs the questions must be word for word the same. Every run returns \"rerunInput\" in the OUTPUT record: pass it as the input of the next run. Format per line: \"search term => question\".",
            "items": {
              "type": "string"
            }
          },
          "infoKeywords": {
            "title": "Information searches among your own search terms (optional)",
            "type": "array",
            "description": "Only with your own \"keywords\": the terms listed here are asked as knowledge questions (\"what is ...?\") and reported apart as information visibility instead of as buyer questions. Example: [\"lightning protection class 2\"]. \"rerunInput\" fills this for you.",
            "items": {
              "type": "string"
            }
          },
          "businessType": {
            "title": "Kind of business",
            "enum": [
              "auto",
              "ecommerce",
              "service_provider",
              "lead_gen",
              "local",
              "saas",
              "content"
            ],
            "type": "string",
            "description": "Decides which questions are asked and which statements your pages are checked for. \"auto\" (default) reads it from your homepage and navigation. Set it when the report shows the wrong kind.",
            "default": "auto"
          },
          "offer": {
            "title": "What you sell (optional)",
            "type": "string",
            "description": "What you sell, in one plain phrase. Example: \"lightning protection, electrical inspections and PV systems for commercial buildings\". Empty = read from your homepage, navigation and ranking pages."
          },
          "serviceArea": {
            "title": "Where you work (optional)",
            "type": "string",
            "description": "Region, cities or country you serve. Example: \"Saxony\" or \"Greater Manchester\". Only when you set it, the buyer questions of service providers and local businesses are asked for that area (\"... in Saxony\"). Empty (default) = questions without a place; the area the site itself names is shown in the summary as \"serviceAreaDetected\"."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code of your market. Example: \"US\", \"GB\", \"DE\". Empty = guessed from the domain ending and the page language."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of the questions, as a code or a name. Example: \"en\", \"de\", \"German\". Empty = guessed. The report is written in German for German, otherwise in English."
          },
          "samplesPerQuestion": {
            "title": "Times each question is asked",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How often each question is asked per engine. AI answers change from run to run, so the result is a share with its plausible range. Empty = 3 (quick) or 5 (deep). More samples: tighter ranges, higher cost, longer run. Free Apify plan: always 1."
          },
          "engines": {
            "title": "AI engines",
            "type": "array",
            "description": "Where the questions are asked. Empty = [\"chatgpt_ui\", \"google_ai_mode\"]. \"chatgpt_api\" is an optional extra that runs on your own OpenAI key only (field \"OpenAI API key\"; OpenAI bills you for the answers): the API names fewer brands than the ChatGPT app shows. Without your key it is left out. Not on the free Apify plan.",
            "items": {
              "type": "string",
              "enum": [
                "chatgpt_ui",
                "google_ai_mode",
                "chatgpt_api"
              ],
              "enumTitles": [
                "ChatGPT as a logged-out user sees it",
                "Google AI Mode",
                "ChatGPT model with web search (official API, your own OpenAI key)"
              ]
            }
          },
          "clickValue": {
            "title": "What one visitor is worth to you (optional)",
            "type": "number",
            "description": "Your average profit per website visitor (conversion rate x profit per order or request). Example: 4.5. With it the cards show the value per month and the Ads advice knows when a click costs more than it earns."
          },
          "currency": {
            "title": "Currency label",
            "type": "string",
            "description": "Label shown next to money values. Example: \"EUR\". Google click prices come in USD.",
            "default": "USD"
          },
          "revenuePer1000Visits": {
            "title": "Publishers: revenue per 1,000 visits",
            "minimum": 0,
            "type": "number",
            "description": "Only for content sites and publishers (ads, affiliate, subscriptions). If set, the extra visits at position 2 are turned into money. Without it the audit shows visits only: a publisher gets no ads equivalent."
          },
          "comparePages": {
            "title": "Compare your pages with the pages the AI cites",
            "type": "boolean",
            "description": "true (default): reads up to 3 of your pages and the pages the AI cites for the same searches, and lists what they say that yours do not ($0.05 per page read). Free Apify plan: 1 comparison.",
            "default": true
          },
          "searchIntentKeywords": {
            "title": "Search intent and page outline for the top N searches",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "For the N most valuable buyer searches: reads the top 5 Google results and the AI Overview and proposes an H2/H3 outline for your page ($0.15 each, adds about 30 seconds each). 0 = off (default). Not on the free Apify plan.",
            "default": 0
          },
          "freePlanPreview": {
            "title": "Preview the free-plan limits",
            "type": "boolean",
            "description": "true: run with the limits of the free Apify plan on any plan (3 searches, 2 engines, 1 sample each = 6 answers, 1 page comparison, 3 cards). Useful to see what a free run returns, or for a cheap smoke test. It can only make a run smaller.",
            "default": false
          },
          "useCache": {
            "title": "Reuse Google data (24 h) and decisions (30 days)",
            "type": "boolean",
            "description": "Google result pages, rankings and search volumes from the last 24 hours, and what was judged for your site in the last 30 days (profile, which searches count, questions), are reused, so reruns are cheaper and measure the same searches with the same questions. AI answers are always fresh. Stored in a named key-value store \"ai-visibility-tracker-cache\" in your account. Turn off to fetch and judge everything again.",
            "default": true
          },
          "competitors": {
            "title": "Competitors (legacy mode)",
            "type": "array",
            "description": "Legacy mode only: competitor brands to watch for in the answers.",
            "items": {
              "type": "string"
            }
          },
          "templates": {
            "title": "Prompt templates (legacy mode)",
            "type": "array",
            "description": "Legacy mode only: ready-made shopping prompts filled with your brand, category, price and competitors.",
            "items": {
              "type": "string",
              "enum": [
                "best_category",
                "best_under_price",
                "top_brands",
                "brand_vs_competitor",
                "alternatives",
                "is_brand_worth_it",
                "best_for_use"
              ],
              "enumTitles": [
                "Best {category}",
                "Best {category} under {price}",
                "Which {category} brands do you recommend",
                "{brand} vs {competitor}",
                "Alternatives to {brand}",
                "Is {brand} worth buying",
                "Best {category} for {use case}"
              ]
            }
          },
          "category": {
            "title": "Product category (legacy mode)",
            "type": "string",
            "description": "Legacy mode only: used by the templates, for example running shoes."
          },
          "price": {
            "title": "Price limit (legacy mode)",
            "type": "string",
            "description": "Legacy mode only: used by the \"under {price}\" template."
          },
          "useCase": {
            "title": "Use case (legacy mode)",
            "type": "string",
            "description": "Legacy mode only: used by the \"best for\" template."
          },
          "brandDomain": {
            "title": "Your website domain (legacy mode)",
            "type": "string",
            "description": "Legacy mode only: each row tells you whether the answer cited a page from this domain."
          },
          "openaiApiKey": {
            "title": "OpenAI API key (for the ChatGPT API engine, and legacy mode)",
            "type": "string",
            "description": "Your own OpenAI key, stored encrypted, only used in this run, billed by OpenAI to your account. With a domain: needed only if you add \"chatgpt_api\" to the AI engines. Without a domain: starts the legacy prompt tracker."
          },
          "perplexityApiKey": {
            "title": "Perplexity API key (legacy mode)",
            "type": "string",
            "description": "Legacy mode only. Your own Perplexity key, stored encrypted, only used in this run."
          },
          "geminiApiKey": {
            "title": "Google Gemini API key (legacy mode)",
            "type": "string",
            "description": "Legacy mode only. Your own key from Google AI Studio. Gemini answers from model knowledge without Google Search."
          },
          "openaiModel": {
            "title": "OpenAI model (legacy mode)",
            "type": "string",
            "description": "Legacy mode only. Any OpenAI model that supports the web search tool.",
            "default": "gpt-5.4-mini"
          },
          "perplexityModel": {
            "title": "Perplexity model (legacy mode)",
            "type": "string",
            "description": "Legacy mode only, for example sonar or sonar-pro.",
            "default": "sonar"
          },
          "geminiModel": {
            "title": "Gemini model (legacy mode)",
            "type": "string",
            "description": "Legacy mode only. Any Gemini model that supports generateContent.",
            "default": "gemini-flash-latest"
          },
          "maxPrompts": {
            "title": "Max prompts (legacy mode)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Legacy mode only: safety cap on the number of prompts per run.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}