{
  "openapi": "3.0.1",
  "info": {
    "title": "Just Eat, Lieferando & Thuisbezorgd Scraper — 9 Countries",
    "description": "Every restaurant delivering to a postcode on Just Eat (UK, CH, ES, IT), Lieferando (DE, AT), Thuisbezorgd (NL) and Takeaway.com (BE, LU): name, cuisines, rating, reviews, address, coordinates, delivery fees, minimum order, ETA, open now, deals. No login.",
    "version": "0.1",
    "x-build-id": "4GUBiGpafcL5UYVJl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~just-eat-takeaway-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-just-eat-takeaway-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/yugenox~just-eat-takeaway-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-just-eat-takeaway-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/yugenox~just-eat-takeaway-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-just-eat-takeaway-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": {
          "country": {
            "title": "🌍 Country",
            "enum": [
              "uk",
              "de",
              "at",
              "nl",
              "be",
              "lu",
              "ch",
              "es",
              "it"
            ],
            "type": "string",
            "description": "Which Just Eat Takeaway.com site to read. UK = Just Eat UK, Germany = Lieferando.de, Austria = Lieferando.at, Netherlands = Thuisbezorgd.nl, Belgium / Luxembourg = Takeaway.com, Switzerland / Spain / Italy = Just Eat. You can also mix countries in one run by writing a postcode as \"de:10115\".",
            "default": "uk"
          },
          "postcodes": {
            "title": "📮 Postcodes",
            "type": "array",
            "description": "Postcodes to look up — every restaurant that delivers to (or offers collection near) each postcode is returned. Examples: UK \"EC4M 7RF\" or a district like \"EC4M\"; Germany \"10115\"; Netherlands \"1012\" (the 4 digits); Austria \"1010\"; Belgium \"1000\"; Luxembourg \"1111\"; Switzerland \"8001\"; Spain \"28013\"; Italy \"20121\". Prefix a postcode with a country code to mix countries (\"de:10115\", \"nl:1012\"). You can also paste area links from the sites (e.g. lieferando.de/lieferservice/essen/berlin-10115).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Area links",
            "type": "array",
            "description": "Optional: area pages copied from the sites, e.g. https://www.lieferando.de/lieferservice/essen/berlin-10115, https://www.thuisbezorgd.nl/bezorgen/eten/amsterdam-1012, https://www.just-eat.co.uk/area/ec4m7rf-london. The country and postcode are read from the link.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max restaurants",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of restaurants for the whole run. A big-city postcode has 1,000–2,000 restaurants. 0 = no limit.",
            "default": 1000
          },
          "maxItemsPerPostcode": {
            "title": "Max restaurants per postcode",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap per postcode (after your filters and sorting), e.g. 50 to get the top 50 of each area. 0 = no cap.",
            "default": 0
          },
          "cuisines": {
            "title": "🍕 Cuisines",
            "type": "array",
            "description": "Keep only restaurants with one of these cuisines, e.g. \"pizza\", \"sushi\", \"indian\", \"burgers\", \"groceries\". Matched against the site's cuisine names and keys (accents and case ignored). Empty = all cuisines.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Restaurant name contains",
            "type": "string",
            "description": "Keep only restaurants whose name contains this text, e.g. \"Domino\" or \"McDonald\"."
          },
          "openNowOnly": {
            "title": "Open now only",
            "type": "boolean",
            "description": "Keep only restaurants open right now for delivery or collection (and not temporarily offline).",
            "default": false
          },
          "deliveryOnly": {
            "title": "Delivery only",
            "type": "boolean",
            "description": "Keep only restaurants that deliver to the postcode (drops collection-only places).",
            "default": false
          },
          "minRating": {
            "title": "Min rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only restaurants rated at least this (0–5 stars). Restaurants without reviews are left out when this is set."
          },
          "minReviews": {
            "title": "Min reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only restaurants with at least this many reviews."
          },
          "maxDeliveryFee": {
            "title": "Max delivery fee",
            "minimum": 0,
            "type": "number",
            "description": "Keep only restaurants whose delivery fee (at their minimum order) is at most this much, in the site's currency (GBP, EUR or CHF). 0 = free delivery only."
          },
          "maxMinimumOrder": {
            "title": "Max minimum order",
            "minimum": 0,
            "type": "number",
            "description": "Keep only restaurants whose minimum order for delivery is at most this much, in the site's currency."
          },
          "maxDistanceKm": {
            "title": "Max distance (km)",
            "minimum": 0,
            "type": "number",
            "description": "Keep only restaurants at most this many kilometres away from the postcode (driving distance as given by the site)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "default",
              "rating",
              "reviews",
              "distance",
              "deliveryFee",
              "minimumOrder",
              "name"
            ],
            "type": "string",
            "description": "Order of the restaurants within each postcode. \"Site order\" is the ranking the site shows for that postcode (promoted listings included). Sorting happens before the max-restaurants cuts, so \"Highest rated\" + Max 50 gives the 50 best-rated.",
            "default": "default"
          },
          "dedupe": {
            "title": "One row per restaurant",
            "type": "boolean",
            "description": "A restaurant that delivers to several of your postcodes is saved once (with the first postcode's fees and distance). Turn off to get one row per restaurant per postcode — useful to compare delivery fees and distances across areas.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new restaurants",
            "type": "boolean",
            "description": "Skip restaurants that an earlier run with the same postcodes and filters already saved (they are not charged). Ideal for a daily or weekly schedule to spot new openings.",
            "default": false
          },
          "language": {
            "title": "Labels language",
            "enum": [
              "en",
              "local"
            ],
            "type": "string",
            "description": "Language of cuisine names and deal descriptions. English for every country, or the site's own language (German for Lieferando, Dutch for Thuisbezorgd …).",
            "default": "en"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan. If the site refuses datacenter IPs for a while, the run switches to residential proxies by itself when your account has them.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}