{
  "openapi": "3.0.1",
  "info": {
    "title": "Tech Stack Detector: Website Technology Checker & CMS Finder",
    "description": "Tech stack checker that finds what CMS any list of websites uses and what else it is built with: e-commerce, analytics, pixels, frameworks and hosting (3,300+ technologies), plus email provider, DNS and TLS, with evidence. Filter leads by technology, track changes. Failed sites are free.",
    "version": "0.1",
    "x-build-id": "AseDfuA9d8i0sCgXx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actorfactory~tech-stack-detector/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actorfactory-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/actorfactory~tech-stack-detector/runs": {
      "post": {
        "operationId": "runs-sync-actorfactory-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/actorfactory~tech-stack-detector/run-sync": {
      "post": {
        "operationId": "run-sync-actorfactory-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",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "Websites",
            "type": "array",
            "description": "Domains or URLs to analyse, one per line: <code>example.com</code>, <code>www.example.com</code> or <code>https://example.com/shop</code>. A bare domain is opened over HTTPS (then HTTP if HTTPS does not work). Up to 100,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerSite": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "1 = only the page you entered (usually the homepage). 2 to 5 also reads up to 4 same-site pages linked from it, preferring shop, pricing, careers, blog and contact pages, which often reveal more tools (e-commerce, payments, job boards, forms). Still one charge per website.",
            "default": 1
          },
          "dnsLookup": {
            "title": "Read DNS records (email provider, DNS host, verified services)",
            "type": "boolean",
            "description": "Reads the domain's public MX, TXT (SPF and verification records), NS and DMARC records. Reveals the email provider (Google Workspace, Microsoft 365...), email security and sending services, the DNS host and SaaS tools the company verified its domain with.",
            "default": true
          },
          "tlsCheck": {
            "title": "Read the TLS certificate",
            "type": "boolean",
            "description": "Adds the certificate issuer, expiry date and days left (one TLS handshake, no extra page load).",
            "default": true
          },
          "readTagManager": {
            "title": "Read Google Tag Manager containers",
            "type": "boolean",
            "description": "Many sites load analytics and ad pixels (Google Analytics 4, LinkedIn Insight, Meta Pixel, HubSpot, Hotjar...) through Google Tag Manager, so they are not in the page's HTML. When a page uses GTM, its public container file is read too (one extra request to googletagmanager.com), which finds most of these tags without a browser.",
            "default": true
          },
          "minConfidence": {
            "title": "Minimum confidence (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Technologies found with a weaker signal than this are left out. 50 (default) drops guesses based on a single weak hint; 0 keeps everything.",
            "default": 50
          },
          "includeEvidence": {
            "title": "Include evidence",
            "type": "boolean",
            "description": "Adds up to 3 pieces of evidence to each technology (the header, script URL, meta tag or DNS record that matched).",
            "default": true
          },
          "requestTimeoutSecs": {
            "title": "Page timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How long to wait for a page before giving up (one retry for timeouts and server errors).",
            "default": 20
          },
          "maxConcurrency": {
            "title": "Websites in parallel",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many websites are analysed at the same time. Each website gets one request at a time.",
            "default": 10
          },
          "maxSites": {
            "title": "Maximum websites to analyse",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many websites were analysed (only successfully analysed websites count and are charged).",
            "default": 1000
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "site",
              "technology"
            ],
            "type": "string",
            "description": "<code>site</code>: one row per website with every technology in it. <code>technology</code>: one flat row per website and technology (technology, version, categories, confidence, evidence), easier to filter and pivot in Excel or Google Sheets. The price is per website in both formats.",
            "default": "site"
          },
          "onlyWithTechnologies": {
            "title": "Only websites using",
            "type": "array",
            "description": "Optional. Keep only websites that use at least one of these technologies (exact names as shown in technology_names, any capitalisation), e.g. <code>Shopify</code>, <code>WooCommerce</code>. Unknown names stop the run with a list of close matches. Filtering happens after the analysis, so every analysed website is charged, matching or not.",
            "items": {
              "type": "string"
            }
          },
          "requireAllTechnologies": {
            "title": "Require all of them",
            "type": "boolean",
            "description": "With \"Only websites using\": keep a website only when it uses every technology in the list (AND) instead of at least one (OR).",
            "default": false
          },
          "withoutTechnologies": {
            "title": "Leave out websites using",
            "type": "array",
            "description": "Optional. Leave out websites that use any of these technologies, e.g. Shopify stores <i>without</i> <code>Klaviyo</code> for an email-marketing pitch. Every analysed website is charged, matching or not.",
            "items": {
              "type": "string"
            }
          },
          "extractContacts": {
            "title": "Add business contact details",
            "type": "boolean",
            "description": "Adds the contact details the company publishes on its own website: shared business email addresses on the site's own domain (info@, sales@, support@...; personal-looking addresses such as jane.doe@ are never kept), phone numbers from click-to-call links and the site's Organization data, and links to its LinkedIn company page, X, Facebook, Instagram, YouTube, GitHub and TikTok profiles. Reads one linked contact or imprint page when the pages analysed include none (one extra request). Included in the website price.",
            "default": false
          },
          "trackChanges": {
            "title": "Track technology changes between runs",
            "type": "boolean",
            "description": "Remembers each website's stack between runs (in a key-value store in your account) and adds change_status (new, changed, unchanged), technologies_added, technologies_removed, version_changes and previous_checked_at. Built against false alarms: technologies whose source could not be read this time (a DNS lookup or Tag Manager read that failed) are carried over, and a technology must be missing in 2 runs in a row to count as removed. The first run sets the baseline.",
            "default": false
          },
          "onlyChangedSites": {
            "title": "Only save websites that changed",
            "type": "boolean",
            "description": "Save only websites whose stack changed since the last run, plus websites checked for the first time (turns tracking on). Unchanged websites are still analysed and charged, but left out of the dataset, so a scheduled run returns just the changes.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Name of the key-value store that keeps the stack history (letters, digits and hyphens). Use one name per project or client. Changing the detection settings (pages per website, DNS, TLS, Tag Manager, minimum confidence) starts a fresh history.",
            "default": "tech-stack-monitor"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}