{
  "openapi": "3.0.1",
  "info": {
    "title": "E-Commerce & B2B Store Tech Stack, Apps & Pixel Detector",
    "description": "Detect Shopify & e-commerce tech stacks, .myshopify.com domains, themes, 42+ apps, 3-state ad pixels, and B2B growth gaps — no login cookies or API keys required, $0.00 start fee, $1.60/1k stores (includeCatalogMetrics=false) or $2.60/1k w/ 25-product price bands (includeCatalogMetrics=true).",
    "version": "1.0",
    "x-build-id": "zCefVBj8E3uX6f0oX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/voxatools~shopify-b2b-tech-stack-detector/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-voxatools-shopify-b2b-tech-stack-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/voxatools~shopify-b2b-tech-stack-detector/runs": {
      "post": {
        "operationId": "runs-sync-voxatools-shopify-b2b-tech-stack-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/voxatools~shopify-b2b-tech-stack-detector/run-sync": {
      "post": {
        "operationId": "run-sync-voxatools-shopify-b2b-tech-stack-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": {
          "targets": {
            "title": "Target Store URLs or Domains (targets)",
            "type": "array",
            "description": "List of e-commerce store URLs or bare domains to scan for installed apps, 3-state ad pixels, active themes, contact channels, and sample catalog pricing.",
            "items": {
              "type": "string"
            },
            "default": [
              "https://www.allbirds.com",
              "https://colourpop.com"
            ]
          },
          "domains": {
            "title": "Competitor / Prospect Store Domains Alias (domains)",
            "type": "array",
            "description": "Optional alias for 'targets'. Accepts bare domains like 'beardbrand.com', 'cotopaxi.com', or 'brooklinen.com'.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "urlsFromFile": {
            "title": "Bulk Store Domains / URLs Text Block (urlsFromFile)",
            "type": "string",
            "description": "Paste a newline-, comma-, or semicolon-separated list of up to 5,000 e-commerce domains or URLs from CSV/Excel.",
            "default": ""
          },
          "resultType": {
            "title": "Result Output Mode (resultType)",
            "enum": [
              "stores",
              "stores_summary",
              "advertisers"
            ],
            "type": "string",
            "description": "Select 'stores' ($1.60/1k base with includeCatalogMetrics=false • $2.60/1k default with includeCatalogMetrics=true) for detailed store tech stack & 3-state pixel records, or 'stores_summary' / 'advertisers' ($3.00/1k all-inclusive) for consolidated B2B agency sales lead dossiers.",
            "default": "stores"
          },
          "storeSummaryMode": {
            "title": "Consolidated B2B Agency Lead Dossier Mode (storeSummaryMode)",
            "type": "boolean",
            "description": "When enabled, outputs a consolidated B2B Agency Sales Dossier per store ($3.00/1,000 stores total) including sampleCatalogMetrics automatically with zero double-charging on the 'detail' event.",
            "default": false
          },
          "includeCatalogMetrics": {
            "title": "Include 25-Product Sample Catalog & Variant Price-Band Metrics (includeCatalogMetrics)",
            "type": "boolean",
            "description": "Probes /products.json?limit=25 to compute variant-level entry/median/max prices (sampleMinVariantPrice, sampleMedianVariantPrice, sampleMaxVariantPrice), discount ratio, and storefront availability. Enabled by default ($2.60/1k total = $1.60/1k base + $1.00/1k 'detail' event ONLY when sampleProductsFetched > 0 and storeSummaryMode=false); set includeCatalogMetrics=false for $1.60/1k base HTML-only scan.",
            "default": true
          },
          "catalogSampleLimit": {
            "title": "Catalog Sample Product Limit (catalogSampleLimit)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of sample products to inspect from /products.json?limit=N (default 25, max 50) for variant price-band and discount analysis.",
            "default": 25
          },
          "deduplicateDomains": {
            "title": "0ms Pre-Fetch Canonical Domain Deduplication (deduplicateDomains)",
            "type": "boolean",
            "description": "Normalizes and deduplicates multiple URLs belonging to the same root store domain (e.g., 'allbirds.com/collections/mens' and 'www.allbirds.com') in 0ms before HTTP fetching, tracking storeScaleCount.",
            "default": true
          },
          "requiredAppOrPixelFilter": {
            "title": "Require Specific App or Pixel Name (requiredAppOrPixelFilter)",
            "type": "string",
            "description": "Optional filter: only emit stores where this app or pixel is DETECTED (e.g., 'Klaviyo', 'Meta', 'TikTok', 'Yotpo', 'Gorgias', 'Attentive', 'Elevar'). Leave empty for all stores.",
            "default": ""
          },
          "requiredAppsFilter": {
            "title": "Required Installed Apps Filter List (requiredAppsFilter)",
            "type": "array",
            "description": "Optional list of app names that must be DETECTED on the store (e.g., ['Klaviyo', 'Yotpo']). Leave empty to return all stores.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "requiredPixelsFilter": {
            "title": "Required Ad Pixels Filter List (requiredPixelsFilter)",
            "type": "array",
            "description": "Optional list of ad pixel networks that must be DETECTED on the store (e.g., ['Meta', 'TikTok', 'GTM']). Leave empty to return all stores.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "onlyShopifyPlus": {
            "title": "Only Publicly Verified Shopify Plus Stores (onlyShopifyPlus)",
            "type": "boolean",
            "description": "When enabled, returns only stores with explicit public Shopify Plus signals (isShopifyPlus === true and shopifyPlusStatus === 'DETECTED_PUBLIC_SIGNAL').",
            "default": false
          },
          "onlyB2bWholesale": {
            "title": "Only Stores with B2B / Wholesale Signals (onlyB2bWholesale)",
            "type": "boolean",
            "description": "When enabled, filters for stores exposing B2B wholesale portals, trade program links, or Shopify Plus B2B checkout indicators.",
            "default": false
          },
          "minAdSpendScore": {
            "title": "Minimum Public MarTech Footprint Score 0-100 (minAdSpendScore)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only return stores whose Coverage-Normalized Public MarTech Footprint Score (publicMarTechFootprintScore / adSpendReadinessScore) is at least this threshold (0 to 100).",
            "default": 0
          },
          "minFootprintScore": {
            "title": "Minimum Footprint Score Alias (minFootprintScore)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Alias for minAdSpendScore (0 to 100). Filters for stores with a Coverage-Normalized Public MarTech Footprint Score at or above this threshold.",
            "default": 0
          },
          "minSampleProducts": {
            "title": "Minimum Sample Products Fetched (minSampleProducts)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Only return stores with at least this many sample products returned from /products.json (0 to 50).",
            "default": 0
          },
          "countryFilter": {
            "title": "Observed Market Country Filter (countryFilter)",
            "type": "string",
            "description": "Filter by observed ISO-2 storefront market country from Shopify.country (e.g., 'US', 'GB', 'CA', 'AU', 'DE') or 'AUTO' for all countries.",
            "default": "AUTO"
          },
          "targetCurrency": {
            "title": "Observed Active Currency Filter (targetCurrency)",
            "type": "string",
            "description": "Filter by observed active storefront currency from Shopify.currency.active (e.g., 'USD', 'EUR', 'GBP', 'CAD') or 'AUTO' for all currencies.",
            "default": "AUTO"
          },
          "onlyChangedOrNew": {
            "title": "Stateful Tech-Stack Delta Radar — Only Emit Changed or New Stores (onlyChangedOrNew)",
            "type": "boolean",
            "description": "Compares each store's sha256TechStackHash against the named Key-Value Store (STATE-SHOPIFY-TECH-STACK) and emits ONLY newly discovered stores or stores where observed apps, pixels, or themeId changed ($0.00 PPE charge on unchanged stores).",
            "default": false
          },
          "onlyChangedTechStack": {
            "title": "Only Changed Tech Stack Alias (onlyChangedTechStack)",
            "type": "boolean",
            "description": "Alias for onlyChangedOrNew. When enabled, emits only newly discovered stores or stores where observed MarTech signatures or themeId changed since the last run.",
            "default": false
          },
          "stripThemeVersionNoise": {
            "title": "Strip Theme Date/Sprint Version Noise Before Hashing (stripThemeVersionNoise)",
            "type": "boolean",
            "description": "Strips volatile deploy dates, sprint numbers, and git commit tags from themeName (producing themeNameNormalized) while keeping immutable themeId as the primary theme change key.",
            "default": true
          },
          "monitorStoreName": {
            "title": "Stateful Delta Key-Value Store Name (monitorStoreName)",
            "type": "string",
            "description": "Named Apify Key-Value Store used to persist SHA-256 tech-stack checkpoints across scheduled runs.",
            "default": "STATE-SHOPIFY-TECH-STACK"
          },
          "archiveTechSnapshot": {
            "title": "Archive SHA-256 Store Tech-Stack & Pixel Audit Snapshot Bundle (archiveTechSnapshot)",
            "type": "boolean",
            "description": "Saves a verifiable 2-file HTML + JSON audit certificate bundle (SNAPSHOT-<domainSlug>-<sha256Short8>-v1.html and .json) to the Key-Value Store (+$0.80/1,000 store bundles, charged once per store).",
            "default": false
          },
          "archiveStoreSnapshot": {
            "title": "Archive Store Snapshot Alias (archiveStoreSnapshot)",
            "type": "boolean",
            "description": "Alias for archiveTechSnapshot. Saves a verifiable 2-file SHA-256 HTML + JSON store tech-stack audit snapshot bundle to the Key-Value Store.",
            "default": false
          },
          "generateAgencyPitchPrompt": {
            "title": "Generate Tailored B2B Agency Outreach Pitch & AI Prompt (generateAgencyPitchPrompt)",
            "type": "boolean",
            "description": "Synthesizes deterministic agencyPitchAngle and ai_analysis_prompt grounded in observed apps, 3-state pixel visibility caveats, and sample catalog price bands.",
            "default": true
          },
          "maxResults": {
            "title": "Max Store Records to Output (maxResults)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of verified store records to push to the dataset.",
            "default": 50
          },
          "maxDomainsPerRun": {
            "title": "Max Unique Store Domains to Scan (maxDomainsPerRun)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of unique canonical store domains to inspect in a single run.",
            "default": 100
          },
          "maxTotalChargeUsd": {
            "title": "Hard Run Spending Ceiling in USD (maxTotalChargeUsd)",
            "minimum": 0.1,
            "maximum": 1000,
            "type": "number",
            "description": "Safety spending cap in USD. The Actor gracefully stops and persists all checkpoints before exceeding this budget.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (proxyConfiguration)",
            "type": "object",
            "description": "Zero-Browser HTTP requests succeed directly on 95%+ of Shopify storefronts with $0 proxy cost. Enable Apify Proxy only as an automatic fallback for strict WAF domains.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}