{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Website Contact Extractor",
    "description": "Enrich company websites with published role emails, organization contacts and sources. Import CSV, Excel or a business-list Dataset; discover multilingual contact pages, compare observations and identify company/e-commerce metadata. Optional JavaScript rendering.",
    "version": "0.2",
    "x-build-id": "NmMkGhdgE9Im68B9F"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wei964991~company-website-contact-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wei964991-company-website-contact-extractor",
        "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/wei964991~company-website-contact-extractor/runs": {
      "post": {
        "operationId": "runs-sync-wei964991-company-website-contact-extractor",
        "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/wei964991~company-website-contact-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-wei964991-company-website-contact-extractor",
        "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": "Website domains or URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Enter URLs directly, or clear this field and import a Dataset / CSV / Excel list. Sources can also be combined.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Alternative input for integrations, in standard {url: ...} format.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "title": "Website URL",
                  "type": "string",
                  "description": "Public company website URL."
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "inputDatasetId": {
            "title": "Import business-list Dataset",
            "type": "string",
            "description": "Read your existing business-list dataset. Supported website/name/placeId columns only; no Maps search or other Actor is started."
          },
          "inputFileUrl": {
            "title": "Upload business list (CSV / Excel)",
            "type": "string",
            "description": "UTF-8 CSV or .xlsx, maximum 5 MB; first worksheet/header row; no macros. The uploader supplies a signed HTTPS download URL."
          },
          "inputFileFormat": {
            "title": "Uploaded file format",
            "enum": [
              "auto",
              "csv",
              "xlsx"
            ],
            "type": "string",
            "description": "Auto detects CSV or XLSX.",
            "default": "auto"
          },
          "csvText": {
            "title": "Paste CSV business list",
            "type": "string",
            "description": "Header row required, e.g. website,title,placeId. Up to 1,000 rows / 2 MB."
          },
          "websiteColumn": {
            "title": "Website column name (optional)",
            "type": "string",
            "description": "Exact source column name if automatic website / websiteUrl / domain / 官网 recognition does not match."
          },
          "previousDatasetId": {
            "title": "Previous results Dataset for comparison",
            "type": "string",
            "description": "Read a previous extraction dataset (up to 1,000 rows). Differences mean added / not observed, never proven deletion."
          },
          "discoverSitemaps": {
            "title": "Discover contact pages from sitemap",
            "type": "boolean",
            "description": "Also inspect up to two same-site sitemap XML documents, honoring robots. These requests are additional to the HTML page budget.",
            "default": true
          },
          "renderJavaScript": {
            "title": "Render JavaScript pages (optional)",
            "type": "boolean",
            "description": "Use Chromium for supported dynamic content. PPE pricing: USD 0.012 per website with supported contacts instead of USD 0.003 in static mode (not stacked). Check the Pricing tab for current prices. Only same-site GET resources; no login or access bypass. 1,024 MB recommended.",
            "default": false
          },
          "renderWaitMs": {
            "title": "JavaScript settle time (milliseconds)",
            "minimum": 0,
            "maximum": 3000,
            "type": "integer",
            "description": "Extra wait after the page loads when JavaScript rendering is enabled.",
            "default": 1000
          },
          "maxWebsites": {
            "title": "Maximum websites",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Caps attempted input websites, including invalid entries.",
            "default": 20
          },
          "maxPagesPerWebsite": {
            "title": "Maximum pages per website",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "HTML-page attempt limit. robots.txt and bounded redirects are additional requests.",
            "default": 4
          },
          "maxConcurrency": {
            "title": "Concurrent websites",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum different websites processed concurrently; per-host intervals still apply.",
            "default": 3
          },
          "requestDelaySeconds": {
            "title": "Minimum interval per host (seconds)",
            "minimum": 1,
            "maximum": 30,
            "type": "number",
            "description": "robots.txt crawl delays or request-rate limits can increase this interval.",
            "default": 1.5
          },
          "requestTimeoutSeconds": {
            "title": "Timeout per request (seconds)",
            "minimum": 3,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum duration of one HTTP request.",
            "default": 15
          },
          "websiteTimeoutSeconds": {
            "title": "Timeout per website (seconds)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "Maximum crawl duration of one website, including delays and robots checks.",
            "default": 60
          },
          "runTimeoutSeconds": {
            "title": "Crawl time limit (seconds)",
            "minimum": 10,
            "maximum": 1800,
            "type": "integer",
            "description": "Pending websites become timeout diagnostics. Export/SDK shutdown can take additional time.",
            "default": 300
          },
          "excludedDomains": {
            "title": "Excluded domains",
            "type": "array",
            "description": "Domains not to visit, for example opt-out or contractual exclusions. www and bare domain are treated together.",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}