{
  "openapi": "3.0.1",
  "info": {
    "title": "Web Tech-Stack & New-Domain Sales-Trigger Intel",
    "description": "Detect any website's tech stack (CMS, ecommerce, analytics, marketing, frameworks, hosting, payment, ads) by fingerprinting public pages, plus new-domain + tech-change sales triggers via monitor mode. A BuiltWith/Wappalyzer-style detector with change detection for B2B sales, martech, and agencies.",
    "version": "0.1",
    "x-build-id": "zCh0e7Ifvb8c0xJGb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seibs.co~tech-stack-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seibs.co-tech-stack-intel",
        "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/seibs.co~tech-stack-intel/runs": {
      "post": {
        "operationId": "runs-sync-seibs.co-tech-stack-intel",
        "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/seibs.co~tech-stack-intel/run-sync": {
      "post": {
        "operationId": "run-sync-seibs.co-tech-stack-intel",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "tech_stack",
              "find_by_technology",
              "new_domain_intel",
              "tech_change_monitor"
            ],
            "type": "string",
            "description": "tech_stack = full tech fingerprint for each domain. find_by_technology = fingerprint then flag domains running one of your target technologies. new_domain_intel = RDAP registration + new-domain trigger. tech_change_monitor = re-fingerprint a watchlist and diff vs the last scheduled run (added/removed tech).",
            "default": "tech_stack"
          },
          "domains": {
            "title": "Domains or URLs",
            "maxItems": 200,
            "type": "array",
            "description": "Domains (e.g. 'shopify.com') or full URLs (e.g. 'https://www.example.com'). Bare domains are normalized (scheme/path/www stripped). Hard cap of 200 to control compute cost.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "target_technologies": {
            "title": "Target technologies (find_by_technology mode)",
            "maxItems": 20,
            "type": "array",
            "description": "Technology names to filter on in find_by_technology mode, e.g. ['Shopify', 'Klaviyo', 'HubSpot']. A domain matches if it runs any one of them. Hard cap of 20. Use exact names from the ruleset (see README).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "include_tech_detection": {
            "title": "Detect technologies",
            "type": "boolean",
            "description": "Run the tech-stack fingerprint on each fetched page. Adds a tech_stack_enrichment charge per domain where one or more technologies are detected. Default on (off only makes sense for pure new_domain_intel runs).",
            "default": true
          },
          "include_registration": {
            "title": "Include domain registration intel (RDAP)",
            "type": "boolean",
            "description": "Look up public RDAP registration data (creation/expiry dates, registrar, nameservers, domain age, new-domain flag). PII-minimized: dates + registrar + nameservers only, never registrant contact details. Adds a new_domain_trigger charge per domain. Always on for new_domain_intel mode.",
            "default": false
          },
          "min_confidence": {
            "title": "Minimum detection confidence",
            "enum": [
              "high",
              "medium",
              "low"
            ],
            "type": "string",
            "description": "Drop detections below this confidence. 'high' = response headers / unique vendor scripts / meta-generator only. 'medium' = + strong HTML signals. 'low' = + weak heuristics (most coverage, some false positives).",
            "default": "low"
          },
          "new_domain_days": {
            "title": "New-domain threshold (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "A domain registered within this many days is flagged is_new_domain = true (the sales trigger). Default 90.",
            "default": 90
          },
          "enable_browser_escalation": {
            "title": "Enable browser (Playwright) escalation tier",
            "type": "boolean",
            "description": "Allow escalation to a headless browser for JS/Cloudflare-interstitial pages when httpx and the TLS-impersonation tier are both blocked. Slower and heavier; off by default (httpx + curl_cffi clears most sites).",
            "default": false
          },
          "monitor_webhook_url": {
            "title": "Monitor webhook URL (Slack/email)",
            "type": "string",
            "description": "Optional. When this actor runs as a saved Task/Schedule, post the tech-change delta digest to this Slack (or email-relay) webhook URL.",
            "default": ""
          },
          "use_apify_proxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Route page fetches through Apify Proxy. DATACENTER is used for the default httpx tier; RESIDENTIAL (if available on your plan) is used for the anti-bot escalation tiers.",
            "default": true
          },
          "apify_proxy_groups": {
            "title": "Proxy groups (tier 1)",
            "type": "array",
            "description": "Apify Proxy groups for the default httpx tier. DATACENTER is fine for most sites.",
            "default": [
              "DATACENTER"
            ],
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Max concurrent fetches",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel page fetches. Kept polite (per-request spacing) and capped at 8 to respect target sites.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}