{
  "openapi": "3.0.1",
  "info": {
    "title": "Deliveroo Restaurant & Menu Scraper",
    "description": "Scrape Deliveroo restaurants and full menus with prices (UK, France, UAE and more): ratings, fees, minimum order, ETA, promotions, address and coordinates, plus every item with price, discount, calories, dietary tags and modifiers. Paste a listing or menu URL, or a lat,lng.",
    "version": "0.1",
    "x-build-id": "8lqOCCctOGM6jOBen"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/teodor_banea~deliveroo-restaurant-menu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-teodor_banea-deliveroo-restaurant-menu-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/teodor_banea~deliveroo-restaurant-menu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-teodor_banea-deliveroo-restaurant-menu-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/teodor_banea~deliveroo-restaurant-menu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-teodor_banea-deliveroo-restaurant-menu-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": "Start URLs",
            "type": "array",
            "description": "Enter Deliveroo URLs: neighbourhood listing pages (https://deliveroo.co.uk/restaurants/london/fitzrovia?geohash=gcpvhep7zzx1) or restaurant menu pages (https://deliveroo.co.uk/menu/london/leicester-square/wingstop-uk). Any Deliveroo domain works (.co.uk, .fr, .ae, .ie, .be, .it, .com.kw, .com.qa), with or without the /en/ prefix.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "locations": {
            "title": "Locations (latitude,longitude)",
            "type": "array",
            "description": "Enter delivery locations as \"latitude,longitude\" (e.g. \"51.5155,-0.1419\"). Each one opens the restaurant listing Deliveroo shows for that address in the country picked below.",
            "items": {
              "type": "string"
            }
          },
          "countryDomain": {
            "title": "Country for locations",
            "enum": [
              "deliveroo.co.uk",
              "deliveroo.fr",
              "deliveroo.ae",
              "deliveroo.ie",
              "deliveroo.be",
              "deliveroo.it",
              "deliveroo.com.kw",
              "deliveroo.com.qa"
            ],
            "type": "string",
            "description": "Pick the Deliveroo country the locations above belong to. Start URLs carry their own domain and ignore this. UK, France and UAE are verified; Ireland, Belgium, Italy, Kuwait and Qatar use the same site but are untested. Hong Kong and Singapore have closed.",
            "default": "deliveroo.co.uk"
          },
          "mode": {
            "title": "What to extract",
            "enum": [
              "restaurants",
              "menus"
            ],
            "type": "string",
            "description": "\"Restaurant list\" returns one row per restaurant (rating, ETA, distance, promotions; menu URLs also add fees, minimum order, address, coordinates). \"Full menus with prices\" opens every restaurant found and returns one row per menu item — a typical restaurant has 50–250 items, so menus multiply the result count.",
            "default": "restaurants"
          },
          "includeModifiers": {
            "title": "Include modifier options",
            "type": "boolean",
            "description": "In menus mode, attach each item's modifier groups (sizes, sides, extras) with option prices to its row.",
            "default": true
          },
          "maxRestaurants": {
            "title": "Maximum restaurants",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on restaurants scraped (and menus fetched in menus mode). Set to 0 for no cap. The cap is shared by every listing and location in the run; a Deliveroo listing shows its top ~100–120 restaurants.",
            "default": 50
          },
          "maxItemsTotal": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Set a hard ceiling on billed results (restaurants, or menu items in menus mode). Leave at 0 for no limit. The crawler stops as soon as the ceiling is reached, so this bounds both the bill and the run time.",
            "default": 0
          },
          "maxItemsPerRestaurant": {
            "title": "Maximum items per restaurant",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "In menus mode, keep only the first N menu items of each restaurant (in menu order). Leave at 0 for complete menus. Useful for a cheap overview of many restaurants.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Set how many pages are fetched in parallel. Menu pages are large (up to 13 MB), so the default is deliberately low.",
            "default": 3
          },
          "maxRequestsPerMinute": {
            "title": "Maximum requests per minute",
            "minimum": 5,
            "maximum": 200,
            "type": "integer",
            "description": "Throttle the overall request rate.",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}