Zomato
List Zomato's curated directory of major cities
Returns Zomato's own curated directory of major Indian cities -- the discovery source for the city value used by zomato-search, zomato-restaurant, zomato-restaurant-menu, zomato-collections, and zomato-collection. This is Zomato's own "popular locations" directory, not an exhaustive list of every city Zomato serves -- some smaller markets resolve to a real Zomato city page without appearing here. A city slug from a caller's own prior knowledge (a restaurant URL's first path segment) can still be valid even if this endpoint does not return it.
get/zomato/cities
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/zomato/cities
- Auth: API key in header x-api-key
Query parameters
qstring
Case-insensitive substring match against a city's name or slug. Omit to list every city in the directory.
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"data": {
"cities": [
{
"name": "Mumbai",
"slug": "mumbai",
"url": "https://www.zomato.com/mumbai"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.