{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Name to Domain: Find Official Websites",
    "description": "Company name to domain finder: give company names (or a dataset of them) and get each one's official website and domain, with a confidence score and its evidence, logo, social profiles and country. Checks Wikidata, Google Maps and the homepage. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "02O9cS8VsTCyXf07Y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~company-name-to-domain/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-company-name-to-domain",
        "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/steadyscrape~company-name-to-domain/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-company-name-to-domain",
        "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/steadyscrape~company-name-to-domain/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-company-name-to-domain",
        "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, as a list or a CRM writes it (<code>Patagonia</code>, <code>Siemens AG</code>, <code>Acme Ltd T/A Sunrise Care</code>). Add where it is after a comma (<code>Franklin Barbecue, Austin TX</code>) for local businesses and common names: the town decides between namesakes. Each company comes back as one row with its official domain, or with the reason it has none. Up to 10,000 per run, together with the dataset below.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location for every name",
            "type": "string",
            "description": "Where the companies without a location of their own are, e.g. <code>Austin, TX</code> or <code>Germany</code>. Leave empty for well-known companies anywhere."
          },
          "country": {
            "title": "Country",
            "enum": [
              "ar",
              "au",
              "at",
              "bd",
              "be",
              "br",
              "bg",
              "ca",
              "cl",
              "cn",
              "co",
              "hr",
              "cz",
              "dk",
              "eg",
              "ee",
              "fi",
              "fr",
              "de",
              "gr",
              "hk",
              "hu",
              "in",
              "id",
              "ie",
              "il",
              "it",
              "jp",
              "ke",
              "lv",
              "lt",
              "lu",
              "my",
              "mx",
              "nl",
              "nz",
              "ng",
              "no",
              "pk",
              "pe",
              "ph",
              "pl",
              "pt",
              "qa",
              "ro",
              "sa",
              "sg",
              "sk",
              "si",
              "za",
              "kr",
              "es",
              "se",
              "ch",
              "tw",
              "th",
              "tr",
              "ua",
              "ae",
              "gb",
              "us",
              "uy",
              "vn"
            ],
            "type": "string",
            "description": "The country the companies are in, when the list is from one country: it ranks that country's namesakes first and guesses its domains (<code>.co.uk</code>, <code>.de</code>). Leave empty to read each name's country from its location."
          },
          "datasetId": {
            "title": "Or take the names from a dataset",
            "type": "string",
            "description": "Pick the dataset of another run (a jobs scrape, a sponsor register, a lead list) and every item's company is looked up. Only the dataset you pick here can be read. Items without a company name are skipped and counted in the status message."
          },
          "datasetNameField": {
            "title": "Dataset field with the company name",
            "type": "string",
            "description": "The field of each item that holds the company's name, as a dotted path (<code>company</code>, <code>employer.name</code>). Leave empty to take the first field named like <code>company</code>, <code>companyName</code>, <code>organisation</code>, <code>employer</code> or <code>name</code>."
          },
          "datasetLocationField": {
            "title": "Dataset field with the location",
            "type": "string",
            "description": "The field with the company's town or address (<code>location</code>, <code>town</code>). Leave empty to take the first field named like <code>location</code>, <code>city</code>, <code>town</code> or <code>address</code>."
          },
          "minConfidence": {
            "title": "Minimum confidence",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "A domain is returned (and charged) only when its confidence (0 to 100) reaches this. Every row lists the evidence behind its score. 50 returns a domain that one source and its homepage agree on; raise it to 80 for only the strongest matches. Names below it come back as free rows with their best score.",
            "default": 50
          },
          "useGoogleMaps": {
            "title": "Ask Google Maps",
            "type": "boolean",
            "description": "Look the name (and location) up on Google Maps when Wikidata does not settle it: the source that knows local businesses. Turn off for lists of large companies only.",
            "default": true
          },
          "guessDomains": {
            "title": "Guess domains",
            "type": "boolean",
            "description": "When no source gives a website, try the domains the name spells (<code>acmeplumbing.com</code>, <code>acme-plumbing.co.uk</code>). A guess counts only when its homepage names the company, and the town typed (or is a domain of the company's country).",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}