{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Enrichment API — Domain to Company Profile",
    "description": "Give it domains, URLs or email addresses and get one company profile per domain, read from the company's own website and its own DNS: name, legal name, HQ, founded year, logo, socials, role-based emails and phones, technology stack, mail/DNS/registrar/TLS and the ATS it hires through. No API key.",
    "version": "0.1",
    "x-build-id": "WvSeWRvgMN2CpAghm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/insight.solutions~company-enrichment-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-insight.solutions-company-enrichment-api",
        "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/insight.solutions~company-enrichment-api/runs": {
      "post": {
        "operationId": "runs-sync-insight.solutions-company-enrichment-api",
        "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/insight.solutions~company-enrichment-api/run-sync": {
      "post": {
        "operationId": "run-sync-insight.solutions-company-enrichment-api",
        "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": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "One entry per company. A bare domain (`stripe.com`), a URL (`https://www.stripe.com/about`) or an email address (`sales@stripe.com`) all work — the registrable domain is what identifies the company, and the same company written three ways is fetched and billed once. Free-mail domains, IP addresses and anything that is not a domain get a free diagnostic row instead of a charge.",
            "items": {
              "type": "string"
            }
          },
          "includeContacts": {
            "title": "Contacts",
            "type": "boolean",
            "description": "Role-based emails, phone numbers, social profiles, the contact/imprint/privacy/press page URLs, VAT ID and `security.txt`. Read only from the pages already fetched.",
            "default": true
          },
          "includeTechStack": {
            "title": "Technology stack",
            "type": "boolean",
            "description": "232 signatures over the pages already fetched: CMS, e-commerce platform, JS framework, analytics, ad pixels, chat widget, payment providers, CDN, hosting and security vendor. Costs CPU, not requests.",
            "default": true
          },
          "includeInfrastructure": {
            "title": "Infrastructure (DNS, registrar, TLS)",
            "type": "boolean",
            "description": "Four DNS lookups (MX, NS, TXT, A), the RDAP registration record and the TLS certificate. This is the column group that never fails to render: a company that publishes nothing about itself still has a mail provider, a registrar and a certificate.",
            "default": true
          },
          "includeHiring": {
            "title": "Hiring signal",
            "type": "boolean",
            "description": "Which applicant tracking system the company recruits through, its board slug and, for nine of the eleven platforms, the number of open roles. Detection is free — it reads pages already fetched; only the role count costs one request.",
            "default": true
          },
          "domain": {
            "title": "Single domain",
            "type": "string",
            "description": "A convenience for integrations that cannot send an array, such as a webhook or a spreadsheet cell. Whatever you put here is added to `domains`, so leave it empty when you are already sending a list."
          },
          "maxPagesPerSite": {
            "title": "Pages per site",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "HTML pages fetched per company, including the home page. Discovery takes at most one page per role — contact, imprint, about, careers, team, press, legal, privacy, security — plus two others, best first. `/robots.txt` is outside this budget because it is a policy fetch, and `/.well-known/security.txt` gets one extra allowance.",
            "default": 6
          },
          "includePersonalEmails": {
            "title": "Include person-shaped email addresses",
            "type": "boolean",
            "description": "OFF by default, and read the privacy section of the README before turning it on. With it off, an address survives only when its local part is a recognised business role or generic word (`info@`, `sales@`, `careers@`); anything else — including a name that also carries a role word, like `anna.sales@` — is treated as a natural person's and dropped. With it on you become the controller of personal data under the GDPR and the CCPA.",
            "default": false
          },
          "contactPathHints": {
            "title": "Extra paths to prefer",
            "type": "array",
            "description": "Paths to rank first during discovery, for a market whose conventions differ from the defaults — for example `[\"/impressum\", \"/unternehmen\"]` for German sites. An exact path match scores above every built-in role.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minConfidence": {
            "title": "Minimum confidence",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "A profile whose `confidence` is below this is returned as a **free** diagnostic row carrying the same columns, and is not charged for. At the default of 0 nothing changes. Set it high enough to reject everything and the run finishes FAILED with nothing billed.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Domains in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many companies are enriched at once. Each gets its own proxy session, so one site that refuses a request does not burn the exit IP the others are using.",
            "default": 5
          },
          "maxRunSecs": {
            "title": "Time budget (seconds)",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "Wall-clock budget for the whole run. Domains the run never reaches get a free `timeout` diagnostic and are never charged for.",
            "default": 240
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify **datacenter** proxy by default, which is what every captured test fixture was taken through and what every one of those sites answered on. Switch to residential only if a target refuses datacenter addresses — it costs considerably more per gigabyte and the per-row price assumes datacenter.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}