{
  "openapi": "3.0.1",
  "info": {
    "title": "Uber Eats Scraper - Restaurants, Menus, Prices & Delivery Times",
    "description": "Scrape Uber Eats restaurants and stores for any address, a whole city or store URLs, in every Uber Eats country: ratings, delivery times and fees, offers, address, phone, opening hours, coordinates and full menus with prices. Monitoring mode returns new stores only.",
    "version": "0.0",
    "x-build-id": "o7rcryuMSCxNg6Scw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lukass~uber-eats-mp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lukass-uber-eats-mp",
        "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/lukass~uber-eats-mp/runs": {
      "post": {
        "operationId": "runs-sync-lukass-uber-eats-mp",
        "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/lukass~uber-eats-mp/run-sync": {
      "post": {
        "operationId": "run-sync-lukass-uber-eats-mp",
        "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",
        "required": [
          "proxy"
        ],
        "properties": {
          "country": {
            "title": "Country",
            "enum": [
              "us",
              "ca",
              "mx",
              "gb",
              "ie",
              "fr",
              "es",
              "pt",
              "it",
              "de",
              "at",
              "ch",
              "be",
              "nl",
              "lu",
              "pl",
              "se",
              "dk",
              "no",
              "au",
              "nz",
              "jp",
              "tw",
              "za",
              "ke",
              "cl",
              "co",
              "cr",
              "do",
              "ec",
              "gt",
              "pa",
              "pe",
              "uy"
            ],
            "type": "string",
            "description": "Country of the addresses and cities (for geocoding and the proxy). Uber Eats decides per address whether it delivers; the run log says when it does not.",
            "default": "us"
          },
          "locations": {
            "title": "Delivery addresses",
            "type": "array",
            "description": "Addresses or coordinates (\"40.7580,-73.9855\") to deliver to, one per line. Each returns the stores Uber Eats shows for that address.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Whole cities",
            "type": "array",
            "description": "City names. The city is covered with a grid of delivery points and every store found anywhere in it is returned once.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Store URLs",
            "type": "array",
            "description": "Uber Eats store pages to scrape directly, e.g. https://www.ubereats.com/store/five-guys-plaza-cataluna/WmkoYolaU1KHFxvPsV_Icg. Details and menu are always fetched; delivery time is for the first address above, if any.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "gridSpacingKm": {
            "title": "City grid spacing (km)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Distance between delivery points when scraping a whole city.",
            "default": 3
          },
          "maxPointsPerCity": {
            "title": "Max delivery points per city",
            "minimum": 1,
            "type": "integer",
            "description": "Caps the grid for very large cities. The points kept are spread evenly over the city.",
            "default": 150
          },
          "searchQueries": {
            "title": "Search",
            "type": "array",
            "description": "Search terms, as typed into the app: a brand (\"McDonald's\"), a dish (\"pizza\") or a cuisine. Each runs at every address and city point.",
            "items": {
              "type": "string"
            }
          },
          "onlyNameMatches": {
            "title": "Only stores named like the search",
            "type": "boolean",
            "description": "Keep only results whose name contains the search term - to find one brand's branches.",
            "default": false
          },
          "nameFilter": {
            "title": "Store name contains",
            "type": "array",
            "description": "Keep only stores whose name contains one of these (case and punctuation ignored).",
            "items": {
              "type": "string"
            }
          },
          "onlyOpen": {
            "title": "Only open now",
            "type": "boolean",
            "description": "Skip stores that do not take orders right now.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "type": "string",
            "description": "Only stores rated at least this many stars (out of 5), e.g. 4.5."
          },
          "storeTypes": {
            "title": "Store types",
            "type": "array",
            "description": "Keep only these kinds of store. Needs \"Fetch store details and menu\" (the kind is on the store page); stores of other kinds are skipped and not billed.",
            "items": {
              "type": "string",
              "enum": [
                "restaurant",
                "grocery",
                "convenience",
                "liquor",
                "pharmacy",
                "retail",
                "florist",
                "pet_supply",
                "specialty_food"
              ],
              "enumTitles": [
                "Restaurants",
                "Grocery",
                "Convenience",
                "Liquor",
                "Pharmacy",
                "Retail",
                "Florist",
                "Pet supplies",
                "Specialty food"
              ]
            }
          },
          "outputMode": {
            "title": "Output",
            "enum": [
              "restaurants",
              "menuItems"
            ],
            "type": "string",
            "description": "One record per store (with its menu nested), or one record per menu item - easier for spreadsheets and price comparison.",
            "default": "restaurants"
          },
          "fetchMenu": {
            "title": "Fetch store details and menu",
            "type": "boolean",
            "description": "One extra request per store for its address, coordinates, phone, opening hours, cuisines, price level and full menu. Turn off for a cheaper list of names, ratings, delivery times and offers only.",
            "default": true
          },
          "includeMenuItems": {
            "title": "Include menu items",
            "type": "boolean",
            "description": "Add every menu item (name, description, price, category, photo, availability) to each store record.",
            "default": true
          },
          "includeModifiers": {
            "title": "Include item options",
            "type": "boolean",
            "description": "Add each item's option groups (sizes, sides, extras) with their prices, and its dietary labels. One extra request per item that has options - about a third to half of a menu - billed per item, and runs take longer.",
            "default": false
          },
          "maxPagesPerPoint": {
            "title": "Max list pages per point",
            "minimum": 1,
            "type": "integer",
            "description": "Caps how many pages of each delivery point's feed or search are read (about 80-120 stores per page).",
            "default": 20
          },
          "maxItems": {
            "title": "Max stores",
            "type": "integer",
            "description": "Stop after this many stores. Split evenly between sources (each address, city, search term and URL). Leave empty for no limit."
          },
          "monitoringMode": {
            "title": "Monitoring mode (only new stores)",
            "type": "boolean",
            "description": "Return only stores that earlier runs of this same search did not list - new openings and stores that started delivering to the area. The first run is the baseline.",
            "default": false
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy uses residential IPs from the selected country by default. Proxy costs are included in the price.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}