Scrape Zomato
scrape_zomatoFind restaurants in any city on Zomato by scraping live listings, with optional cuisine or name filter and result cap. Returns structured restaurant records with ratings, price, address, and URL.
Instructions
Search Zomato for restaurants in a city and return a list of restaurant records.
Scrapes Zomato's public restaurant listings over the network for the given city, optionally filtered by a cuisine or name term. Each result is a dict with fields such as name, cuisine, rating, price_for_two, address, and url; the exact keys depend on what Zomato exposes for each listing. Returns a list of these dicts ordered as Zomato ranks them, capped at max_results. Returns an empty list if the city is unknown or no restaurants match the query. Requires outbound network access; results reflect live Zomato data at call time and may vary between calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | String city name to search within. Example: "Bangalore". Required, no default. | |
| query | No | Optional string cuisine or restaurant search term to filter results. Example: "biryani". Defaults to None (returns all restaurants for the city). | |
| max_results | No | Integer maximum number of restaurants to return. Example: 20. Defaults to 50. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| errors | No | ||
| scraper | No | ||
| source_urls | No |