{
  "openapi": "3.0.1",
  "info": {
    "title": "Just Eat UK Scraper",
    "description": "[💰 $3.0 / 1K] Extract restaurants and takeaways from Just Eat UK. Get name, cuisines, rating, review count, delivery ETA, fees, minimum order, address and coordinates. Turn on full details for the menu with prices, meal deals, opening hours, phone, and reviews. Search by postcode, area, or cuisine",
    "version": "1.0",
    "x-build-id": "On08aiaCsRQaHancE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~justeat-co-uk-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-justeat-co-uk-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/solidcode~justeat-co-uk-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-justeat-co-uk-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/solidcode~justeat-co-uk-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-justeat-co-uk-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": {
          "startUrls": {
            "title": "Just Eat URLs",
            "type": "array",
            "description": "Paste one or more Just Eat UK URLs. Accepts area/postcode pages (e.g. https://www.just-eat.co.uk/area/wc2-coventgarden) or individual restaurant pages (e.g. https://www.just-eat.co.uk/restaurants-example/menu). Filters in the URL are honoured as-is, so the Search Filters below are ignored for these URLs. Use this when you already built a search on the site.",
            "items": {
              "type": "string"
            }
          },
          "search": {
            "title": "Postcodes or Areas",
            "type": "array",
            "description": "Where to look for takeaways. Enter UK postcodes (e.g. 'EC1A 1BB', 'M1 1AE') or area slugs (e.g. 'wc2-coventgarden'). Each entry is searched separately. Leave empty when you are pasting URLs above.",
            "items": {
              "type": "string"
            }
          },
          "cuisine": {
            "title": "Cuisine",
            "enum": [
              "any",
              "pizza",
              "burgers",
              "chinese",
              "indian",
              "italian",
              "kebabs",
              "chicken",
              "japanese",
              "thai",
              "sushi",
              "breakfast",
              "desserts",
              "healthy",
              "vegan",
              "groceries"
            ],
            "type": "string",
            "description": "Only include restaurants serving this cuisine. Choose 'Any' to include all cuisines found in the area.",
            "default": "any"
          },
          "serviceType": {
            "title": "Service Type",
            "enum": [
              "any",
              "delivery",
              "collection"
            ],
            "type": "string",
            "description": "Only include restaurants that offer this service. 'Any' includes both delivery and collection.",
            "default": "any"
          },
          "openNowOnly": {
            "title": "Open Now Only",
            "type": "boolean",
            "description": "Only include restaurants that are currently open and accepting orders. Turn off to include closed and pre-order restaurants too.",
            "default": false
          },
          "minRating": {
            "title": "Minimum Rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only include restaurants with a star rating at or above this value (1-5). Leave empty for no minimum."
          },
          "includeDetails": {
            "title": "Include Full Restaurant Details",
            "type": "boolean",
            "description": "Visit each restaurant page to collect its full menu (categories, items, descriptions, prices, meal deals), opening hours, delivery fees and minimum order, service info, phone, address and coordinates. Turn off for a faster, cheaper run that returns only the summary fields from the area listing (name, rating, cuisines, delivery ETA).",
            "default": true
          },
          "includeMenu": {
            "title": "Include Menu Items",
            "type": "boolean",
            "description": "Return every menu item of each restaurant as its own result row (category, name, description, price, variations, meal-deal flags, nutritional info when available). Only applies when 'Include Full Restaurant Details' is on. A large menu can have 100-300+ items, and each item collected is returned and billed as a separate result. Turn off to keep only the restaurant summary rows.",
            "default": true
          },
          "includeReviews": {
            "title": "Include Reviews",
            "type": "boolean",
            "description": "Return customer reviews of each restaurant as their own result rows (author, rating, date, text). Only applies when 'Include Full Restaurant Details' is on. Each review collected is returned and billed as a separate result. Turn off to skip reviews.",
            "default": false
          },
          "maxReviewsPerRestaurant": {
            "title": "Max Reviews Per Restaurant",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on the number of reviews collected per restaurant (most recent first). Default 20. Set to 0 to collect every available review. Ignored when 'Include Reviews' is off.",
            "default": 20
          },
          "maxResults": {
            "title": "Max Restaurants",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of restaurants to collect across all URLs and searches. Set to 0 for as many as possible (up to a built-in safety cap). Menu items and reviews are additional to this count. The box starts at 10 so a first test run finishes quickly — raise it to collect hundreds or thousands (the field accepts any value up to the safety cap).",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}