{
  "openapi": "3.0.1",
  "info": {
    "title": "Uber Eats Scraper",
    "description": "Uber Eats Scraper scrapes Uber Eats stores by delivery address or store URL: restaurants, grocery and convenience, with menus, hours, ratings, delivery fee and ETA.",
    "version": "0.1",
    "x-build-id": "RcHoyc6ewkB1QR8L5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fastdataapi~uber-eats-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fastdataapi-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/fastdataapi~uber-eats-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fastdataapi-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/fastdataapi~uber-eats-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fastdataapi-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": {
          "query": {
            "title": "🔎 Search keyword",
            "type": "string",
            "description": "Optional keyword to filter stores by (e.g. \"pizza\"). Applies to every address. Leave empty to list all stores near the address.",
            "default": ""
          },
          "addresses": {
            "title": "📍 Delivery addresses",
            "type": "array",
            "description": "One address per line (e.g. \"7519 Leesburg Pike, Falls Church, VA\"). A line written as \"latitude,longitude\" (e.g. \"38.8870,-77.1700\") skips geocoding and searches from those coordinates instead. Each address gets its own \"Max stores per address\". Leave empty when using Store URLs below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Store URLs",
            "type": "array",
            "description": "Direct Uber Eats store links to scrape (e.g. https://www.ubereats.com/store/<name>/<id>). Overrides Delivery addresses when both are set. One row per URL -- no \"Max stores\" limit applies to these.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max stores per address",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum stores to return for EACH address above (or the real end of results, if fewer). 3 addresses x 15 = up to 45 rows. Only applies to Delivery addresses, not Store URLs. Free plan: up to 20 stores per run (all entries together) and 200 per month; paid plans have no limit.",
            "default": 15
          },
          "storeType": {
            "title": "🔧 Store category",
            "enum": [
              "ALL",
              "RESTAURANTS",
              "GROCERY",
              "CONVENIENCE",
              "ALCOHOL",
              "PHARMACY",
              "PRESCRIPTIONS",
              "PERSONAL_CARE",
              "BABY",
              "SPECIALITY_FOODS",
              "PET_SUPPLIES",
              "FLOWERS",
              "RETAIL",
              "BEAUTY",
              "ELECTRONICS",
              "SHOP"
            ],
            "type": "string",
            "description": "Limit the search to one store category. Applies to every address.",
            "default": "ALL"
          },
          "diningMode": {
            "title": "🔧 Dining mode",
            "enum": [
              "DELIVERY",
              "PICKUP"
            ],
            "type": "string",
            "description": "Search and price stores for delivery or for pickup.",
            "default": "DELIVERY"
          },
          "addressCountry": {
            "title": "📍 Address country hint",
            "type": "string",
            "description": "Optional country to append to each address when looking it up (e.g. \"US\"). Helps disambiguate addresses that exist in more than one country.",
            "default": ""
          },
          "excludeStores": {
            "title": "🎯 Exclude stores",
            "type": "array",
            "description": "Store URLs or IDs to skip when searching by address.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "groceryCatalog": {
            "title": "✅ Include raw grocery aisles",
            "type": "boolean",
            "description": "For grocery/convenience stores, also include the store's raw aisles list in the output.",
            "default": false
          },
          "getMenuCustomizations": {
            "title": "✅ Fetch menu-item customizations",
            "type": "boolean",
            "description": "Fetch the full customization/option tree for every menu item (one extra request per item -- much slower). Off by default.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Optional proxy to start with. When pages are refused, the actor moves to stronger proxies on its own."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}