Scraping the Uber Eats API
If you need to scrape Uber Eats restaurant data without violating their Terms of Service (or wasting time with a broken web scraping platform), we’ll show you how to legally extract restaurant & food delivery data from the UberEats website into Excel & CSV files.
You’ll be able to scrape the full list of restaurants from any local market in only a few minutes. You can also download additional desired data from the delivery platform, such as menu data for individual restaurants, promotions & offers.
1. Browse UberEats
To get started, head to the UberEats Website and navigate to any area you want to scrape the data for. Enter in any desired filters you’d like on the website as you would normally do.
Once you see the restaurants (or other data) show on the screen that you want to scrape, right click on the page and hit “Inspect” to open developer tools. This will begin recording your web traffic now so we can legally scrape a recording of your web traffic instead of the UberEats website as to not violate their Terms of Service.
Now refresh the page to force UberEats to resend a new batch of data to your browser once you’re recording. Then scroll down through the page so you keep loading more and more restaurants. You may need to hit “Load More” (or similar) at the bottom of each scroll to load additional data.
2. Export a HAR File
When you’re done, go to the “Network” tab in your browser’s developer tools and look for a down arrow labeled “Export HAR…” and click it to generate a HAR file containing the raw data that UberEats sent to your browser. Upload that file to the HAR File Web Scraper and look for the group ending in api/getFeedV1
(or similar):
3. Download UberEats Data
Once the parse finishes, you should see a collection labeled data › feedItems › store
or similar. You may need to scroll or look for it, as the JSON structure from UberEats can be a bit complex.
You’ll see data about each restaurant including interesting fields like:
- UberEats URL
- Restaurant Title
- Average Star Rating
- Image URL
- Eyeball Count (Probably View Count)
- Request Count (Probably Click Count)
- Delivery ETA Times
- Latitude & Longitude Coordinates
- Brand / Chain Name
- Available Offers
There are many other collections on the data page you can scroll through. Some will contain listings from specialty shops (like wine and alcohol) and others will contain special deals and offers for local Uber Eats restaurants:
If you need to extract data from a specific restaurant, such as scrape food items from the menu, then check out the video on the top of this page. You’ll need to manually visit each restaurant to load the menu data into your browser, then use the same HAR file approach to get the data out.