{
  "openapi": "3.0.1",
  "info": {
    "title": "Messe Frankfurt Product Scraper: Ambiente, Automechanika",
    "description": "Trade fair product scraper for Messe Frankfurt fairs worldwide: Ambiente, Automechanika, Heimtextil, Light + Building, ISH, Techtextil. One row per exhibitor product: name, description, pictures, novelty flag, product link, exhibitor, country, hall and stand. No start fee. $0.50 per 1,000.",
    "version": "1.0",
    "x-build-id": "gyuZI8L7NJPlD1DvB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~messe-frankfurt-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-messe-frankfurt-products-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/rel8ble~messe-frankfurt-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-messe-frankfurt-products-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/rel8ble~messe-frankfurt-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-messe-frankfurt-products-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": {
          "fairs": {
            "title": "Fairs (names, event ids, \"all\" or URLs)",
            "type": "array",
            "description": "Optional (give this or \"exhibitors\"). Fair names: ambiente, automechanika, christmasworld, creativeworld, heimtextil, techtextil, texprocess, light-building, ish, iffa, prolight-sound, eurobike, sps, formnext, pcim, intersec, automechanika-shanghai, automechanika-dubai and more. Any other Messe Frankfurt event id also works (e.g. MOTOBIKEISTANBUL). \"all\" = every Messe Frankfurt fair worldwide. Or a fair website / its exhibitor-search page URL. Each fair returns up to maxProductsPerFair products.",
            "items": {
              "type": "string"
            }
          },
          "exhibitors": {
            "title": "Exhibitors (bulk list of exhibitor pages or ids)",
            "type": "array",
            "description": "Optional. Up to thousands of exhibitors whose products you want, one per line. Either an exhibitor page URL (the profileUrl column of the Messe Frankfurt Exhibitor List Scraper, e.g. https://ambiente.messefrankfurt.com/frankfurt/en/exhibitor-search.detail.html/aja-dynasty-pvt-ltd.html) or \"<exhibitorId or URL name>@<eventId>\", e.g. aja-dynasty-pvt-ltd@AMBIENTE. All products of each exhibitor are returned; exhibitors without products cost nothing.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerFair": {
            "title": "Max products per fair",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Product rows saved per fair in \"fairs\", integer >= 0. Default 50; 0 = every product of the fair (a big fair such as Ambiente or Automechanika Frankfurt holds roughly 10,000; Creativeworld 897). You pay per row. Does not limit the \"exhibitors\" list.",
            "default": 50
          },
          "maxProductsPerExhibitor": {
            "title": "Max products per exhibitor",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep at most this many products of each exhibitor (in catalogue order). Default 0 = all of them (exhibitors usually list 1 to 10).",
            "default": 0
          },
          "keyword": {
            "title": "Keyword (search inside the fair)",
            "type": "string",
            "description": "Optional. Only exhibitors the fair search finds for this text (company, products, categories), e.g. \"brake pads\", \"LED\", \"ceramic mug\". All products of the matching exhibitors are returned; add productKeywords to keep only matching products. Empty = every exhibitor."
          },
          "productKeywords": {
            "title": "Product must contain (any of)",
            "type": "array",
            "description": "Optional. Keep only products whose name or description contains at least one of these words, e.g. [\"bamboo\", \"recycled\"]. Not case-sensitive. Filtered products are never charged.",
            "items": {
              "type": "string"
            }
          },
          "noveltiesOnly": {
            "title": "Only novelties",
            "type": "boolean",
            "description": "Optional. Keep only products the exhibitor marked as a novelty / new launch for this edition. Default false.",
            "default": false
          },
          "withImageOnly": {
            "title": "Only products with a picture",
            "type": "boolean",
            "description": "Optional. Skip products without a picture. Default false.",
            "default": false
          },
          "withLinkOnly": {
            "title": "Only products with a product link",
            "type": "boolean",
            "description": "Optional. Skip products without a link to the exhibitor's own product page or shop. Default false.",
            "default": false
          },
          "countries": {
            "title": "Exhibitor countries",
            "type": "array",
            "description": "Optional. Only products of exhibitors from these countries: names (\"Germany\", \"Italy\", \"South Korea\") or ISO codes (\"DE\", \"IT\", \"KOR\"). Applied by the fair site, so narrow lists are fast. Empty = all countries.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Product categories of the fair",
            "type": "array",
            "description": "Optional. Only exhibitors in these catalogue categories of the fair, e.g. \"Cook & Cut\" at Ambiente or \"Parts & Components\" at Automechanika. Exact name first, then \"name contains\". Unknown names are warned about and the top categories logged. Not used with \"all\". Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "de"
            ],
            "type": "string",
            "description": "Optional. Language of category and country names (product texts stay as the exhibitor wrote them). Default en.",
            "default": "en"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Optional, advanced. Parallel requests, 1-30. Default 20.",
            "default": 20
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Retries per failed request (each on a new session), 0-20. Default 6.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, advanced. Default: no proxy, with automatic Apify datacenter / residential proxy fallback for any request that fails. Set {\"useApifyProxy\": true} to force a proxy on every request.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}