{
  "openapi": "3.0.1",
  "info": {
    "title": "Deliveroo Scraper — Restaurants & Menu Prices",
    "description": "Scrape Deliveroo restaurants and optional full menus with item prices across major markets. Neighborhood queries, location URLs, or direct menu URLs. Public business contact when shown.",
    "version": "0.1",
    "x-build-id": "4OnVLU51PM3eedb4Z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bakos_bence~deliveroo/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bakos_bence-deliveroo",
        "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/bakos_bence~deliveroo/runs": {
      "post": {
        "operationId": "runs-sync-bakos_bence-deliveroo",
        "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/bakos_bence~deliveroo/run-sync": {
      "post": {
        "operationId": "run-sync-bakos_bence-deliveroo",
        "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": {
          "restaurantUrls": {
            "title": "Restaurant menu URLs (skip discovery)",
            "type": "array",
            "description": "Paste specific Deliveroo menu URLs to scrape those venues only. When set, locations and queries are ignored — always includes the full menu.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "queries": {
            "title": "City / neighborhood slugs",
            "type": "array",
            "description": "Deliveroo path slugs: <code>city/neighborhood</code> from the site URL (e.g. after <code>/menu/</code>). Pick a suggestion or type your own. Ignored when restaurant URLs are set. Examples: london/soho, london/shoreditch, london/camden, manchester/city-centre, birmingham/city-centre, edinburgh/city-centre, bristol/city-centre, leeds/city-centre.",
            "items": {
              "type": "string"
            },
            "default": [
              "london/soho"
            ]
          },
          "domain": {
            "title": "Deliveroo market (country site)",
            "enum": [
              "co.uk",
              "ae",
              "fr",
              "it",
              "ie",
              "be",
              "nl",
              "hk",
              "sg",
              "au",
              "qa",
              "kw"
            ],
            "type": "string",
            "description": "Which Deliveroo TLD to use with location slugs (menu URLs already include the market). Typing a non-UK slug (e.g. <code>paris/…</code>) auto-switches this to <code>.fr</code> when the city prefix is recognized.",
            "default": "co.uk"
          },
          "maxResults": {
            "title": "Restaurants per location",
            "type": "integer",
            "description": "Cap restaurants for each slug query. Keep <b>5</b> for a cheap first run. Explicit menu URL lists are scraped in full.",
            "default": 5
          },
          "location": {
            "title": "GPS coordinates (advanced)",
            "type": "object",
            "description": "For address-based markets: set <b>lat</b> and <b>lng</b> numbers (see README markets table). Ignored when restaurant URLs are set.",
            "properties": {
              "lat": {
                "title": "Latitude",
                "type": "number",
                "description": "Latitude of the delivery pin (decimal degrees). Used with lng when the market needs GPS instead of city/area slugs."
              },
              "lng": {
                "title": "Longitude",
                "type": "number",
                "description": "Longitude of the delivery pin (decimal degrees). Used with lat when the market needs GPS instead of city/area slugs."
              }
            }
          },
          "locationUrl": {
            "title": "Google Maps link",
            "type": "string",
            "description": "Paste a Google Maps URL — coordinates are taken from it. Ignored when restaurant URLs are set."
          },
          "address": {
            "title": "Place name or address",
            "type": "string",
            "description": "e.g. <code>Dubai Mall</code>, <code>JBR Beach</code> — resolved to coordinates. Ignored when restaurant URLs are set."
          },
          "scrapeMenu": {
            "title": "Fetch full menus (items & prices)",
            "type": "boolean",
            "description": "Off by default for fast listing runs. Turn on for item-level prices when discovering via <b>slugs</b> or GPS/address (slower). Pasted restaurant menu URLs always include the full menu.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Managed by the Actor; leave default. Datacenter Apify Proxy first; automatic RESIDENTIAL retry if Deliveroo rate-limits the exit IP.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}