{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Domain Finder: Name to Website, Logo, LinkedIn",
    "description": "Company lookup and enrichment: turn company and business names into official websites and domains, each checked on the home page, with confidence score, logo URL and LinkedIn page. Optional emails via findContacts for the company email domain. $0.80 per 1,000 domains found; names not found are free.",
    "version": "0.7",
    "x-build-id": "SU0pYdA4OkGv7CuWe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datagleaner~company-domain-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datagleaner-company-domain-finder",
        "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/datagleaner~company-domain-finder/runs": {
      "post": {
        "operationId": "runs-sync-datagleaner-company-domain-finder",
        "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/datagleaner~company-domain-finder/run-sync": {
      "post": {
        "operationId": "run-sync-datagleaner-company-domain-finder",
        "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": {
          "companies": {
            "title": "Company names",
            "type": "array",
            "description": "One company per line. Add a location after a comma or a pipe to tell same-named companies apart: `Bosch, Germany`, `Joe's Pizza, New York`, `Acme | Austin, US`. Legal forms like Inc, GmbH, Ltd or S.A. are fine. Leave empty to run a 3-company example. Billing: $0.0008 per company whose website is found at or above Minimum confidence; companies not found are free.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country (for every name)",
            "type": "string",
            "description": "Optional. A country name or ISO code (`DE`, `Japan`, `United Kingdom`) used for every name that has none of its own. It picks the right local site (bosch.de over bosch.com) and drops same-named companies from other countries. Example: `DE`."
          },
          "city": {
            "title": "City (for every name)",
            "type": "string",
            "description": "Optional. A city used for every name that has none of its own. Helps with local businesses. Example: `Austin`."
          },
          "industry": {
            "title": "Industry hint",
            "type": "string",
            "description": "Optional. A word or two about what the companies do (`software`, `coffee roaster`, `law firm`). Used to prefer the right match among same-named companies."
          },
          "minConfidence": {
            "title": "Minimum confidence",
            "minimum": 0,
            "maximum": 0.99,
            "type": "number",
            "description": "A website is returned (and billed) only when its confidence is at least this. 0.8 and above is high: a name-based domain agrees with the company's own home page. Raise to 0.8 for precision, lower to 0.3 to see more guesses. Below the floor, the row is free and its best guesses are in `alternatives`.",
            "default": 0.5
          },
          "useWebSearch": {
            "title": "Web search (retired, ignored)",
            "type": "boolean",
            "description": "Retired on 2026-11-02 and ignored: the Actor reads no search engine. Accepted so saved tasks keep working; it changes nothing.",
            "default": true
          },
          "findContacts": {
            "title": "Also find emails and phones",
            "type": "boolean",
            "description": "Optional. After the websites are found, run Data Gleaner's Website Contact Details Scraper on your account for them and add `bestEmail`, `emailList`, `phoneList`, `contactForms` and `contactSocials` to each row. It bills its own $0.002 per site with an email, on top of this Actor's price. If it fails or times out, the rows keep their domain result and get a `contactsNote`.",
            "default": false
          },
          "stopAt": {
            "title": "Stop at (for callers)",
            "type": "string",
            "description": "For callers: an ISO-8601 UTC timestamp (for example 2026-11-06T10:15:00Z). The run saves what it has, sets its status message and ends as succeeded shortly before this moment. Parent Actors set it so a queued sub-run does not outlive their wait. Empty or unreadable values are ignored; a past value ends the run at once."
          },
          "maxContactSites": {
            "title": "Max sites for contacts",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Only used with Also find emails and phones. At most this many distinct websites are sent to the contacts scraper (first found first); the rest get a `contactsNote`.",
            "default": 50
          },
          "datasetId": {
            "title": "Dataset ID (names from another Actor)",
            "type": "string",
            "description": "Optional. Read company names from this dataset and add them to the list above. The first present field of `companyName`, `company`, `organization`, `businessName`, `name`, `title` is used, with `country`, `city`, `website`, `phone` and `postalCode` when present (Google Maps Leads rows carry all of them). A row's website that loads and names the company is returned without any search; a phone number or postal code printed on a candidate's home, contact or about page raises its confidence. In an integration use `{{resource.defaultDatasetId}}`. Example: `Zk5f8GhJq2xYabcDe` (the run's `defaultDatasetId`)."
          },
          "datasetNameField": {
            "title": "Name field in the dataset",
            "type": "string",
            "description": "Optional. The dataset field that holds the company name, when it is not one of the usual ones. Tried first. Example: `businessName`."
          },
          "maxDatasetItems": {
            "title": "Max names from the dataset",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stops reading the dataset after this many names.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Companies in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many companies are looked up at the same time.",
            "default": 10
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 3,
            "maximum": 60,
            "type": "integer",
            "description": "How long to wait for each page or API answer.",
            "default": 15
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Leave empty: requests go direct. A site that refuses the run is reported as not reachable and is never retried through another IP. Set a proxy here only to send every home-page request through it (one sticky session for the run; Wikidata is always asked directly). Format: `{\"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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}