{
  "openapi": "3.0.1",
  "info": {
    "title": "Deliveroo Scraper - Restaurants and Menu Prices",
    "description": "Extract Deliveroo restaurant listings, menu prices, and restaurant links from city, cuisine, brand, and zone pages. Choose a country site or submit URLs. Pay per delivered row plus a start fee.",
    "version": "0.1",
    "x-build-id": "HwcZyZNwnIPrUd9t0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~deliveroo-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-deliveroo-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~deliveroo-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-deliveroo-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~deliveroo-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-deliveroo-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",
              "restaurants",
              "menu",
              "cities",
              "cuisines",
              "brands",
              "zones",
              "startUrls",
              "countryInfo"
            ],
            "type": "string",
            "description": "Use Auto to select a mode from the target fields you fill. Choose an explicit mode only when you want to override that selection. Market contact info (countryInfo) needs no other fields: it returns one support-contact row per Deliveroo market.",
            "default": "auto"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Deliveroo links: restaurant lists, menus, city, cuisine, brand or zone pages. Each link is one input with its own maxResults.",
            "items": {
              "type": "string",
              "pattern": "^https?://(?:[a-z0-9-]+\\.)*deliveroo\\.(?:co\\.uk|ie|fr|be|it|es|nl|ae|com\\.kw|com\\.sg|hk|com\\.hk)(?::443)?(?:[/?#][^\\s\\\\]*)?$"
            }
          },
          "menuUrl": {
            "title": "Menu URL",
            "pattern": "^(?:$|https?://(?:[a-z0-9-]+\\.)*deliveroo\\.(?:co\\.uk|ie|fr|be|it|es|nl|ae|com\\.kw|com\\.sg|hk|com\\.hk)(?::443)?(?:[/?#][^\\s\\\\]*)?)$",
            "type": "string",
            "description": "Full Deliveroo restaurant menu URL. Use this instead of supplying citySlug, neighborhoodSlug, and restaurantSlug separately."
          },
          "restaurantSlug": {
            "title": "Restaurant slug",
            "type": "string",
            "description": "Restaurant identifier from its Deliveroo menu URL, such as cay-tre. For menu mode, also supply the correct city and neighborhood."
          },
          "brandSlug": {
            "title": "Brand slug",
            "type": "string",
            "description": "Brand identifier from a Deliveroo brand URL, such as pizza-express. Selects brand-page restaurant discovery in Auto mode."
          },
          "zoneSlug": {
            "title": "Zone slug",
            "type": "string",
            "description": "Delivery-zone identifier from a Deliveroo zone URL, such as soho. Selects zone-page restaurant discovery in Auto mode."
          },
          "cuisineSlug": {
            "title": "Cuisine slug",
            "type": "string",
            "description": "Cuisine identifier from Deliveroo, such as burgers-takeaway. Short forms such as burger and pizza can resolve to matching cuisine identifiers."
          },
          "citySlug": {
            "title": "City slug",
            "type": "string",
            "description": "City as it appears in Deliveroo links, e.g. london, paris, dubai. With neighborhood and geohash it lists the restaurants delivering there; alone it lists the city page."
          },
          "neighborhoodSlug": {
            "title": "Neighborhood slug",
            "type": "string",
            "description": "Neighborhood as it appears in Deliveroo links, e.g. islington. Needed with city and geohash for restaurants, and with city and restaurant name for a menu."
          },
          "geohash": {
            "title": "Geohash",
            "pattern": "^[0-9b-hjkmnp-z]{0,12}$",
            "type": "string",
            "description": "Delivery location geohash, e.g. gcpvjmebpbm2 (London, Islington). Needed with city and neighborhood for restaurants."
          },
          "market": {
            "title": "Market",
            "enum": [
              "uk",
              "ie",
              "fr",
              "be",
              "it",
              "es",
              "nl",
              "ae",
              "kw",
              "sg",
              "hk"
            ],
            "type": "string",
            "description": "Deliveroo country-site code. The locale field is an alias; gb maps to uk. A selectable market does not guarantee live page availability.",
            "default": "uk"
          },
          "maxResults": {
            "title": "Max results per location or URL",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Most rows for each location search or start URL. Default 70; larger numbers are collected in parts of 70. Restaurant and menu-item rows 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
          },
          "includeMenuItems": {
            "title": "Include menu items",
            "type": "boolean",
            "description": "Add each menu item as a separately billed row when reading a menu page. Off by default; restaurant and item rows share maxResults.",
            "default": false
          },
          "maxMenuItemsPerRestaurant": {
            "title": "Menu items per restaurant",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum menu-item rows for one restaurant. Restaurant and item rows still share maxResults; this setting does not increase that limit.",
            "default": 25
          },
          "enrichDetails": {
            "title": "Enrich restaurant details",
            "type": "boolean",
            "description": "Add available merchant address and organization information from restaurant menu pages. Enabled by default; turn off to skip this additional detail collection.",
            "default": true
          },
          "locale": {
            "title": "Locale (alias of market)",
            "type": "string",
            "description": "Alternative name for market. Use a country-site code such as fr; gb is accepted as uk."
          },
          "proxyCountry": {
            "title": "Country override",
            "type": "string",
            "description": "Optional two-letter country override. Normally leave unset to use the country selected by market; uk uses gb."
          },
          "workerBaseUrl": {
            "title": "Developer test setting",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}