{
  "openapi": "3.0.1",
  "info": {
    "title": "Impressum Scraper API – Company, VAT, Register",
    "description": "Lead enrichment for Google Maps leads, CRM exports or domain lists: legal name and form, address, main phone, role e-mail, VAT id and register number (HRB, FN, CHE, Companies House, SIREN, KvK, KRS) from imprint pages in 15 countries. Company-level only, no person names. Schedule it for changes.",
    "version": "0.3",
    "x-build-id": "n3SixBno6OlXWRs9d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalkin~impressum-company-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalkin-impressum-company-data",
        "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/signalkin~impressum-company-data/runs": {
      "post": {
        "operationId": "runs-sync-signalkin-impressum-company-data",
        "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/signalkin~impressum-company-data/run-sync": {
      "post": {
        "operationId": "run-sync-signalkin-impressum-company-data",
        "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": {
          "domains": {
            "title": "Company websites",
            "type": "array",
            "description": "Domains or website URLs of companies, e.g. \"example.de\" or \"https://www.example.ch\". Up to 1,000 per run; duplicates (with or without www) are checked once. Not needed when the source is \"Apify dataset\".",
            "items": {
              "type": "string"
            }
          },
          "source": {
            "title": "Source of the websites",
            "enum": [
              "domains",
              "dataset",
              "hiring"
            ],
            "type": "string",
            "description": "'Domains' reads the websites listed above. 'Apify dataset' reads the company websites from a dataset you own – the output of a Google Maps scraper, a CRM export or a lead list (set the dataset ID below); only the website field is read, no other field of the rows is kept. 'Hiring companies' (coming soon) will take the websites of companies from the Signalkin job index; it is not available yet and stops the run with a message.",
            "default": "domains"
          },
          "datasetId": {
            "title": "Dataset ID",
            "type": "string",
            "description": "Source 'Apify dataset': pick one of your datasets or paste its ID, e.g. 'aBc123XyZ' or 'username~dataset-name'. After a Google Maps scraper in an integration, use {{resource.defaultDatasetId}}."
          },
          "websiteField": {
            "title": "Website field",
            "type": "string",
            "description": "Source 'Apify dataset': the field of the dataset rows that holds the company website, e.g. 'website'. Empty = detected per row in this order: website, url, domain, web, homepage, companyWebsite, site. Google Maps, Facebook, Instagram, LinkedIn, Yelp, Tripadvisor and other platform URLs are skipped (free) – they are not the company's own site."
          },
          "maxItems": {
            "title": "Max dataset rows",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Source 'Apify dataset': read at most this many rows (default 1,000, at most 5,000). Duplicate websites are checked once. About 1,000 websites take 10 minutes; for more than about 5,000 raise the run timeout.",
            "default": 1000
          },
          "mode": {
            "title": "Which companies to save",
            "enum": [
              "changes",
              "all"
            ],
            "type": "string",
            "description": "'Only new or changed' remembers what earlier runs saved (per monitor id) and saves a company again only when its name, address, phone, e-mail, VAT id or register entry changed – schedule it and you pay rows only for changes. 'All' saves every company found. The form starts on 'All' so a first try shows results; API calls, tasks and schedules that leave the field out get 'Only new or changed'.",
            "default": "changes"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Save only companies of these countries (ISO codes). Empty = all supported: DE, AT, CH, GB, FR, NL, BE, LU, PL (full parsers) and IE, IT, ES, US, CA, AU (basic). E.g. [\"DE\", \"AT\", \"CH\"].",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "AT",
                "CH",
                "GB",
                "FR",
                "NL",
                "BE",
                "LU",
                "PL",
                "IE",
                "IT",
                "ES",
                "US",
                "CA",
                "AU"
              ],
              "enumTitles": [
                "Germany",
                "Austria",
                "Switzerland",
                "United Kingdom",
                "France",
                "Netherlands",
                "Belgium",
                "Luxembourg",
                "Poland",
                "Ireland",
                "Italy",
                "Spain",
                "United States",
                "Canada",
                "Australia"
              ]
            },
            "default": []
          },
          "maxPagesPerDomain": {
            "title": "Max pages per website",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "The home page plus the legal notice / imprint, contact and about pages it links to. Reading stops as soon as the legal notice has the name, address and a register or VAT number.",
            "default": 4
          },
          "monitorId": {
            "title": "Monitor id",
            "type": "string",
            "description": "Name of the memory for 'Only new or changed'. Use different ids for independent lists, e.g. 'customers' and 'prospects-ch'.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}