{
  "openapi": "3.0.1",
  "info": {
    "title": "Europages Scraper - B2B Products and Company Data",
    "description": "Extract Europages products, suppliers and public contact details from European market sites. Search by keyword or collect company and product pages. Pay per delivered row plus a start fee.",
    "version": "0.1",
    "x-build-id": "YM3kaocza0iKGK9ps"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~europages-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-europages-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/lentic_clockss~europages-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-europages-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/lentic_clockss~europages-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-europages-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "auto",
              "product_search",
              "company_search",
              "company",
              "product",
              "catalog",
              "instore_search",
              "similar_products",
              "autocomplete",
              "ai_company_intent",
              "trending"
            ],
            "type": "string",
            "description": "Auto selects a mode from the target fields you fill; keywords select product search. Choose a specific mode with its required targets, or the Actor selects a compatible mode and records the change in INPUT_REPORT.",
            "default": "auto"
          },
          "query": {
            "title": "Query",
            "type": "string",
            "description": "One keyword or phrase for search, autocomplete or company-search interpretation. In product and company search it is combined with searchQueries, without repeating identical keywords."
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search. In product and company search, each keyword can return up to maxResults rows.",
            "items": {
              "type": "string"
            }
          },
          "detailUrls": {
            "title": "Detail URLs",
            "type": "array",
            "description": "Europages company or product page URLs. With automatic mode, a list containing only company pages selects company details.",
            "items": {
              "type": "string"
            }
          },
          "companyUrl": {
            "title": "Company URL",
            "pattern": "^(https?://([a-z0-9-]+\\.)*europages\\.[a-z.]+/.*)?$",
            "type": "string",
            "description": "A full Europages company page URL. Use a current profile address from the market site you want."
          },
          "productUrl": {
            "title": "Product URL",
            "pattern": "^(https?://([a-z0-9-]+\\.)*europages\\.[a-z.]+/.*)?$",
            "type": "string",
            "description": "A full Europages product page URL. Prefer the current address containing the company and product names and identifiers."
          },
          "companyIds": {
            "title": "Company IDs",
            "type": "array",
            "description": "Numeric Europages company identifiers or full Europages company page URLs.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product IDs",
            "type": "array",
            "description": "Full Europages product page URLs or numeric product identifiers. A numeric ID may point to a missing older page; missing pages do not produce billable rows.",
            "items": {
              "type": "string"
            }
          },
          "market": {
            "title": "Market (language site)",
            "enum": [
              "en",
              "fr",
              "de",
              "es",
              "it",
              "tr",
              "pl",
              "nl",
              "pt",
              "ro",
              "gr",
              "se",
              "dk",
              "fi",
              "no",
              "cz",
              "hu",
              "bg",
              "ee",
              "lt",
              "si"
            ],
            "type": "string",
            "description": "Choose the Europages language site. Supplier country is a separate setting in countryFilters.",
            "default": "en"
          },
          "maxResults": {
            "title": "Max results per input",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Most rows for each search query, detail URL, company ID, or product ID. Default 70; larger numbers are collected in parts of 70. All row types count together. The whole run stops at your maximum total charge. Free Apify plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer).",
            "default": 70
          },
          "countryFilters": {
            "title": "Supplier countries",
            "type": "array",
            "description": "Supplier country codes such as DE or FR. Enter several codes to include suppliers from several countries.",
            "items": {
              "type": "string"
            }
          },
          "countryFilter": {
            "title": "Supplier country (single)",
            "pattern": "^([A-Za-z]{2})?$",
            "type": "string",
            "description": "One two-letter supplier country code, such as DE. It is combined with countryFilters."
          },
          "supplierTypes": {
            "title": "Supplier types",
            "type": "array",
            "description": "Supplier activities: Production, CustomerSpecificManufacturing, Distribution, Service or Wholesaler.",
            "items": {
              "type": "string"
            }
          },
          "categoryIds": {
            "title": "Category IDs",
            "type": "array",
            "description": "Numeric category identifiers from Europages or the leafCategoryId field of a product. Category-filtered searches can take longer.",
            "items": {
              "type": "string"
            }
          },
          "searchCategory": {
            "title": "Category lookup text",
            "type": "string",
            "description": "Category name or slug for lookup only; it does not filter search results or add dataset rows. Use categoryIds to filter by category."
          },
          "employeeCounts": {
            "title": "Employee count buckets",
            "type": "array",
            "description": "Employee ranges such as 1-4, 20-49 or 100-199. The older From20To49 format is also accepted.",
            "items": {
              "type": "string"
            }
          },
          "verified": {
            "title": "Verified suppliers only",
            "type": "boolean",
            "description": "Limit search results to suppliers with the Europages verification flag.",
            "default": false
          },
          "quickResponder": {
            "title": "Quick responder only",
            "type": "boolean",
            "description": "Limit search results to suppliers marked as quick responders by Europages.",
            "default": false
          },
          "sort": {
            "title": "Sort",
            "type": "string",
            "description": "An optional sort value offered by Europages. Sorting other than relevance can take longer."
          },
          "maxPages": {
            "title": "Maximum search pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum search pages to request, from 1 to 50. The row limit or end of available matches may stop collection earlier.",
            "default": 5
          },
          "page": {
            "title": "Start page",
            "type": "integer",
            "description": "The first search page to collect, starting at 1.",
            "default": 1
          },
          "enrichDetails": {
            "title": "Add details to search rows",
            "type": "boolean",
            "description": "Add available product or company details to search rows, including public contact fields. Enabled by default, limited to the first 20 rows in a collection batch; enrichment does not create another billable row.",
            "default": true
          },
          "includeCatalog": {
            "title": "Request category information",
            "type": "boolean",
            "description": "Request category information alongside collection. This does not add category rows to the dataset or expose a downloadable catalogue.",
            "default": false
          },
          "companySearchFallback": {
            "title": "Allow English-site company search fallback",
            "type": "boolean",
            "description": "For company searches using category or sort filters, allow the English site with a supplier-country hint when the selected market search is unavailable.",
            "default": true
          },
          "workerBaseUrl": {
            "title": "Developer testing",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}