Data restoran Zomato: pencarian per kota/cuisine, detail restoran, menu, dan ulasan. Catatan: Zomato tidak beroperasi di Indonesia — gunakan kota pasar aktif (mis. bangalore, dubai).
menupassing, 0.9sreviewspassing, 0.6ssearchpassing, 0.8sdetailpassing, 0.5s/v1/food:zomato/menu10m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("food:zomato", "menu", {
"path": "/bangalore/yazu-pan-asian-supper-club-ashok-nagar-bangalore/order"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/food:zomato/menu?path=%2Fbangalore%2Fyazu-pan-asian-supper-club-ashok-nagar-bangalore%2Forder" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/food:zomato/reviewsUlasan/review restoran Zomato (paginated) dari path hasil pencarian.pathstringrequiredurl field)pagenumberoptionalcurl -X GET "https://api.zpi.web.id/v1/food:zomato/reviews?path=%2Fbangalore%2Fyazu-pan-asian-supper-club-ashok-nagar-bangalore%2Freviews&page=1" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"path": "/bangalore/yazu-pan-asian-supper-club-ashok-nagar-bangalore/reviews",
"count": 5,
"items": [
{
"rating": 1,
"reviewId": 467654297,
"userName": "Rajasekhar",
"likeCount": 0,
"reviewUrl": "https://www.zoma.to/vymqQKR",
"timestamp": "5 days ago",
"experience": "dining_order",
"photoCount": 0,
"ratingText": "Horrible",
"ratingType": "DINING",
"reviewText": "Taste is average, no Zomato discounts.",
"commentCount": 2,
"userProfileUrl": "https://www.zomato.com/users/rajasekhar-30335767",
"userReviewsCount": 0,
"userFollowersCount": 0
},
{
"rating": 5,
"reviewId": 467023300,
"userName": "Shashank Raikar",
"likeCount": 0,
"reviewUrl": "https://www.zoma.to/MldvXGP",
"timestamp": "6 days ago",
"experience": "dining_order",
"photoCount": 0,
"ratingText": "Excellent",
"ratingType": "DINING",
"reviewText": "food was amazing,",
"commentCount": 2,
"userProfileUrl": "https://www.zomato.com/users/shashank-raikar-37338722",
"userReviewsCount": 0,
"userFollowersCount": 1
},
{
"rating": 5,
"reviewId": 460753601,
"userName": "Shibani Muzumdar",
"likeCount": 0,
"reviewUrl": "https://www.zoma.to/rzRxBxa",
"timestamp": "20 days ago",
"experience": "dining_order",
"photoCount": 0,
"ratingText": "Excellent",
"ratingType": "DINING",
"reviewText": "The ambience, food, drinks, service was awesome. You should define try it.",
"commentCount": 1,
"userProfileUrl": "https://www.zomato.com/users/shibani-muzumdar-52983938",
"userReviewsCount": 0,
"userFollowersCount": 4
},
{
"rating": 5,
"reviewId": 460650103,
"userName": "Anvesh Vagiri",
"likeCount": 0,
"reviewUrl": "https://www.zoma.to/owoBNGa",
"timestamp": "20 days ago",
"experience": "dining_order",
"photoCount": 0,
"ratingText": "Excellent",
"ratingType": "DINING",
"commentCount": 1,
"userProfileUrl": "https://www.zomato.com/users/anvesh-vagiri-12509261",
"userReviewsCount": 0,
"userFollowersCount": 0
},
{
"rating": 5,
"reviewId": 457748085,
"userName": "Varshitha",
"likeCount": 0,
"reviewUrl": "https://www.zoma.to/ADKXvGP",
"timestamp": "27 days ago",
"experience": "dining",
"photoCount": 0,
"ratingText": "Excellent",
"ratingType": "DINING",
"reviewText": "Loved the food! Everything we got tasted great and the service was top notch by Mr Adam :)",
"commentCount": 1,
"userProfileUrl": "https://www.zomato.com/users/varshitha-33011897",
"userReviewsCount": 0,
"userFollowersCount": 24
}
],
"source": "zomato.com",
"hasMore": true,
"nextPage": 2,
"totalPages": 11,
"totalReviews": 51
}/v1/food:zomato/searchCari restoran Zomato berdasarkan kota dan cuisine/locality.citystringrequiredcuisinestringoptionalpagenumberoptionalcurl -X GET "https://api.zpi.web.id/v1/food:zomato/search?city=bangalore&cuisine=chinese&page=1" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"city": "bangalore",
"page": 1,
"count": 9,
"items": [
{
"url": "https://www.zomato.com/bangalore/yazu-pan-asian-supper-club-ashok-nagar-bangalore/info?contextual_menu_params=eyJkaXNoX3NlYXJjaCI6eyJ0aXRsZSI6IkJlc3QgaW4gQ2hpbmVzZSIsImRpc2hfaWRzIj…",
"name": "Yazu Pan Asian Supper Club",
"image": "https://b.zmtcdn.com/data/pictures/6/22311906/133b5347086186c39a26a8840a93b109_o2_featured_v2.jpg",
"resId": 22311906,
"votes": 266,
"rating": 4.4,
"timing": "Opens at 7pm",
"address": "Marks Square, Shanthala Nagar, St. Marks Road Ashok Nagar, Bangalore",
"costText": "₹2,500 for two",
"cuisines": [
"Asian",
"Chinese",
"Sushi"
],
"distance": "738 m",
"locality": "Ashok Nagar, Bangalore",
"costForTwo": "₹2,500 for two",
"isPromoted": true,
"ratingText": "Very Good"
},
{
"url": "https://www.zomato.com/bangalore/cbd-central-bar-district-mg-road-bangalore/info?contextual_menu_params=eyJkaXNoX3NlYXJjaCI6eyJ0aXRsZSI6IkJlc3QgaW4gQ2hpbmVzZSIsImRpc2hfaWRzIjpbXSwi…",
"name": "CBD- Central Bar District",
"image": "https://b.zmtcdn.com/data/pictures/6/21913226/f56b229c33a1b8219a780520f54f04e4_o2_featured_v2.jpg",
"resId": 21913226,
"votes": 3018,
"rating": 4.4,
"address": "3, Church St, Shanthala Nagar, MSR, MG Road, Bangalore",
"costText": "₹1,200 for two",
"cuisines": [
"North Indian",
"Chinese",
"South Indian"
],
"distance": "1.4 km",
"locality": "MG Road, Bangalore",
"costForTwo": "₹1,200 for two",
"isPromoted": true,
"ratingText": "Very Good"
},
{
"url": "https://www.zomato.com/bangalore/cha-hong-kong-eating-house-church-street-bangalore/info?contextual_menu_params=eyJkaXNoX3NlYXJjaCI6eyJ0aXRsZSI6IkJlc3QgaW4gQ2hpbmVzZSIsImRpc2hfaWRz…",
"name": "Cha Hong Kong Eating House",
"image": "https://b.zmtcdn.com/data/pictures/3/22243603/35f52ffd753dec3daf66e06b5f815f7c_o2_featured_v2.jpg",
"resId": 22243603,
"votes": 992,
"rating": 4.4,
"address": "76-20-50, First Floor, Unit Number F3, F4, F5 and F6, Sobha, Church Street, Bangalore",
"costText": "₹2,700 for two",
"cuisines": [
"Chinese",
"Sushi",
"Asian"
],
"distance": "963 m",
"locality": "Church Street, Bangalore",
"costForTwo": "₹2,700 for two",
"isPromoted": true,
"ratingText": "Very Good"
}
],
"source": "zomato.com",
"cuisine": "chinese",
"hasMore": false,
"heading": "Chinese Restaurants in Bengaluru",
"totalResults": 6854
}/v1/food:zomato/detailDetail restoran Zomato (rating, alamat, koordinat, jam buka, highlights) dari path hasil pencarian.pathstringrequiredurl field)curl -X GET "https://api.zpi.web.id/v1/food:zomato/detail?path=%2Fbangalore%2Fyazu-pan-asian-supper-club-ashok-nagar-bangalore%2Finfo" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"url": "https://www.zomato.com/bangalore/yazu-pan-asian-supper-club-ashok-nagar-bangalore",
"city": "Bangalore",
"name": "Yazu Pan Asian Supper Club",
"resId": 22311906,
"votes": 266,
"mapUrl": "https://maps.zomato.com/php/staticmap?center=12.9723110000,77.6011510000&maptype=zomato&markers=12.9723110000,77.6011510000,pin_res32&sensor=false&scale=2&zoom=16&language=en&size=240x150&size=400x240",
"phones": [
"+917411994448",
"+917411199404",
"+917411994143"
],
"rating": 4.4,
"source": "zomato.com",
"timing": "Opens at 7pm",
"address": "Marks Square, Shanthala Nagar, St. Marks Road Ashok Nagar, Bangalore",
"country": "India",
"zipcode": "560001",
"cuisines": [
"Asian",
"Chinese",
"Sushi",
"Thai",
"Korean",
"Desserts",
"Beverages"
],
"latitude": 12.972311,
"locality": "Ashok Nagar, Bangalore",
"longitude": 77.601151,
"thumbnail": "https://b.zmtcdn.com/images/res_avatar_476_320_1x_new.png",
"highlights": [
"Lunch",
"Dinner",
"Delivery",
"Takeout Available",
"Full bar available",
"Stags allowed",
"Offers candlelit setting",
"Parking available"
],
"ratingText": "Very Good",
"statusText": "Closed for dining",
"isPermClosed": false,
"isTempClosed": false,
"openingHours": [
{
"days": "Mon-Sun",
"hours": "12noon – 4pm, 7pm – 1am"
}
],
"ratingsByType": {
"dining": {
"label": "DINING",
"rating": 4.4,
"reviewCount": 266
}
},
"isDeliveryOnly": false
}