logo

Zomato Scraper | Zomato Restaurant Data Extractor

RealdataAPI / zomato-scraper

Scrape restaurant and food delivery data, like menu cards, opening hours, restaurant details, and more, from the leading food delivery platform using Zomato Scraper. It is available in the USA, UK, UAE, India, Canada, France, Germany, Spain, Italy, Mexico, and other countries.

What is Zomato.com?

It is a food delivery and restaurant aggregator platform of Indian origin—the platform partners with various restaurants in multiple countries to provide food delivery online to food lovers.

What is a Zomato Scraper?

It is a food delivery data scraper to collect data, like quick service restaurant information, user reviews, menus, opening hours, and options for food deliveries from collaborated restaurants in preferred cities listed on Zomato.com.

Input Example of Zomato Scraper

{ "location": "London", "limit": 5 }

Output Example of Zomato Data

{ "cuisines": "Fast Food", "establishments": [ { "id": 281, "name": "Fast Food" } ], "features": { "fullbar": 0, "live_music": true, "smoking_area": 2, "takeaway": 1 }, "id": 18942349, "images": [ { "comments": 0, "height": 720, "likes": 0, "thumb": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A", "url": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C640%3A720&crop=640%3A720%3B%2A%2C%2A", "width": 640 }, { "comments": 0, "height": 720, "likes": 0, "thumb": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A", "url": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C640%3A720&crop=640%3A720%3B%2A%2C%2A", "width": 640 }, { "comments": 0, "height": 720, "likes": 0, "thumb": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A", "url": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C640%3A720&crop=640%3A720%3B%2A%2C%2A", "width": 640 } ], "location": { "address": "4619 Summerhill Drive", "city": "Texarkana", "city_id": 9566, "country_id": 216, "latitude": "33.4625543526", "locality": "Texarkana", "locality_verbose": "Texarkana, Texarkana", "longitude": "-94.0666097403", "map_url": "https://maps.zomato.com/php/staticmap?center=33.4625543526,-94.0666097403&maptype=zomato&markers=33.4625543526,-94.0666097403,pin_res32&sensor=false&scale=2&zoom=16&language=en" }, "menu_texts": [ { "categories": [ { "dishes": [ { "added_by": 0, "description": "Start your day off right with a Regular Breakfast Bowl from SONIC!", "dish_id": 249680683, "name": "Breakfast Bowls" }, { "added_by": 0, "description": "Signature chili flavor and toppings now in a cup!", "dish_id": 249680684, "name": "Hearty Chili Bowl" } ], "id": 41574518, "name": "Featured Items" }, { "dishes": [ { "added_by": 0, "description": "Made with 100% all-white meat chicken they're lightly breaded and perfect for dipping in our NEW Signature Sauce.", "dish_id": 249680692, "name": "3pc Crispy Tenders" }, { "added_by": 0, "description": "Made with 100% all-white meat chicken they're lightly breaded and perfect for dipping in our NEW Signature Sauce.", "dish_id": 249680693, "name": "5pc Crispy Tenders" } ], "id": 41574519, "name": "Chicken" } ], "id": 4768949, "name": "Sonic Menu" } ], "name": "Sonic Drive-In", "payment": "Cash and Cards accepted", "phones": [ "+190379XXXXX", "+186665XXXXX" ], "photo": { "thumb": "https://b.zmtcdn.com/images/res_avatar_476_320_1x_new.png?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A", "url": "https://b.zmtcdn.com/images/res_avatar_476_320_1x_new.png" }, "price": { "beer": 0, "currency": "$", "for_two": 15 }, "ratings": { "average": 0, "text": "Not rated", "votes": 0 }, "reviews": { "count": 0 }, "social": { "twitter": "http://www.twitter.com/sonicdrivein", "website": "https://locations.sonicdrivein.com/tx/texarkana/4619-summerhill-drive.html" }, "status": "Closes in 1 hour 12 minutes", "timing": "6am – 10pm (Mon-Thu),6am – 11pm (Fri-Sat),7am – 10pm (Sun)", "type": "restaurant", "url": "https://www.zomato.com/texarkana-tx/restaurants/texarkana-tx/texarkana/sonic-drive-in", "wishlisters": 0 }

Optional Parameters for Zomato Data Scraper

Parameter Title Type Default Example Description
rating Rating string Minimum rating
search Search string

Required Parameters for Zomato Restaurant Data Scraper

Parameter Title Type Default Example Description
location Location string It is a required input parameter to share the location where the user wants to eat
something.

Pagination

Parameter Title Type Default Example Description
limit Limit integer 5 Result count
sort Sorting string It is a string to sort output using keys.

Classification

Parameter Title Type Default Example Description
category Category string
cuisines Cuisines string
establishment Establishment string

Pricing

Parameter Title Type Default Example Description
min_cost Minimum Cost integer It is a pricing integer field with the least cost for two.
max_cost Maximum Cost integer It is a pricing integer field with the max cost for two

Features

Parameter Title Type Default Example Description
features:afternoon-tea Afternoon Tea boolean
features:brunch Brunch boolean
features:bar Serves Alcohol boolean
features:buffet Buffet boolean
features:byob BYOB boolean
features:child-friendly Kid Friendly boolean
features:cheap-eats Cheap Eats boolean
features:credit-card Credit Card boolean
features:desserts-bakes Desserts and Bakes boolean
features:halal Halal Meat boolean
features:happyhour Happy hours boolean
features:healthy-food Healthy Food boolean
features:music Live Music boolean
features:luxury-dining Luxury Dining boolean
features:live-screening Live Sports Screening boolean
features:outdoor Outdoor Seating boolean
features:pet-friendly Dog Friendly boolean
features:private-rooms Private Dining Area boolean
features:sports_bar Sports Bar boolean
features:wheelchair-accessible Wheelchair Accessible boolean
features:weekend_brunch Weekend Brunch boolean
features:veg Pure Veg boolean
features:wifi Wifi boolean

Is it Legal to Scrape Zomato.com?

You can scrape publically available data from the Zomato platform using our scraper. We have designed this Zomato scraper for ethical uses. However, the data output may contain some personal data unknowingly. If you want to scrape any personal data, please seek help from your lawyer.

Industries

Check out how industries use Zomato Scraper worldwide.

saas-btn.webp

E-commerce & Retail

You should have a Real Data API account to execute the program examples. Replace < YOUR_API_TOKEN> in the program using the token of your scraper. Read about the live APIs with Real Data API docs for more explanation.

import { RealdataAPIClient } from 'RealdataAPI-Client';

// Initialize the RealdataAPIClient with API token
const client = new RealdataAPIClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare actor input
const input = {
    "location": "London"
};

(async () => {
    // Run the actor and wait for it to finish
    const run = await client.actor("jupri/zomato").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
from RealdataAPI_client import RealdataAPIClient

# Initialize the RealdataAPIClient with your API token
client = RealdataAPIClient("<YOUR_API_TOKEN>")

# Prepare the actor input
run_input = { "location": "London" }

# Run the actor and wait for it to finish
run = client.actor("jupri/zomato").call(run_input=run_input)

# Fetch and print actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare actor input
cat > input.json <<'EOF'
{
  "location": "London"
}
EOF

# Run the actor
curl "https://api.RealdataAPI.com/v2/acts/jupri~zomato/runs?token=$API_TOKEN" /
  -X POST /
  -d @input.json /
  -H 'Content-Type: application/json'

Location

location Required String

It is an input field to share the location where you wish to eat something.

Rating

rating Optional Enum

Minimal rating

Options:

5 string, 4.5 string, 4 string, 3.5 string

Search

search Optional String

Sorting

sort Optional Enum

It is an optional field to sort output using keys.

Options:

Cost string, Rating string, Popularity string

Limit

limit Optional Integer

Number of results

Minimum Cost

min_cost Optional Integer

It is an optional integer for the least cost for two.

Maximum Cost

max_cost Optional Integer

It is an optional integer for the max cost for two.

Category

category Optional Enum

Options:

1 string, 2 string, 3 string

Afternoon Tea

features:afternoon-tea Optional Boolean

Establishment

establishment Optional String

Cuisines

cuisines Optional String

Buffet

features:buffet Optional Boolean

Serves Alcohol

features:bar Optional Boolean

Brunch

features:brunch Optional Boolean

BYOB

features:byob Optional Boolean

Kid Friendly

features:child-friendly Optional Boolean

Cheap Eats

features:cheap-eats Optional Boolean

Credit Card

features:credit-card Optional Boolean

Healthy Food

features:healthy-food Optional Boolean

Desserts and Bakes

features:desserts-bakes Optional Boolean

Halal Meat

features:halal Optional Boolean

Happy hours

features:happyhour Optional Boolean

Live Sports Screening

features:live-screening Optional Boolean

Luxury Dining

features:luxury-dining Optional Boolean

Live Music

features:music Optional Boolean

Private Dining Area

features:private-rooms Optional Boolean

Outdoor Seating

features:outdoor Optional Boolean

Dog Friendly

features:pet-friendly Optional Boolean

Wifi

features:wifi Optional Boolean

Sports Bar

features:sports_bar Optional Boolean

Pure Veg

features:veg Optional Boolean

Weekend Brunch

features:weekend_brunch Optional Boolean

Wheelchair Accessible

features:wheelchair-accessible Optional Boolean
{
  "location": "London",
  "limit": 5
}