{
  "openapi": "3.0.1",
  "info": {
    "title": "Zomato Scraper — Restaurants, Phones, Menus & Reviews",
    "description": "Scrape Zomato restaurants by city, area, delivery address, cuisine, collection or URL — no login. Dining and delivery ratings, cost for two, phone numbers, full address, pincode, GPS, timings, amenities, offers, photos, plus optional delivery menus and reviews.",
    "version": "0.1",
    "x-build-id": "bNI9cf7OpjEoEKqhm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~zomato-restaurants-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-zomato-restaurants-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/yugenox~zomato-restaurants-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-zomato-restaurants-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/yugenox~zomato-restaurants-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-zomato-restaurants-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": "Zomato city, as in the zomato.com address: ncr (Delhi NCR — Delhi, Gurgaon, Noida), mumbai, bangalore, pune, hyderabad, chennai, kolkata, ahmedabad, jaipur, chandigarh, lucknow, goa, kochi, indore… Common names like Delhi, Bengaluru or Gurugram work too. Separate several cities with commas."
          },
          "mode": {
            "title": "🍽️ Listing",
            "enum": [
              "dineout",
              "delivery",
              "nightlife"
            ],
            "type": "string",
            "description": "Which Zomato tab to scrape for the city / areas: Dining out, Delivery, or Nightlife (bars, pubs, clubs).",
            "default": "dineout"
          },
          "locations": {
            "title": "📍 Areas or delivery addresses",
            "type": "array",
            "description": "Search around specific places instead of (or as well as) a whole city, e.g. \"Koramangala, Bangalore\", \"Bandra West, Mumbai\", \"Cyber Hub Gurgaon\", or a full street address. With Listing = Delivery you get the restaurants that deliver to that address.",
            "items": {
              "type": "string"
            }
          },
          "cuisines": {
            "title": "🥘 Cuisines",
            "type": "array",
            "description": "Only restaurants serving these cuisines (one search per cuisine), for the City and Areas above. Use Zomato's names, e.g. North Indian, Chinese, Biryani, South Indian, Pizza, Cafe, Desserts.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Zomato URLs",
            "type": "array",
            "description": "Any zomato.com page: a city or area listing (/ncr/restaurants, /mumbai/delivery, /bangalore/indiranagar-restaurants), a cuisine page (/pune/restaurants/biryani), nightlife (/ncr/drinks-and-nightlife), a collection (/ncr/insta-worthy), a chain (/ncr/restaurants/haldirams), or a single restaurant page.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max restaurants",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of restaurants for the whole run (menu items and reviews are extra rows on top). Set a large number, e.g. 100000, to get everything Zomato lists.",
            "default": 100
          },
          "maxItemsPerSearch": {
            "title": "🔢 Max restaurants per city / area / URL",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap for each individual city, area or URL."
          },
          "splitLargeSearches": {
            "title": "➗ Go beyond 500 per search",
            "type": "boolean",
            "description": "Zomato lists at most ~500 dine-out restaurants per search. When you ask for more, the scraper automatically re-runs the search in other sort orders and per cuisine, and removes duplicates, to reach thousands of restaurants in big cities. Duplicates are never charged.",
            "default": true
          },
          "deliveryGridRadiusKm": {
            "title": "🗺️ Delivery grid radius (km)",
            "minimum": 0,
            "maximum": 40,
            "type": "integer",
            "description": "Delivery only. Each address sees the restaurants that deliver there. Set a radius to also search a grid of points around the city center / each address and cover a whole city. 0 = off.",
            "default": 0
          },
          "deliveryGridStepKm": {
            "title": "🗺️ Delivery grid spacing (km)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Distance between grid points. 3 km is a good balance; smaller = more points, more requests.",
            "default": 3
          },
          "includeDetails": {
            "title": "📇 Full restaurant details",
            "type": "boolean",
            "description": "Open each restaurant page for phone numbers, full address, pincode, GPS, opening hours, amenities, payment methods, popular dishes, dining offers, photos and menu-card images. Turn off for a faster listing-only run.",
            "default": true
          },
          "includeMenu": {
            "title": "📜 Delivery menu",
            "type": "boolean",
            "description": "Add one row per dish from each restaurant's online-ordering menu: name, description, category, veg / non-veg, bestseller, tags, photo. Zomato shows base dish prices only to signed-in users, so dish prices are not included; add-on / customisation prices and the FSSAI licence number are added to the restaurant row.",
            "default": false
          },
          "includeReviews": {
            "title": "💬 Reviews",
            "type": "boolean",
            "description": "Add review rows for each restaurant: rating, dining / delivery, text, date, likes, photos, owner replies.",
            "default": false
          },
          "maxReviewsPerRestaurant": {
            "title": "💬 Max reviews per restaurant",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Up to 500 per restaurant per sort order.",
            "default": 20
          },
          "reviewsSort": {
            "title": "💬 Review order",
            "enum": [
              "newest",
              "oldest",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Which reviews to collect first.",
            "default": "newest"
          },
          "reviewsType": {
            "title": "💬 Review type",
            "enum": [
              "all",
              "dining",
              "delivery"
            ],
            "type": "string",
            "description": "All reviews, or only dining / only delivery reviews.",
            "default": "all"
          },
          "includeReviewerNames": {
            "title": "👤 Include reviewer names",
            "type": "boolean",
            "description": "Add the reviewer's public display name, profile link and review / follower counts to each review.",
            "default": false
          },
          "maxConcurrency": {
            "title": "⚡ Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests run at once. The default is fast and safe.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Apify datacenter proxy works well and is the default. Blocked IPs are rotated automatically, with an automatic residential fallback.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}