{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Name to Domain - Bulk Website Finder",
    "description": "Find the official website domain for company names, in bulk or via an instant API for CRMs, n8n and AI agents. Company domain lookup with confidence score, verified live homepage, LinkedIn, logo and alternatives. Clearbit Name-to-Domain alternative. Pay only for resolved companies.",
    "version": "1.0",
    "x-build-id": "ljgAtdVkuDzDD1SiM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wrenfield-data~company-name-to-domain/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wrenfield-data-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/wrenfield-data~company-name-to-domain/runs": {
      "post": {
        "operationId": "runs-sync-wrenfield-data-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/wrenfield-data~company-name-to-domain/run-sync": {
      "post": {
        "operationId": "run-sync-wrenfield-data-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. Optionally add a hint after a <code>|</code> to tell similar names apart: a city, country or industry, e.g. <code>Delta | airline</code>, <code>Franklin Barbecue | Austin, TX</code>, <code>Rossmann | Germany</code>. Legal suffixes like Inc, LLC or GmbH are handled automatically.",
            "items": {
              "type": "string"
            }
          },
          "records": {
            "title": "Company records (JSON)",
            "type": "array",
            "description": "Optional. Company objects, e.g. <code>[{\"name\": \"Bolt\", \"country\": \"Estonia\", \"industry\": \"ride-hailing\", \"id\": \"crm-123\"}]</code>. Recognized keys: <code>name</code>/<code>company</code>, <code>country</code>, <code>city</code>/<code>location</code>, <code>industry</code>/<code>category</code>, <code>hint</code>. The whole record is returned in <code>inputRecord</code> so you can join results back to your CRM."
          },
          "csvData": {
            "title": "CSV rows",
            "type": "string",
            "description": "Optional. Paste CSV (comma, semicolon or tab separated). With a header row, the column named <code>name</code>/<code>company</code> is used and <code>country</code>, <code>city</code>, <code>industry</code> columns become hints. Without a header, the first column is the company name and the other columns are used as hints."
          },
          "country": {
            "title": "Default country",
            "type": "string",
            "description": "Optional country applied to every company without its own country (name or 2-letter code, e.g. <code>Germany</code> or <code>DE</code>). Prefers that country's domains (e.g. .de) and companies registered there."
          },
          "minConfidence": {
            "title": "Minimum confidence (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "A domain is returned (and charged) only when its confidence score is at least this value. Default 60 was ~98-100% precise on our test sets. Raise it to 80 for even fewer false positives; lower it to get more best guesses.",
            "default": 60
          },
          "searchFallback": {
            "title": "Web search fallback",
            "enum": [
              "auto",
              "always",
              "never"
            ],
            "type": "string",
            "description": "<b>Auto</b> (recommended): search the web only when the free sources are not confident enough. <b>Always</b>: search for every company (slower). <b>Never</b>: only Clearbit autocomplete, Wikidata and domain guesses.",
            "default": "auto"
          },
          "searchEngine": {
            "title": "Search engine for the fallback",
            "enum": [
              "bing",
              "google"
            ],
            "type": "string",
            "description": "<b>Bing / DuckDuckGo</b> via Apify Proxy. <b>Google</b> via Apify's Google SERP proxy gives the best results for small local businesses (only works on the Apify platform).",
            "default": "bing"
          },
          "useClearbit": {
            "title": "Use Clearbit autocomplete",
            "type": "boolean",
            "description": "Use the free public Clearbit company autocomplete as one of the candidate sources.",
            "default": true
          },
          "useWikidata": {
            "title": "Use Wikidata",
            "type": "boolean",
            "description": "Use the official website (P856) recorded on Wikidata as one of the candidate sources.",
            "default": true
          },
          "includeUnresolved": {
            "title": "Include unresolved companies",
            "type": "boolean",
            "description": "Also output a row (free of charge) for companies where no domain reached the minimum confidence, with the best guess and alternatives, so your output has one row per input.",
            "default": true
          },
          "maxAlternatives": {
            "title": "Max alternative domains per company",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many runner-up candidate domains to include (with their own confidence).",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many companies are resolved in parallel.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used for the web search fallback (Bing / DuckDuckGo). Homepages, Clearbit and Wikidata are fetched directly.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}