{
  "openapi": "3.0.1",
  "info": {
    "title": "Europages Scraper: European B2B Suppliers and Manufacturers",
    "description": "Search Europages by product or service, country and activity, or paste company links: one row per European supplier, manufacturer or wholesaler with address, activities, product keywords, employees, founding year, website, phone and VAT id. No login.",
    "version": "0.1",
    "x-build-id": "gxRnnJUvBIU4ezj8w"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/themineworks~europages-company-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-themineworks-europages-company-scraper",
        "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/themineworks~europages-company-scraper/runs": {
      "post": {
        "operationId": "runs-sync-themineworks-europages-company-scraper",
        "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/themineworks~europages-company-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-themineworks-europages-company-scraper",
        "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": {
          "searchQueries": {
            "title": "Keywords (product or service)",
            "type": "array",
            "description": "Products or services, one per line, as you would type them in the Europages search box. Example: packaging, industrial valves, contract manufacturing. Each keyword is one search (or one search per country and type when you set those below).",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Supplier countries (optional)",
            "type": "array",
            "description": "Only companies based in these countries. Two letter codes or English names, one per line, for example DE, FR, IT, ES, PL, GB, TR. Each country is its own search, which also lifts the site's 3,000 companies per search limit. Empty: all countries.",
            "items": {
              "type": "string"
            }
          },
          "supplierTypes": {
            "title": "Activities (optional)",
            "type": "array",
            "description": "Only companies that list one of these activities. Each one is its own search. Empty: all activities.",
            "items": {
              "type": "string",
              "enum": [
                "manufacturer",
                "distributor",
                "wholesaler",
                "service_provider",
                "custom_manufacturer"
              ],
              "enumTitles": [
                "Manufacturer/Producer",
                "Distributor",
                "Wholesaler",
                "Service provider",
                "Customer-specific manufacturer"
              ]
            }
          },
          "maxItems": {
            "title": "Max companies per search",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "The most companies to return for each search (each keyword, or each keyword and country pair, or each pasted search link), 1 to 3,000. A results page holds 30 companies and Europages shows up to 100 pages per search.",
            "default": 50
          },
          "includeDetails": {
            "title": "Open company profiles (VAT id, product keywords, products, contacts)",
            "type": "boolean",
            "description": "On: each company's profile page is opened too, for the VAT id, the company's own product keywords, its products with prices, product categories, business area, fax, certificates and named contacts. Off: rows come from the search results only (name, address, activities, description, employees, founding year, website, phone), which is faster. Same price either way.",
            "default": true
          },
          "language": {
            "title": "Europages site and language",
            "enum": [
              "en",
              "de",
              "fr",
              "it",
              "es",
              "pt",
              "nl",
              "pl",
              "sv"
            ],
            "type": "string",
            "description": "Which Europages site keyword searches run on. It sets the language of descriptions and profile links, and matches keywords in that language (kaffee on the German site, café on the French one). Pasted links keep their own site.",
            "default": "en"
          },
          "startUrls": {
            "title": "Search or company links (optional)",
            "type": "array",
            "description": "Europages links copied from your browser, on any Europages site: search results such as https://www.europages.co.uk/companies/germany/wholesaler/coffee.html or https://www.europages.fr/entreprises/emballage.html, and company profiles such as https://www.europages.co.uk/en/company/<name>-22265800. Search links are read from the page in the link onward.",
            "items": {
              "type": "string"
            }
          },
          "companyUrls": {
            "title": "Companies (optional, one row each)",
            "type": "array",
            "description": "Single companies to look up: profile links, profile slugs or numeric Europages company ids, one per line. Example: 22265800. Use this to refresh or enrich known suppliers from Clay, n8n or a spreadsheet; each one is one profile page.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}