{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Tech Stack Enricher: Filter Your Lead List by Technology",
    "description": "Give it company websites or a lead dataset. It returns the technologies visibly in use (CMS, e-commerce, analytics, CRM, payments, email provider, CDN) with evidence and confidence, keeps your original columns, and can filter 'uses Shopify but not Klaviyo'.",
    "version": "1.0",
    "x-build-id": "y5uLDiUmfMz6CuCpS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yourname_mahi~b2b-tech-stack-enricher/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yourname_mahi-b2b-tech-stack-enricher",
        "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/yourname_mahi~b2b-tech-stack-enricher/runs": {
      "post": {
        "operationId": "runs-sync-yourname_mahi-b2b-tech-stack-enricher",
        "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/yourname_mahi~b2b-tech-stack-enricher/run-sync": {
      "post": {
        "operationId": "run-sync-yourname_mahi-b2b-tech-stack-enricher",
        "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": {
          "websites": {
            "title": "Websites",
            "type": "array",
            "description": "Company websites or domains, one per line (example.com, www.example.com or https://example.com/about all work). Use this OR the dataset below, or both.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset with websites (optional)",
            "type": "string",
            "description": "Pick an existing dataset (for example the output of a lead scraper). Every row is kept with all its original columns; the technology columns are added next to them."
          },
          "urlField": {
            "title": "Column that holds the website",
            "type": "string",
            "description": "Only needed for datasets/objects whose website column is not called website, url or domain. Leave empty to detect it automatically."
          },
          "requireTechnologies": {
            "title": "Must use (all of these)",
            "type": "array",
            "description": "Optional filter. Each row gets matched = true / false / null (null = cannot tell, e.g. the site blocked us). Example: Shopify. Names are checked before the run starts; a typo fails fast with a suggestion.",
            "items": {
              "type": "string"
            }
          },
          "excludeTechnologies": {
            "title": "Must NOT use (none of these)",
            "type": "array",
            "description": "Optional filter. Example: Klaviyo. A site is only marked as not using a technology when its page was fully analysed.",
            "items": {
              "type": "string"
            }
          },
          "requireAnyTechnologies": {
            "title": "Must use at least one of these",
            "type": "array",
            "description": "Optional filter (OR). A row matches if ANY listed technology is detected. Example: Shopify, WooCommerce, BigCommerce. Combine with 'Must use' (AND) if needed.",
            "items": {
              "type": "string"
            }
          },
          "requireCategories": {
            "title": "Must use a technology in these categories",
            "type": "array",
            "description": "Optional filter. A row matches if a technology from ANY of these categories is detected. Example: CRM, Marketing automation, Live chat / support.",
            "items": {
              "type": "string"
            }
          },
          "excludeCategories": {
            "title": "Must NOT use any technology in these categories",
            "type": "array",
            "description": "Optional filter. Example: CRM. A site is only marked as 'not using' a category when its page was fully analysed (and DNS was readable for DNS-based categories); otherwise matched is null.",
            "items": {
              "type": "string"
            }
          },
          "minConfidence": {
            "title": "Minimum confidence for the filter",
            "enum": [
              "high",
              "medium",
              "low"
            ],
            "type": "string",
            "description": "How sure a detection must be to count in the filter. 'medium' is a good default; 'high' needs a unique fingerprint; 'low' accepts weak hints.",
            "default": "medium"
          },
          "scope": {
            "title": "What to analyse per input",
            "enum": [
              "domain",
              "exact"
            ],
            "type": "string",
            "description": "Domain: one analysis per website, its homepage (www and non-www are the same site). Exact URL: analyse exactly the page you give.",
            "default": "domain"
          },
          "includeDns": {
            "title": "Include DNS signals",
            "type": "boolean",
            "description": "Read MX / SPF / DMARC / name-server / CNAME records: email provider, email-sending tools, hosting platform. Works even when a website blocks us.",
            "default": true
          },
          "maxPagesPerSite": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "1 = homepage only (recommended). 2-3 also read same-site pages such as shop, pricing or contact, which can reveal payment and CRM widgets. You are charged per website, not per page.",
            "default": 1
          },
          "maxWebsites": {
            "title": "Maximum rows to process",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap, handy for a cheap test (for example 5). Empty or 0 = process everything."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}