{
  "openapi": "3.0.1",
  "info": {
    "title": "Uber Eats Scraper",
    "description": "Scrape Uber Eats restaurants, grocery stores, full menus and reviews for any address or city. Prices, ratings, phone, delivery time and fee, promotions and item options. Search by keyword or paste store links. No login.",
    "version": "0.0",
    "x-build-id": "QF28aIGd2fvTQfOVG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/calm_builder~uber-eats-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-calm_builder-uber-eats-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/calm_builder~uber-eats-scraper/runs": {
      "post": {
        "operationId": "runs-sync-calm_builder-uber-eats-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/calm_builder~uber-eats-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-calm_builder-uber-eats-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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Where to look for stores, one per line. You get the stores that deliver to that spot, like in the Uber Eats app. Any of these works:<br>• Street address: <code>350 5th Ave, New York, NY 10118</code><br>• City or neighbourhood: <code>Brooklyn, NY</code> or <code>Shoreditch, London</code><br>• Postcode with city: <code>M5V 3L9 Toronto</code><br>• Coordinates (latitude, longitude): <code>40.7484, -73.9857</code><br>• Google Maps place ID: <code>ChIJOwg_06VPwokRYv534QaPC8g</code><br>Add the city and country to short names so the right place is found. The run log shows which place each line was matched to.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country of the locations",
            "enum": [
              "us",
              "ca",
              "gb",
              "ie",
              "au",
              "nz",
              "fr",
              "de",
              "es",
              "it",
              "pt",
              "nl",
              "be",
              "ch",
              "at",
              "se",
              "pl",
              "jp",
              "tw",
              "mx",
              "cl",
              "co",
              "cr",
              "ec",
              "gt",
              "za",
              "ke",
              "lk"
            ],
            "type": "string",
            "description": "The country your locations are in. It makes sure a city name like 'Richmond' or 'Perth' is found in the right country. Coordinates and place IDs work in any country. For locations in several countries, run once per country.",
            "default": "us"
          },
          "searchRadiusKm": {
            "title": "Search radius around each location (km)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "0 = only the stores that deliver to the exact location (usually a few hundred in a city). Set a radius to cover a whole area: the Actor searches many spots inside it and merges everything into one list without duplicates.<br>• 3-5 km: a neighbourhood or city centre<br>• 10-15 km: most of a city<br>• 25+ km: a large metro area<br>A bigger radius finds more stores and takes longer. 'Maximum stores' below still applies.",
            "default": 0
          },
          "searchTerms": {
            "title": "Search terms (optional)",
            "type": "array",
            "description": "Search Uber Eats like in the app, one term per line, for example <code>pizza</code>, <code>sushi</code>, <code>vegan</code>, <code>Thai</code> or a store name such as <code>7-Eleven</code> or <code>Walgreens</code>. Each term is searched at every location. Leave empty to get all stores at the locations.",
            "items": {
              "type": "string"
            }
          },
          "storeUrls": {
            "title": "Store links (optional)",
            "type": "array",
            "description": "Links to specific Uber Eats stores, one per line, e.g. <code>https://www.ubereats.com/store/joes-pizza/a1b2c3...</code>. When you add links, <b>only these stores are scraped</b>: the first location above (if any) is used as their delivery address for delivery time and fee, and no area search is done. Without a location, delivery time and fee stay empty.",
            "items": {
              "type": "string"
            }
          },
          "maxStores": {
            "title": "Maximum stores",
            "minimum": 0,
            "type": "integer",
            "description": "How many stores to collect in total, across all locations, search terms and links. 0 = every store found. Each store gives one store row, plus its menu items and reviews if you turn them on below.",
            "default": 50
          },
          "storeTypes": {
            "title": "Store types",
            "type": "array",
            "description": "Collect only these kinds of stores. Leave empty to get every kind.",
            "items": {
              "type": "string",
              "enum": [
                "restaurant",
                "grocery",
                "convenience",
                "alcohol",
                "other"
              ],
              "enumTitles": [
                "Restaurants",
                "Grocery stores and supermarkets",
                "Convenience stores",
                "Alcohol and liquor stores",
                "Other shops (retail, pharmacy, flowers, pets...)"
              ]
            }
          },
          "excludeStores": {
            "title": "Skip these stores",
            "type": "array",
            "description": "Stores whose name contains any of these words are skipped, one per line, e.g. <code>McDonald's</code> or <code>Subway</code> (not case-sensitive). You can also paste a store link to skip exactly that store.",
            "items": {
              "type": "string"
            }
          },
          "includeClosedStores": {
            "title": "Include stores that are closed right now",
            "type": "boolean",
            "description": "On: locations and search terms also find stores that are closed at the moment (their row shows when they open), so the result is about the same at any hour - usually 2x or more stores than open-now only. Off: only stores taking orders right now. Store links are always scraped.",
            "default": true
          },
          "includeMenu": {
            "title": "Menu items",
            "type": "boolean",
            "description": "One row per menu item: name, price, description, photo, menu section, popularity (e.g. 92% liked), 'Popular' badge, promotions, sold-out status and more. Restaurants come with their full menu, including breakfast or late-night menus served at other times of day. Turn off to get only the store rows.",
            "default": true
          },
          "fullCatalog": {
            "title": "Full grocery and retail catalog",
            "type": "boolean",
            "description": "Grocery, convenience and retail stores show only their first 30-50 items on the store page. Turn this on to collect every aisle: often thousands of items per store (13,000+ for a large supermarket). A large store takes a few minutes. When off, those stores have menuStatus = partial. Has no effect on restaurants, which always come complete.",
            "default": false
          },
          "maxItemsPerStore": {
            "title": "Maximum menu items per store",
            "minimum": 0,
            "type": "integer",
            "description": "0 = all items. Useful to cap very large grocery catalogs. Stores cut off by this limit have menuStatus = limited.",
            "default": 0
          },
          "includeItemOptions": {
            "title": "Item options (sizes, toppings, add-ons)",
            "type": "boolean",
            "description": "For each menu item that can be customised, add its option groups (size, toppings, sides, drinks) with every choice, its extra price and how many can be picked, plus nutrition and dietary labels where the store lists them. Charged once per item that has options. Makes the run slower, so leave it off if you only need prices.",
            "default": false
          },
          "includeReviews": {
            "title": "Customer reviews",
            "type": "boolean",
            "description": "The customer reviews shown on each store's page: reviewer first name, review text and date. Uber Eats shows a sample of recent reviews per store (usually up to about 200), not every review ever written. Uber Eats does not show a star rating per review; the store's overall rating and rating count are on the store row.",
            "default": false
          },
          "maxReviewsPerStore": {
            "title": "Maximum reviews per store",
            "minimum": 0,
            "type": "integer",
            "description": "0 = all reviews the store shows.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}