{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Tech Gap Scanner – Missing Pixel, Chat, Booking, CRM",
    "description": "Website tech gap scanner for agency leads: checks each site for analytics, ad pixels, tag manager, live chat, online booking, CRM, email marketing, payments, call tracking, cookie banner, HTTPS and mobile viewport. Gap score, filter \"only sites missing X\". $0.50 per 1,000 sites.",
    "version": "0.1",
    "x-build-id": "qVOrooqtYxoQEiX2l"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~website-tech-gap-scanner/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-website-tech-gap-scanner",
        "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/gazidev~website-tech-gap-scanner/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-website-tech-gap-scanner",
        "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/gazidev~website-tech-gap-scanner/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-website-tech-gap-scanner",
        "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": {
          "domains": {
            "title": "Websites",
            "type": "array",
            "description": "Domains or URLs, one per line. Only the host is used: the home page is scanned. Duplicates are skipped; invalid values and social profile links get a free row.",
            "default": [
              "allbirds.com",
              "basecamp.com",
              "moz.com",
              "calendly.com",
              "example.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "…or read websites from an Apify dataset",
            "type": "string",
            "description": "Chain this Actor after a Google Maps, directory or lead scraper: pick its dataset. In an integration use {{resource.defaultDatasetId}}. The sample websites above are then ignored."
          },
          "field": {
            "title": "Dataset field with the website",
            "type": "string",
            "description": "Column that holds the website, e.g. `website` (dots for nested fields). Empty = first filled field of: website, domain, url, websiteUrl, website_url, homepage, site, companyWebsite, web."
          },
          "onlyMissing": {
            "title": "Only output sites missing…",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only sites where ALL the selected capabilities were not found. Other sites are left out and cost the small `site-filtered` event instead of the full price.",
            "items": {
              "type": "string",
              "enum": [
                "analytics",
                "adPixels",
                "tagManager",
                "liveChat",
                "booking",
                "crm",
                "emailMarketing",
                "payments",
                "callTracking",
                "consentBanner",
                "ssl",
                "mobileViewport"
              ],
              "enumTitles": [
                "Analytics",
                "Ad pixels",
                "Tag manager",
                "Live chat",
                "Online booking",
                "CRM / marketing automation",
                "Email marketing",
                "Payments / online store",
                "Call tracking",
                "Cookie consent banner",
                "HTTPS (SSL)",
                "Mobile viewport"
              ]
            },
            "default": []
          },
          "includeUnclear": {
            "title": "Filter also accepts \"unclear\"",
            "type": "boolean",
            "description": "A site with a tag manager or JavaScript app may load a tool that is not in the HTML: those are `unclear`, not `missing`. Turn on to keep them in the filter above.",
            "default": false
          },
          "capabilities": {
            "title": "Capabilities to report",
            "uniqueItems": true,
            "type": "array",
            "description": "Empty = all 12. The gap score is computed on the selected ones.",
            "items": {
              "type": "string",
              "enum": [
                "analytics",
                "adPixels",
                "tagManager",
                "liveChat",
                "booking",
                "crm",
                "emailMarketing",
                "payments",
                "callTracking",
                "consentBanner",
                "ssl",
                "mobileViewport"
              ],
              "enumTitles": [
                "Analytics",
                "Ad pixels",
                "Tag manager",
                "Live chat",
                "Online booking",
                "CRM / marketing automation",
                "Email marketing",
                "Payments / online store",
                "Call tracking",
                "Cookie consent banner",
                "HTTPS (SSL)",
                "Mobile viewport"
              ]
            },
            "default": []
          },
          "extraPages": {
            "title": "Extra page per site",
            "minimum": 0,
            "maximum": 1,
            "type": "integer",
            "description": "1 = also read one booking or contact page linked from the home page (better booking, CRM form and contact detection). Charged per page that was read.",
            "default": 0
          },
          "includeContacts": {
            "title": "Add phone and role emails",
            "type": "boolean",
            "description": "First `tel:` link and role mailboxes on the site's own domain (info@, sales@, contact@…). Personal mailboxes are never returned.",
            "default": false
          },
          "maxItems": {
            "title": "Max sites",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "At most this many different websites are scanned per run.",
            "default": 100
          },
          "concurrency": {
            "title": "Sites in parallel",
            "minimum": 8,
            "maximum": 25,
            "type": "integer",
            "description": "Different websites scanned at the same time. One site never gets parallel requests.",
            "default": 10
          },
          "timeoutSecs": {
            "title": "Timeout (seconds)",
            "minimum": 3,
            "maximum": 15,
            "type": "integer",
            "description": "Per request. A site is given up after this time + 5 s (+ 10 s with an extra page).",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}