{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Tech Stack, Ad Pixels & SaaS Detector (MCP)",
    "description": "Detect 150+ web technologies, unpack static GTM containers for Google Ads (AW-), Meta, LinkedIn, TikTok & GA4 pixel IDs without a browser, and verify internal SaaS via DNS + Standby /mcp. Independent tool, not affiliated with Google, Meta, BuiltWith, or Wappalyzer.",
    "version": "1.2",
    "x-build-id": "HluonbQKqPMDqOF2H"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/spiky_closet~tech-stack-ad-pixel-detector/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-spiky_closet-tech-stack-ad-pixel-detector",
        "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/spiky_closet~tech-stack-ad-pixel-detector/runs": {
      "post": {
        "operationId": "runs-sync-spiky_closet-tech-stack-ad-pixel-detector",
        "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/spiky_closet~tech-stack-ad-pixel-detector/run-sync": {
      "post": {
        "operationId": "run-sync-spiky_closet-tech-stack-ad-pixel-detector",
        "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, Domains, or Work Emails",
            "type": "array",
            "description": "Enter company domains ('hubspot.com'), full URLs ('https://www.klaviyo.com/pricing'), or work emails ('ceo@linear.app'). Click Start right away to test with the 3 prefilled sample domains.",
            "items": {
              "type": "string"
            }
          },
          "bulkDomains": {
            "title": "Bulk Paste from Excel / CSV / Google Sheets (Optional)",
            "type": "string",
            "description": "Paste a multiline or comma-separated list of domains, URLs, or emails. Duplicates and URL paths are cleaned automatically."
          },
          "onlyWithAdPixels": {
            "title": "Only Keep Companies Running Paid Ads",
            "type": "boolean",
            "description": "Output only domains with active paid advertising pixels (Google Ads, Meta Pixel, LinkedIn, TikTok, Microsoft/Bing, X, Reddit, Pinterest, Snapchat).",
            "default": false
          },
          "mustHaveAny": {
            "title": "Must Use ANY of These Tools (OR Filter)",
            "type": "array",
            "description": "Keep companies using at least one listed tool (e.g. 'Shopify', 'Meta Pixel', 'HubSpot', 'Stripe', 'OpenAI').",
            "items": {
              "type": "string"
            }
          },
          "mustHaveAll": {
            "title": "Must Use ALL of These Tools (AND Filter)",
            "type": "array",
            "description": "Keep only companies using every listed tool together (e.g. ['Shopify', 'Meta Pixel']).",
            "items": {
              "type": "string"
            }
          },
          "mustNotHave": {
            "title": "Exclude If Already Using (Competitor Filter)",
            "type": "array",
            "description": "Exclude companies already using a specific tool (e.g. ['Klaviyo'] to find Shopify stores not yet using Klaviyo).",
            "items": {
              "type": "string"
            }
          },
          "unpackGtm": {
            "title": "Find Hidden Ad Pixels Inside Google Tag Manager",
            "type": "boolean",
            "description": "Unpacks Google Tag Manager containers so Meta, Google Ads, LinkedIn, TikTok, and GA4 pixel IDs are found even behind cookie consent banners.",
            "default": true
          },
          "checkDns": {
            "title": "Detect Internal SaaS & Email Provider via DNS",
            "type": "boolean",
            "description": "Checks public DNS records to identify Google Workspace, Microsoft 365, Stripe, OpenAI, Anthropic, HubSpot, Slack, and Rippling — works even when websites block crawlers (HTTP 403).",
            "default": true
          },
          "checkAdsTxt": {
            "title": "Include Publisher /ads.txt Check",
            "type": "boolean",
            "description": "Also checks /ads.txt on media and publisher sites.",
            "default": false
          },
          "maxResults": {
            "title": "Max Results (0 = All Matching Domains)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the run after emitting this many matching domains (0 = no limit).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel Scan Speed (1-50)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of websites scanned simultaneously.",
            "default": 15
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Optional proxy override. Default direct mode ($0 proxy cost) already achieves ~90% HTTP + 100% DNS coverage."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}