{
  "openapi": "3.0.1",
  "info": {
    "title": "Zomato City Restaurant & Cuisine Filter Scraper",
    "description": "Pull Zomato restaurant listings for Indian and UAE cities by URL or by city, cuisine, category, rating, and cost filters, with ratings, cost for two, location, phones, hours, and top dishes per restaurant.",
    "version": "2.0",
    "x-build-id": "HLwMqMbmlXdrIYzMC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nimbryxo-studio~zomato-city-restaurant-and-cuisine-filter-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nimbryxo-studio-zomato-city-restaurant-and-cuisine-filter-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/nimbryxo-studio~zomato-city-restaurant-and-cuisine-filter-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nimbryxo-studio-zomato-city-restaurant-and-cuisine-filter-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/nimbryxo-studio~zomato-city-restaurant-and-cuisine-filter-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nimbryxo-studio-zomato-city-restaurant-and-cuisine-filter-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": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "search",
              "collections",
              "restaurant",
              "reviews",
              "menu",
              "photos"
            ],
            "type": "string",
            "description": "Choose the record type you want. Search and Collections return restaurant rows; Restaurant returns one detailed row per restaurant; Reviews, Menu and Photos return one row per review, dish or photo.",
            "default": "search"
          },
          "startUrls": {
            "title": "Zomato URLs or restaurant IDs",
            "type": "array",
            "description": "Accepts any mix of Zomato listing, locality, collection, restaurant or share URLs, plus numeric restaurant IDs. Examples: https://www.zomato.com/mumbai/restaurants, https://www.zomato.com/dubai/jones-the-grocer-al-barsha, https://www.zomato.com/mumbai/insta-worthy, 18619718.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "city": {
            "title": "City",
            "enum": [
              "mumbai",
              "ncr",
              "bangalore",
              "pune",
              "hyderabad",
              "chennai",
              "kolkata",
              "ahmedabad",
              "jaipur",
              "lucknow",
              "goa",
              "kochi",
              "coimbatore",
              "chandigarh",
              "indore",
              "bhopal",
              "nagpur",
              "surat",
              "vadodara",
              "patna",
              "ranchi",
              "bhubaneswar",
              "guwahati",
              "dehradun",
              "amritsar",
              "ludhiana",
              "nashik",
              "aurangabad",
              "mysore",
              "trivandrum",
              "visakhapatnam",
              "vijayawada",
              "agra",
              "varanasi",
              "kanpur",
              "dubai",
              "abudhabi",
              "sharjah",
              "ajman"
            ],
            "type": "string",
            "description": "Used with Search and Collections when you do not paste a listing URL. All cities where Zomato currently publishes restaurant data."
          },
          "searchMode": {
            "title": "Listing type",
            "enum": [
              "dining",
              "delivery",
              "cafes",
              "nightlife"
            ],
            "type": "string",
            "description": "Which Zomato city surface to read.",
            "default": "dining"
          },
          "cuisine": {
            "title": "Cuisine",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "10",
              "18",
              "22",
              "25",
              "27",
              "30",
              "35",
              "38",
              "40",
              "45",
              "47",
              "48",
              "49",
              "50",
              "55",
              "60",
              "62",
              "63",
              "65",
              "66",
              "67",
              "69",
              "70",
              "71",
              "72",
              "73",
              "74",
              "75",
              "82",
              "83",
              "84",
              "85",
              "86",
              "87",
              "88",
              "89",
              "90",
              "93",
              "95",
              "99",
              "100",
              "102",
              "111",
              "112",
              "114",
              "117",
              "118",
              "119",
              "121",
              "128",
              "131",
              "132",
              "133",
              "134",
              "135",
              "136",
              "137",
              "139",
              "140",
              "141",
              "142",
              "143",
              "145",
              "146",
              "147",
              "148",
              "149",
              "150",
              "151",
              "152",
              "153",
              "154",
              "156",
              "157",
              "158",
              "159",
              "161",
              "162",
              "163",
              "164",
              "165",
              "166",
              "168",
              "175",
              "177",
              "178",
              "179",
              "181",
              "182",
              "183",
              "190",
              "192",
              "193",
              "196",
              "201",
              "237",
              "280",
              "283",
              "292",
              "401",
              "581",
              "925",
              "926",
              "945",
              "951",
              "954",
              "955",
              "973",
              "984",
              "1035",
              "1069",
              "1075",
              "1082",
              "1087",
              "1088"
            ],
            "type": "string",
            "description": "Narrow the city search to one cuisine. Choose Any to keep every cuisine.",
            "default": ""
          },
          "cuisineSlug": {
            "title": "Custom cuisine ID or slug",
            "type": "string",
            "description": "Optional free-form cuisine, e.g. 'chinese' or '1051'. Overrides the Cuisine dropdown when set."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "",
              "3.5",
              "4",
              "4.5",
              "5"
            ],
            "type": "string",
            "description": "Server-side rating filter.",
            "default": ""
          },
          "sort": {
            "title": "Sort restaurants",
            "enum": [
              "popularity",
              "rating",
              "costLowToHigh",
              "costHighToLow"
            ],
            "type": "string",
            "description": "Order of returned restaurant rows. Applied by Zomato where supported and again locally.",
            "default": "popularity"
          },
          "minCost": {
            "title": "Minimum cost for two",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop restaurants whose published cost for two is below this amount. Leave 0 for no lower bound.",
            "default": 0
          },
          "maxCost": {
            "title": "Maximum cost for two",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop restaurants whose published cost for two is above this amount. Leave 0 for no upper bound.",
            "default": 0
          },
          "expandCuisines": {
            "title": "Fan out across popular cuisines",
            "type": "boolean",
            "description": "For a city search, also read one listing per popular cuisine (20 extra listings). Multiplies coverage because Zomato shows only 9 rows per listing.",
            "default": false
          },
          "expandCollections": {
            "title": "Fan out across collections",
            "type": "boolean",
            "description": "For a city search, also read the city's curated collections. Each collection page can expose dozens of restaurants.",
            "default": false
          },
          "includeDetails": {
            "title": "Fetch full restaurant details",
            "type": "boolean",
            "description": "Fetch each restaurant's detail page for phones, coordinates, hours, offers, payments, chain and more. Turn off for a faster, cheaper run.",
            "default": true
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Attach reviews to each restaurant row (Search/Collections/Restaurant) or return flat review rows in Reviews mode.",
            "default": false
          },
          "maxReviewsPerRestaurant": {
            "title": "Max reviews per restaurant",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "0 means every review Zomato exposes (guarded at 10,000). Reviews are paginated 5 per request.",
            "default": 20
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "oldest",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Applied locally after fetching.",
            "default": "newest"
          },
          "includeMenu": {
            "title": "Include menu",
            "type": "boolean",
            "description": "Attach menu items to each restaurant row (Search/Collections/Restaurant) or return one row per dish in Menu mode.",
            "default": false
          },
          "includeMenuImages": {
            "title": "Include menu image pages",
            "type": "boolean",
            "description": "When a restaurant only publishes menu photos, keep the image page URLs.",
            "default": true
          },
          "includePhotos": {
            "title": "Include photo gallery",
            "type": "boolean",
            "description": "Attach gallery photos to each restaurant row or return flat photo rows in Photos mode.",
            "default": false
          },
          "maxPhotosPerRestaurant": {
            "title": "Max photos per restaurant",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "0 means every photo Zomato exposes (guarded at 5,000). Photos are paginated 30 per request.",
            "default": 30
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on returned rows. A negative input is clamped. Search returns restaurants; Reviews, Menu and Photos return their own record type.",
            "default": 100
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries per request on 429, 5xx and connection errors.",
            "default": 2
          },
          "ignoreUrlFailures": {
            "title": "Continue on failures",
            "type": "boolean",
            "description": "Keep going when one URL or restaurant cannot be read.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}