{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Citation Outreach Finder: Source Pages & Contact Routes",
    "description": "Find AI-cited pages naming competitors but not your brand, with public business contact routes, an HTML report and run comparisons. Rivals' own pages are free. $0.10 per read page plus $0.025 per sourced model answer or $0.04 per Google overview. AI usage separate.",
    "version": "0.1",
    "x-build-id": "PW61ybczURrTuUEFA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zaiq~ai-citation-outreach/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zaiq-ai-citation-outreach",
        "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-citation-outreach/runs": {
      "post": {
        "operationId": "runs-sync-zaiq-ai-citation-outreach",
        "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-citation-outreach/run-sync": {
      "post": {
        "operationId": "run-sync-zaiq-ai-citation-outreach",
        "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": "Your brand",
            "type": "string",
            "description": "The brand whose absence from cited pages you want to find. Name matching is literal; add aliases separately."
          },
          "domains": {
            "title": "Your domains",
            "type": "array",
            "description": "Domains owned by your brand, without paths. Used for literal matching and to exclude your own pages from outreach targets.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "brandAliases": {
            "title": "Other names for your brand",
            "type": "array",
            "description": "Optional spelling variants. Do not add common category words unless they really identify your brand.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "competitors": {
            "title": "Competitors",
            "type": "array",
            "description": "Up to 20 names or Name | domain entries. Domains identify competitor-owned pages.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "prompts": {
            "title": "Buyer questions",
            "type": "array",
            "description": "Up to 30 exact buyer questions. Leave prompts and topics empty to generate questions from a website and category.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Alternative to prompts. Each topic becomes a neutral comparison question with independent sources.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "website": {
            "title": "Website for question generation",
            "type": "string",
            "description": "Used with category only when prompts and topics are empty. One model call generates neutral buyer questions from public website text."
          },
          "category": {
            "title": "Product or service category",
            "type": "string",
            "description": "Required with website when generating questions, for example small-business CRM software."
          },
          "questionCount": {
            "title": "Generated questions",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of questions to request in the single generation call.",
            "default": 5
          },
          "engines": {
            "title": "AI search engines",
            "type": "array",
            "description": "Assistant results come from model APIs with web search and may differ from consumer apps. Google AI Overviews use Google's results pages and cost $0.04 per readable sourced overview. Model answers with usable citations cost $0.025 each; model usage is separate.",
            "items": {
              "type": "string",
              "enum": [
                "openai",
                "perplexity",
                "gemini",
                "claude",
                "google-ai-overview"
              ],
              "enumTitles": [
                "ChatGPT models",
                "Perplexity",
                "Gemini",
                "Claude",
                "Google AI Overviews"
              ]
            },
            "default": [
              "perplexity"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code for model search location where supported and Google results. Gemini may not honor country. Citation pages are read as public pages; direct requests are not geographically forced.",
            "default": "US"
          },
          "language": {
            "title": "Answer language",
            "type": "string",
            "description": "Language code, for example en. Applied to the question and Google results. Page language is reported only when declared in HTML.",
            "default": "en"
          },
          "maxPages": {
            "title": "Maximum cited pages",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Up to 500 cited pages, most cited first, with product, pricing and help pages last. Pages on your own and your competitors' sites are skipped and free. All citations stay in ANSWERS.",
            "default": 20
          },
          "includeContacts": {
            "title": "Find business contact routes",
            "type": "boolean",
            "description": "Find public contact pages, visible enquiry forms and generic same-site business emails. No author lookup, personal contact details or messages. At most ten requests per site including robots, redirects and retries.",
            "default": true
          },
          "includeTranco": {
            "title": "Add domain popularity",
            "type": "boolean",
            "description": "Read the public Tranco top-million list once over a direct connection. Popularity is a proxy, not editorial quality; unlisted or unavailable ranks are null.",
            "default": true
          },
          "includeCompetitorPages": {
            "title": "Include competitor pages",
            "type": "boolean",
            "description": "Also read and charge for cited pages on your own, your competitors' and Wikipedia's sites. Off by default, because they cannot be outreach targets. They always count in Most cited domains.",
            "default": false
          },
          "historyStore": {
            "title": "History store name",
            "type": "string",
            "description": "Optional name, 3–50 letters, digits, underscores or hyphens. Identical input settings share a baseline in a named key-value store. Incomplete runs do not replace the last complete baseline. Schedule one run at a time for a history store."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}