{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Tech Stack & Lead Enrichment Scraper",
    "description": "Profile any domain in ~250ms: 300+ technologies, ad pixel IDs (Meta, Google, TikTok, LinkedIn), emails, phones, socials, SPF/DKIM/DMARC and hosting. No browser, so it runs thousands of domains per run. Built for lead gen, sales intelligence and competitor research. From $2.50 / 1,000 domains.",
    "version": "0.0",
    "x-build-id": "X182e4KPlRBCM0EBX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/eiv~website-intelligence-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-eiv-website-intelligence-scraper",
        "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/eiv~website-intelligence-scraper/runs": {
      "post": {
        "operationId": "runs-sync-eiv-website-intelligence-scraper",
        "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/eiv~website-intelligence-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-eiv-website-intelligence-scraper",
        "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": "Domains",
            "type": "array",
            "description": "Domains or URLs to profile — one per line. Bare domains ('stripe.com'), full URLs and even e-mail addresses ('jane@acme.io') are all accepted. Duplicates and www/apex variants of the same site are merged automatically so you are never charged twice for one company.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (for chaining)",
            "type": "array",
            "description": "Alternative to Domains. Use this when feeding output from another Actor straight into this one.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sourceDatasetId": {
            "title": "Source dataset ID",
            "type": "string",
            "description": "Enrich an existing dataset in place of a pasted list. Every item's domain field is read and profiled."
          },
          "sourceDatasetField": {
            "title": "Source dataset field",
            "type": "string",
            "description": "Which field on the source dataset holds the domain or URL.",
            "default": "domain"
          },
          "enrichContacts": {
            "title": "Extract contacts and social profiles",
            "type": "boolean",
            "description": "Fetch the contact / about / imprint pages and pull e-mail addresses, phone numbers, postal addresses and social profile URLs. Roughly doubles the number of populated fields on a typical record. Billed as a Deep enrichment event.",
            "default": true
          },
          "enrichEmailInfrastructure": {
            "title": "Audit e-mail infrastructure (MX, SPF, DKIM, DMARC)",
            "type": "boolean",
            "description": "Identify the mailbox provider, every third-party sender authorised in SPF, the DMARC policy and which DKIM selectors resolve. Produces a 0-100 e-mail security score and a spoofable flag. Pure DNS — fast and cheap. Billed as a Deep enrichment event.",
            "default": true
          },
          "expandTagManager": {
            "title": "Expand Google Tag Manager containers",
            "type": "boolean",
            "description": "Fetch the site's GTM container and read the advertising tags configured inside it. Strongly recommended: most sites now load Meta, TikTok and Google Ads pixels through GTM, so without this their IDs are invisible. In testing this raised ad-pixel coverage from 4% to 41% of sites. Only runs on domains that actually use GTM. Billed as a Deep enrichment event.",
            "default": true
          },
          "enrichTls": {
            "title": "Inspect TLS certificate and security.txt",
            "type": "boolean",
            "description": "Read the live certificate — issuer, expiry, and the Subject Alternative Names that reveal a company's other brands and staging hosts. Off by default because it adds a TLS handshake and one request per domain. Billed as a Deep enrichment event.",
            "default": false
          },
          "maxExtraPages": {
            "title": "Extra pages per domain",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many contact/about/imprint pages to fetch when contact extraction is on. 0 restricts extraction to the homepage.",
            "default": 2
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Domains processed in parallel. Raise it with the memory you assign the run: ~20 per 1 GB is a good rule of thumb. Too high on a small container just queues work behind the CPU.",
            "default": 40
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 3,
            "maximum": 120,
            "type": "integer",
            "description": "Per-request timeout. Lower it to drop slow domains faster on very large lists.",
            "default": 20
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries for timeouts, connection resets and 5xx responses. Redirects and 4xx are never retried.",
            "default": 1
          },
          "maxHtmlKb": {
            "title": "Max HTML per page (KB)",
            "minimum": 32,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard download cap per page. The default of 1000 KB is the measured knee of the curve: dropping to 400 KB cuts bandwidth by a third but also cuts e-mail coverage from 59% to 37%, because contact details live in page footers.",
            "default": 1000
          },
          "flattenOutput": {
            "title": "Flatten output for CSV / spreadsheets",
            "type": "boolean",
            "description": "Emit one flat row of dot-notation columns per domain, with arrays joined by ' | '. Use this when exporting to CSV or loading into a spreadsheet. Leave off for nested JSON, which is better for BigQuery, Snowflake and pandas.",
            "default": false
          },
          "skipFailedDomains": {
            "title": "Drop unreachable domains from the dataset",
            "type": "boolean",
            "description": "By default every domain produces a row, with success:false and an error code, so your input list and output stay aligned. Turn this on to keep only reachable sites. Failed domains are never charged either way.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Datacenter proxies are usually enough and are effectively free. Residential proxies raise the success rate on heavily protected sites but cost far more than everything else in this Actor combined — enable them only for lists you know are blocking you.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}