{
  "openapi": "3.0.1",
  "info": {
    "title": "Zomato 🍔 Scraper",
    "description": "Scrape Restaurants data from Zomato.com 🍔🥪🌯🍟🍕🌮🍝🍩🥯🥧🍲🥟🥞🥘🧁🧇🍫🍰🍱🍛🍦🍧🍨",
    "version": "0.1",
    "x-build-id": "oY0GiGzBezZgMofDh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jupri~zomato/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jupri-zomato",
        "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/jupri~zomato/runs": {
      "post": {
        "operationId": "runs-sync-jupri-zomato",
        "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/jupri~zomato/run-sync": {
      "post": {
        "operationId": "run-sync-jupri-zomato",
        "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",
        "required": [
          "location"
        ],
        "properties": {
          "location": {
            "title": "🌍 Location",
            "type": "string",
            "description": "Where do you want to eat ?"
          },
          "search": {
            "title": "🔎 Search",
            "type": "string",
            "description": ""
          },
          "rating": {
            "title": "⭐ Rating",
            "enum": [
              "3.5",
              "4",
              "4.5",
              "5"
            ],
            "type": "string",
            "description": "Minimal rating"
          },
          "limit": {
            "title": "♾️ Limit",
            "type": "integer",
            "description": "Number of results",
            "default": 5
          },
          "sort": {
            "title": "🔀 Sorting",
            "enum": [
              "popularity",
              "rating",
              "cost"
            ],
            "type": "string",
            "description": "Sort results by keys"
          },
          "min_cost": {
            "title": "Min. Cost",
            "type": "integer",
            "description": "Minimum cost for two."
          },
          "max_cost": {
            "title": "Max. Cost",
            "type": "integer",
            "description": "Maximum cost for two."
          },
          "category": {
            "title": "📁 Category",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "13",
              "14"
            ],
            "type": "string",
            "description": ""
          },
          "establishment": {
            "title": "📁 Establishment",
            "enum": [
              "1",
              "4",
              "5",
              "6",
              "7",
              "8",
              "16",
              "18",
              "20",
              "21",
              "23",
              "24",
              "31",
              "41",
              "51",
              "61",
              "71",
              "81",
              "91",
              "101",
              "111",
              "121",
              "131",
              "161",
              "191",
              "201",
              "211",
              "241",
              "261",
              "271",
              "272",
              "275",
              "278",
              "281",
              "282",
              "283",
              "284",
              "285",
              "286",
              "287",
              "288",
              "289",
              "290",
              "291",
              "292",
              "293",
              "294",
              "295",
              "296",
              "301",
              "303",
              "304",
              "307",
              "308",
              "309",
              "311",
              "312",
              "313",
              "314",
              "315",
              "317",
              "318",
              "319",
              "320",
              "321",
              "322",
              "323",
              "324",
              "325",
              "326",
              "327"
            ],
            "type": "string",
            "description": ""
          },
          "cuisines": {
            "title": "🥪 Cuisines",
            "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",
              "202",
              "203",
              "205",
              "207",
              "209",
              "210",
              "211",
              "218",
              "219",
              "227",
              "228",
              "229",
              "231",
              "233",
              "234",
              "235",
              "236",
              "237",
              "238",
              "239",
              "240",
              "241",
              "242",
              "243",
              "244",
              "245",
              "246",
              "247",
              "248",
              "249",
              "250",
              "251",
              "253",
              "255",
              "259",
              "260",
              "261",
              "264",
              "265",
              "267",
              "268",
              "270",
              "271",
              "274",
              "278",
              "287",
              "290",
              "292",
              "298",
              "304",
              "308",
              "312",
              "316",
              "318",
              "320",
              "321",
              "361",
              "381",
              "411",
              "451",
              "461",
              "471",
              "491",
              "501",
              "521",
              "541",
              "561",
              "601",
              "611",
              "641",
              "651",
              "691",
              "761",
              "781",
              "881",
              "901",
              "928",
              "954",
              "955",
              "956",
              "958",
              "959",
              "961",
              "962",
              "963",
              "964",
              "965",
              "966",
              "970",
              "972",
              "983",
              "989",
              "993",
              "994",
              "995",
              "996",
              "997",
              "998",
              "1005",
              "1013",
              "1014",
              "1015",
              "1016",
              "1018",
              "1019",
              "1022",
              "1023",
              "1024",
              "1026",
              "1031",
              "1032",
              "1035",
              "1040",
              "1041",
              "1047",
              "1048",
              "1049",
              "1051",
              "1054",
              "1057",
              "1059",
              "1060",
              "1063",
              "1064",
              "1065",
              "1066",
              "1067",
              "1068",
              "1070",
              "1072"
            ],
            "type": "string",
            "description": ""
          },
          "features:ac": {
            "title": "Air Conditioned",
            "type": "boolean",
            "description": ""
          },
          "features:afternoon-tea": {
            "title": "Afternoon Tea",
            "type": "boolean",
            "description": ""
          },
          "features:bar": {
            "title": "Serves Alcohol",
            "type": "boolean",
            "description": ""
          },
          "features:brunch": {
            "title": "Brunch",
            "type": "boolean",
            "description": ""
          },
          "features:buffet": {
            "title": "Buffet",
            "type": "boolean",
            "description": ""
          },
          "features:byob": {
            "title": "BYOB",
            "type": "boolean",
            "description": ""
          },
          "features:cheap-eats": {
            "title": "Cheap Eats",
            "type": "boolean",
            "description": ""
          },
          "features:child-friendly": {
            "title": "Kid Friendly",
            "type": "boolean",
            "description": ""
          },
          "features:credit-card": {
            "title": "Credit Card",
            "type": "boolean",
            "description": ""
          },
          "features:desserts-bakes": {
            "title": "Desserts and Bakes",
            "type": "boolean",
            "description": ""
          },
          "features:halal": {
            "title": "Halal Meat",
            "type": "boolean",
            "description": ""
          },
          "features:happyhour": {
            "title": "Happy hours",
            "type": "boolean",
            "description": ""
          },
          "features:healthy-food": {
            "title": "Healthy Food",
            "type": "boolean",
            "description": ""
          },
          "features:live-screening": {
            "title": "Live Sports Screening",
            "type": "boolean",
            "description": ""
          },
          "features:luxury-dining": {
            "title": "Luxury Dining",
            "type": "boolean",
            "description": ""
          },
          "features:music": {
            "title": "Live Music",
            "type": "boolean",
            "description": ""
          },
          "features:outdoor": {
            "title": "Outdoor Seating",
            "type": "boolean",
            "description": ""
          },
          "features:pet-friendly": {
            "title": "Dog Friendly",
            "type": "boolean",
            "description": ""
          },
          "features:private-rooms": {
            "title": "Private Dining Area",
            "type": "boolean",
            "description": ""
          },
          "features:sports_bar": {
            "title": "Sports Bar",
            "type": "boolean",
            "description": ""
          },
          "features:veg": {
            "title": "Pure Veg",
            "type": "boolean",
            "description": ""
          },
          "features:weekend_brunch": {
            "title": "Weekend Brunch",
            "type": "boolean",
            "description": ""
          },
          "features:wheelchair-accessible": {
            "title": "Wheelchair Accessible",
            "type": "boolean",
            "description": ""
          },
          "features:wifi": {
            "title": "Wifi",
            "type": "boolean",
            "description": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}