{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Enrichment: Domain to Company Data from Website",
    "description": "Turn company domains into company data read from each website: name, description, logo, socials, generic emails, phone, email provider and tech stack, plus hiring signals (careers page, ATS) and sales signals (pricing, demo, free trial). $4 per 1,000 companies, failures free.",
    "version": "1.0",
    "x-build-id": "KgKo69q2On7OSzEjx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/joesimo~company-website-enricher/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-joesimo-company-website-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/joesimo~company-website-enricher/runs": {
      "post": {
        "operationId": "runs-sync-joesimo-company-website-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/joesimo~company-website-enricher/run-sync": {
      "post": {
        "operationId": "run-sync-joesimo-company-website-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": "Company websites",
            "type": "array",
            "description": "Company domains or URLs to enrich, for example stripe.com or https://www.example.co.uk. For each one the Actor reads robots.txt, loads the homepage (with www and HTTP fallbacks), up to a few contact, about and imprint pages linked from it, the careers page and the site's own sitemap. If you start a run with no websites, no bulk paste and no dataset (for example an API call with <code>{}</code>), it enriches zendesk.com, gitlab.com and hubspot.com as a demo (at most $0.012).",
            "items": {
              "type": "string"
            }
          },
          "websitesText": {
            "title": "Bulk paste",
            "type": "string",
            "description": "Paste many domains or URLs at once, one per line or separated by commas, spaces or semicolons. Combined with the list above."
          },
          "datasetId": {
            "title": "Dataset ID (optional)",
            "type": "string",
            "description": "Read company domains from an existing Apify dataset, for example a lead list from another Actor. Use together with the field name below."
          },
          "datasetField": {
            "title": "Dataset field",
            "type": "string",
            "description": "Field in each dataset item that holds the website or domain. Dot paths such as company.website are supported. Default: website.",
            "default": "website"
          },
          "maxPagesPerSite": {
            "title": "Max contact pages per site",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Homepage plus the best contact-type pages linked from it (contact, about, imprint, locations). 4 finds most published company details. The careers page and sitemap are extra and do not count here. The price per site does not change with this setting.",
            "default": 4
          },
          "checkCareersPage": {
            "title": "Check the careers page for an ATS",
            "type": "boolean",
            "description": "When the homepage links to a careers or jobs page on the same site, load that one page to find the applicant tracking system it uses (Greenhouse, Lever, Workday, Ashby, SmartRecruiters and about 25 more). The ATS page itself is never loaded. Adds 1 request per site.",
            "default": true
          },
          "includeSitemap": {
            "title": "Estimate page count from the sitemap",
            "type": "boolean",
            "description": "Read the site's own sitemap (from robots.txt, or /sitemap.xml) and report an estimated page count. Reads at most 4 sitemap files per site; sitemap.exact says if the number is a full count.",
            "default": true
          },
          "includeDns": {
            "title": "Look up email provider (DNS)",
            "type": "boolean",
            "description": "Check the domain's public MX, NS and TXT records to name the email provider (Google Workspace, Microsoft 365, Zoho and others) and to catch more technologies. Public DNS only.",
            "default": true
          },
          "includePhones": {
            "title": "Find company phone numbers",
            "type": "boolean",
            "description": "Collect phone numbers from tel: links, schema.org data and labelled numbers on the page (Phone:, Tel, Call us). Numbers are validated and formatted in international format.",
            "default": true
          },
          "defaultCountry": {
            "title": "Default country for phone numbers",
            "type": "string",
            "description": "Two-letter country code used to read local numbers written without a country code, when the site's domain ending or page language does not reveal the country. Example: US, GB, DE.",
            "default": "US"
          },
          "sameDomainEmailsOnly": {
            "title": "Only emails on the company's own domain",
            "type": "boolean",
            "description": "Keep only generic addresses like info@company.com for company.com. Drops Gmail, Outlook and agency addresses. Personal mailboxes (jane.doe@) are never reported, with or without this option.",
            "default": false
          },
          "dedupe": {
            "title": "Remove duplicates",
            "type": "boolean",
            "description": "Scan each website only once, even if it appears several times in the input.",
            "default": true
          },
          "maxItems": {
            "title": "Max websites",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many websites. 0 means no limit.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel websites",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "How many websites are enriched at the same time (each loads its pages 2 at a time). Leave empty for automatic: 10 at 512 MB memory (the default), 16 at 1024 MB or more, 6 at 256 MB."
          },
          "timeoutSecs": {
            "title": "Timeout per page (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum time for loading one page, including redirects. A whole website gets at most 4 times this.",
            "default": 20
          },
          "userAgent": {
            "title": "Custom User-Agent",
            "type": "string",
            "description": "Optional. By default the Actor identifies itself honestly as CompanyWebsiteEnricher with a link to this page."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}