{
  "openapi": "3.0.1",
  "info": {
    "title": "CIPA Wiretap, VPPA Video Pixel & HIPAA Tracker Auditor",
    "description": "Bulk-audit sites via fast HTTP for CIPA §§ 631/632 chat & session-replay wiretap risk, VPPA video + ad-pixel leaks, HIPAA/MHMDA intake trackers, and GPC/CCPA opt-outs with HTML/JS consent-gate fixes & B2B hooks.",
    "version": "0.0",
    "x-build-id": "Dy5UzUi0ctFt2yugl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/healthy_addax~cipa-vppa-wiretap-pixel-auditor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-healthy_addax-cipa-vppa-wiretap-pixel-auditor",
        "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/healthy_addax~cipa-vppa-wiretap-pixel-auditor/runs": {
      "post": {
        "operationId": "runs-sync-healthy_addax-cipa-vppa-wiretap-pixel-auditor",
        "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/healthy_addax~cipa-vppa-wiretap-pixel-auditor/run-sync": {
      "post": {
        "operationId": "run-sync-healthy_addax-cipa-vppa-wiretap-pixel-auditor",
        "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": {
          "urls": {
            "title": "Target Website URLs / Bare Domains",
            "type": "array",
            "description": "List of store, clinic, media, or SaaS URLs or bare domains to audit (supports full URLs like \"https://clinic.example.com\", bare domains like \"shop.example.com\", or RequestList objects like [{\"url\": \"https://shop.example.com\"}]).",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "title": "Single URL or Domain (Optional Shorthand)",
            "type": "string",
            "description": "Optional single URL/domain convenience field for REST webhooks, Clay HTTP columns, or MCP calls."
          },
          "datasetId": {
            "title": "Upstream Apify Dataset ID (Optional Chaining)",
            "type": "string",
            "description": "Optional Apify Dataset ID (e.g. from Google Maps Healthcare Scraper, Shopify Store Scraper, or Lead Finder) to auto-import URLs and deduplicate with urls."
          },
          "datasetUrlField": {
            "title": "Dataset URL Field Override (Optional)",
            "type": "string",
            "description": "Optional column name to extract URLs from datasetId items. When omitted, auto-detects website, url, domain, shopUrl, storeUrl, clinicUrl, practiceUrl, or appUrl."
          },
          "maxLegalPagesPerDomain": {
            "title": "Max Internal Intake/Video/Privacy Subpages per Site",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum number of discovered same-origin internal pages (/appointment, /book, /intake, /schedule, /videos, /watch, /demo, /privacy, /contact) fetched per site in addition to the homepage (0-5).",
            "default": 3
          },
          "includeRemediationPack": {
            "title": "Generate CIPA/VPPA Consent-Gate + Pre-Chat + GPC HTML/JS Pack",
            "type": "boolean",
            "description": "Generates ready-to-paste Prior-Consent Script Gate Wrapper + Pre-Chat CIPA Recording Disclosure Widget + /.well-known/gpc.json + CCPA \"Your Privacy Choices\" HTML/JS snippets when compliance findings exist (+$0.01/site).",
            "default": true
          },
          "checkWiretapChatAndReplay": {
            "title": "Check CIPA §§ 631/632 Session-Replay & Third-Party Chat Wiretap Risk",
            "type": "boolean",
            "description": "Detects session-replay SDKs (FullStory, Hotjar, Clarity, LogRocket, Mouseflow, etc.) and third-party live/AI chat widgets (Intercom, Drift, Zendesk, Gorgias, Tidio, etc.), verifying CMP prior-consent script gating and pre-chat recording disclosures.",
            "default": true
          },
          "checkVppaVideoPixels": {
            "title": "Check VPPA (18 U.S.C. § 2710) Video + Ad-Pixel Co-Presence",
            "type": "boolean",
            "description": "Detects embedded video players (YouTube, Vimeo, Wistia, JW Player, Mux, Vidyard, Brightcove, <video>) firing alongside ungated ad-tech identity pixels (Meta, TikTok, LinkedIn, Snap, Pinterest, Reddit, X, Criteo, Google Ads).",
            "default": true
          },
          "checkSensitiveIntakePixels": {
            "title": "Check Healthcare / Sensitive Intake Form Pixel Leaks (HIPAA & WA MHMDA)",
            "type": "boolean",
            "description": "Inspects /appointment, /book, /intake, /patient, /schedule, /telehealth, and /consultation forms collecting health/appointment inputs for ungated ad pixels and session-replay scripts.",
            "default": true
          },
          "checkGpcAndOptOut": {
            "title": "Check Global Privacy Control (/.well-known/gpc.json) & CCPA Opt-Out Link",
            "type": "boolean",
            "description": "Probes /.well-known/gpc.json and checks for \"Do Not Sell or Share My Personal Information\" / \"Your Privacy Choices\" opt-out links when ad-tech trackers are active.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Checks domain /robots.txt rules before scanning and skips disallowed paths.",
            "default": true
          },
          "maxUrls": {
            "title": "Max Sites Safety Cap",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard ceiling on the total number of sites audited in a single run to prevent accidental budget overruns.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Max Concurrent HTTP Workers",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum parallel HTTP site workers (1-20).",
            "default": 5
          },
          "domainDelayMs": {
            "title": "Per-Domain Polite Delay (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Minimum polite delay in milliseconds between consecutive HTTP requests to the same hostname.",
            "default": 300
          },
          "requestTimeoutMs": {
            "title": "HTTP Request Timeout (ms)",
            "minimum": 2000,
            "maximum": 60000,
            "type": "integer",
            "description": "Strict timeout per HTTP request in milliseconds (default 12000ms).",
            "default": 12000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}