{
  "openapi": "3.0.1",
  "info": {
    "title": "Zomato Reviews Scraper — No Login, Owner Replies & Dish Tags",
    "description": "Scrape Zomato restaurant reviews by restaurant link or id — no login. Star rating and label, dining vs delivery, full text, date, likes, owner replies, comments, photos, and liked / disliked dish tags. Newest, oldest, highest, lowest or combined coverage.",
    "version": "0.1",
    "x-build-id": "gvWDvGcUsXhtWgklw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~zomato-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-zomato-reviews-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-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-zomato-reviews-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-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-zomato-reviews-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": {
          "startUrls": {
            "title": "🔗 Zomato restaurant links",
            "type": "array",
            "description": "Restaurant pages on zomato.com — any tab works (overview, /info, /order, /reviews, /photos), plus zoma.to share links and review links. You can also paste a city, area or collection listing (e.g. https://www.zomato.com/bangalore/indiranagar-restaurants) to take the top restaurants from it.",
            "items": {
              "type": "string"
            }
          },
          "resIds": {
            "title": "🔢 Restaurant ids",
            "type": "array",
            "description": "Optional: Zomato restaurant ids (e.g. 311057), for example from the Zomato Restaurants Scraper's resId column.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerRestaurant": {
            "title": "💬 Max reviews per restaurant",
            "minimum": 0,
            "type": "integer",
            "description": "How many reviews to collect for each restaurant. 0 = as many as Zomato shows (see \"How many reviews can I get?\" in the README).",
            "default": 100
          },
          "sort": {
            "title": "↕️ Sort / coverage",
            "enum": [
              "newest",
              "oldest",
              "highest",
              "lowest",
              "maxCoverage"
            ],
            "type": "string",
            "description": "Which reviews come first. \"Max coverage\" combines newest, oldest, lowest- and highest-rated (and dining / delivery lists) without duplicates, to reach the most reviews of a busy restaurant.",
            "default": "newest"
          },
          "reviewType": {
            "title": "🍽️ Review type",
            "enum": [
              "all",
              "dining",
              "delivery"
            ],
            "type": "string",
            "description": "All reviews, or only dining-in or only delivery reviews.",
            "default": "all"
          },
          "sinceDate": {
            "title": "📅 Reviews newer than",
            "type": "string",
            "description": "Optional. Only reviews from this date on — e.g. 2026-01-31, or a relative period like \"30 days\" / \"3 months\". With \"Newest first\" the scraper stops as soon as it reaches older reviews, which makes daily or weekly monitoring fast and cheap. Zomato shows reviews younger than a year as \"N months ago\", so this filter is precise to the day for recent weeks and to about a month for older reviews."
          },
          "includeOwnerReplies": {
            "title": "↩️ Owner replies",
            "type": "boolean",
            "description": "The restaurant's public replies to each review (text, date, who replied).",
            "default": true
          },
          "includeComments": {
            "title": "💭 Comments",
            "type": "boolean",
            "description": "Comments left under each review (text and date).",
            "default": true
          },
          "includePhotos": {
            "title": "📷 Review photos",
            "type": "boolean",
            "description": "Links to the photos attached to each review.",
            "default": true
          },
          "includeReviewerInfo": {
            "title": "👤 Reviewer details",
            "type": "boolean",
            "description": "Adds the reviewer's public Zomato name, profile link, review and follower counts (and commenter names). Off by default — most analyses don't need personal details.",
            "default": false
          },
          "includeRestaurantRow": {
            "title": "🏪 Restaurant summary row",
            "type": "boolean",
            "description": "Adds one row per restaurant (dataType = \"restaurant\"): dining and delivery rating, review counts, address, GPS, cuisines, and how many of its reviews were collected. A summary is always saved to the run's key-value store as SUMMARY, free.",
            "default": false
          },
          "skipRatingOnly": {
            "title": "✍️ Only reviews with text",
            "type": "boolean",
            "description": "Skip rating-only reviews (a star rating with no written text — common for delivery orders). Skipped reviews are not charged.",
            "default": false
          },
          "maxRestaurantsPerListing": {
            "title": "🔎 Restaurants per listing link",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Only for city / area / collection links: how many restaurants to take from each listing, in Zomato's own order.",
            "default": 10
          },
          "maxItems": {
            "title": "🔢 Max reviews in total",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap for the whole run across all restaurants."
          },
          "maxConcurrency": {
            "title": "⚡ Restaurants in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many restaurants are scraped at the same time (each restaurant's pages are fetched one after another).",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Apify Proxy is required. The default (datacenter) works for Zomato and is the cheapest; the scraper switches to residential India proxies by itself if it gets blocked.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}