{
  "openapi": "3.0.1",
  "info": {
    "title": "Uber Eats Scraper - Restaurants, Menus, Prices & Phone Leads",
    "description": "Scrape Uber Eats restaurants & stores by city or URL: names, cuisines, ratings, price tier, full menus with prices, hours, geo-coordinates, delivery ETA and contact phone numbers. Includes a monitoring mode for only-new / changed data. Export to JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "PPa9Ls0abDjG3iIDq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~ubereats-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-ubereats-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/scrapesage~ubereats-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-ubereats-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/scrapesage~ubereats-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-ubereats-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": {
          "city": {
            "title": "City",
            "type": "string",
            "description": "City to scrape (the lead-gen workhorse). Use `City, ST` (e.g. `Austin, TX`, `Chicago, IL`, `Miami, FL`, `Los Angeles, CA`) or an Uber Eats city slug (`austin-tx`, `new-york-city`). The scraper crawls the city page plus its cuisine categories to gather a broad set of restaurants/stores."
          },
          "cities": {
            "title": "More cities (optional)",
            "type": "array",
            "description": "Additional cities to scrape in the same run, each crawled fully (e.g. `Seattle, WA`, `Denver, CO`).",
            "items": {
              "type": "string"
            }
          },
          "cuisines": {
            "title": "Cuisine categories (optional)",
            "type": "array",
            "description": "Limit / target the cuisine categories crawled per city, e.g. `american`, `mexican`, `pizza`, `sushi`, `chinese`, `italian`, `breakfast-and-brunch`, `dessert`, `fast-food`, `vegan`. Leave empty to auto-discover every cuisine listed for the city (recommended for max coverage).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Uber Eats URLs to scrape directly. Store pages (`https://www.ubereats.com/store/<slug>/<id>`) are scraped as full restaurant records; city pages (`/city/austin-tx`) and category pages (`/category/austin-tx/american`) are crawled for their store listings.",
            "items": {
              "type": "string"
            }
          },
          "maxStores": {
            "title": "Max restaurants",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of restaurants/stores to output across the whole run (0 = no limit). A big city can surface several hundred via the cuisine categories.",
            "default": 60
          },
          "maxCuisineCategories": {
            "title": "Max cuisine categories per city",
            "minimum": 0,
            "maximum": 40,
            "type": "integer",
            "description": "How many cuisine category pages to crawl per city for discovery (each adds ~20 mostly-unique restaurants). Higher = broader coverage, more requests.",
            "default": 16
          },
          "includeStoreDetails": {
            "title": "Enrich with full store details (phone, geo, hours)",
            "type": "boolean",
            "description": "For each restaurant, open its store page to capture the contact phone number, exact GPS coordinates, full address, opening hours, rating + review count, price tier and cuisines. This is the lead-gen wedge. Turn off for a faster, listing-only run.",
            "default": true
          },
          "includeMenu": {
            "title": "Include full menu",
            "type": "boolean",
            "description": "Attach the full menu (sections → items with names, descriptions, prices and images) to each restaurant record. Great for price/menu intelligence. Charged once per restaurant that has a menu.",
            "default": true
          },
          "includeReviews": {
            "title": "Include reviews (best-effort)",
            "type": "boolean",
            "description": "Attempt to attach customer reviews to each restaurant. Uber Eats exposes review TEXT inconsistently; the rating value and review count are always included regardless. No extra charge.",
            "default": false
          },
          "maxReviewsPerStore": {
            "title": "Max reviews per restaurant",
            "minimum": 0,
            "type": "integer",
            "description": "When reviews are included, the maximum number of reviews to keep per restaurant.",
            "default": 20
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only keep restaurants with a rating at or above this value (0 = keep all). Useful to target highly-rated venues.",
            "default": 0
          },
          "priceBuckets": {
            "title": "Price tiers",
            "type": "array",
            "description": "Only keep restaurants in these price tiers. Use `$`, `$$`, `$$$` or `$$$$`. Leave empty to keep all.",
            "items": {
              "type": "string"
            }
          },
          "openOnly": {
            "title": "Open restaurants only",
            "type": "boolean",
            "description": "Drop restaurants that are currently closed.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only restaurants with a phone number",
            "type": "boolean",
            "description": "Drop restaurants where Uber Eats does not publish a contact phone number (lead-gen focus).",
            "default": false
          },
          "monitorMode": {
            "title": "Monitoring mode — only new / changed restaurants",
            "type": "boolean",
            "description": "Remember restaurants seen in previous runs (in a named key-value store) and emit only NEW restaurants and ones whose rating, review count, price or menu size changed (tagged with `changeType`). Perfect for tracking a city on a schedule without re-paying for unchanged rows. Works alongside Apify Schedules — the schedule triggers the run, this controls what's emitted.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store holding the 'already seen' store ids/fingerprints for monitoring mode. Use a different name per tracked city/feed to keep histories separate. Lowercase letters, digits and hyphens only.",
            "default": "ubereats-monitor"
          },
          "localeCode": {
            "title": "Locale",
            "type": "string",
            "description": "Uber Eats locale code for the API (default `en-US`). Uber Eats operates in 30+ countries.",
            "default": "en-US"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Maximum number of store pages fetched in parallel.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Apify Proxy is required. The default (datacenter) works well; if you see blocks on large runs, switch to RESIDENTIAL (US).",
            "default": {
              "useApifyProxy": true
            }
          },
          "urlsFromFile": {
            "title": "Import URLs from a file",
            "type": "string",
            "description": "Paste a list of URLs (one per line), OR one link to a .txt/.csv file, Google Sheet or Google Drive file containing them. Lets you import many Start URLs at once instead of typing each. Google Sheet/Drive share links are handled automatically."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}