# 🍽️ Grubhub Restaurant Reviews Scraper (`easyapi/grubhub-restaurant-reviews-scraper`) Actor

Efficiently extract comprehensive customer reviews, ratings, and order details from Grubhub restaurant pages. Get valuable insights into customer satisfaction, menu item popularity, and sentiment analysis with this powerful and reliable scraper.

- **URL**: https://apify.com/easyapi/grubhub-restaurant-reviews-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Integrations, Other
- **Stats:** 25 total users, 1 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🍽️ Grubhub Restaurant Reviews Scraper

### 🎯 Overview

Extract detailed customer reviews and ratings from any Grubhub restaurant page. This powerful scraper collects comprehensive review data including ratings, reviewer information, order details, menu items, and sentiment analysis.

### ✨ Features

- 🔍 Scrapes detailed review information from Grubhub restaurant pages
- ⭐ Captures star ratings and review content
- 👤 Includes reviewer details (name, type, review count)
- 📊 Provides order accuracy and food quality metrics
- 🍜 Lists ordered menu items
- 📅 Includes review and order timestamps
- 😊 Includes sentiment analysis
- 💪 Built-in proxy rotation and anti-blocking measures

### 💡 Use Cases

- Market research and competitor analysis
- Restaurant performance monitoring
- Customer satisfaction tracking
- Menu item popularity analysis
- Review sentiment trending

### 🔧 Input Parameters

- `restaurantUrls`: Array of Grubhub restaurant URLs to scrape
- `maxItems`: Maximum number of reviews to collect (optional)
- `proxyConfiguration`: Proxy settings (optional)

### 📦 Output

Detailed JSON format containing:

- Restaurant URL
- Review content and rating
- Reviewer information
- Order details and timestamps
- Menu items ordered
- Sentiment analysis
- Customer feedback metrics

### 💪 Benefits

- Reliable and efficient data collection
- Rich, structured review data
- Built-in rate limiting and retry mechanism
- Automatic proxy rotation
- Production-ready stability

### 🎮 Sample Usage

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "restaurantUrls": [
        "https://www.grubhub.com/restaurant/noodle-world-1935-s-atlantic-blvd-monterey-park/2249885/"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "restaurantUrl": "https://www.grubhub.com/restaurant/noodle-world-1935-s-atlantic-blvd-monterey-park/2249885/",
        "content": "I love the variety and the food is always great",
        "reviewer": "Maria",
        "star_rating": 5,
        "diner_type": "Regular",
        "review_count": 2,
        "review_created_date": 1735333733067,
        "order_placed_time": 1735328684418,
        "reviewer_last_order_from_customer_date": 0,
        "id": "c6c459b0-c496-11ef-99b1-9b2490cb3d38",
        "brand": "grubhub",
        "sentiment": "Positive",
        "responses": [],
        "menu_items": [
            {
                "id": "20522860476",
                "name": "THAI COFFEE"
            },
            {
                "id": "20522860413",
                "name": "21. Seafood Tom Yum."
            }
        ],
        "facet_responses": {
            "order_accuracy": "Yes",
            "food_quality": "Yes"
        }
    },
    ...
]
```

### Related Actors

- 🍽️ [Grubhub Restaurant Scraper](https://apify.com/easyapi/grubhub-restaurant-scraper) - Extract restaurant data including menus, prices, ratings, and delivery information
- 🍽️ [Uber Eats Store Search Scraper](https://apify.com/easyapi/uber-eats-store-search-scraper) - Get comprehensive restaurant data from Uber Eats search results
- 🍽️ [Zomato Restaurant Reviews Scraper](https://apify.com/easyapi/zomato-restaurant-reviews-scraper) - Extract detailed restaurant reviews with ratings and user information
- 🛍️ [Myntra Reviews Scraper](https://apify.com/easyapi/myntra-reviews-scraper) - Extract detailed review data including ratings, comments and user info
- 🛍️ [Flipkart Review Scraper](https://apify.com/easyapi/flipkart-review-scraper) - Scrape detailed product reviews with ratings, comments and user information
- 🛍️ [Noon.com Reviews Scraper](https://apify.com/easyapi/noon-com-reviews-scraper) - Extract customer feedback, ratings and review images
- 🏨 [Hotels.com Review Scraper](https://apify.com/easyapi/hotels-com-review-scraper) - Scrape detailed hotel reviews including ratings and management responses
- 🏨 [TripAdvisor Reviews Scraper](https://apify.com/easyapi/tripadvisor-reviews-scraper) - Extract detailed hotel reviews with comprehensive data and user information
- 🛍️ [Etsy Reviews Scraper](https://apify.com/easyapi/etsy-reviews-scraper) - Scrape product reviews with ratings, text and reviewer information
- 🛍️ [Meesho Reviews Scraper](https://apify.com/easyapi/meesho-reviews-scraper) - Extract product reviews including ratings, comments and review images
- 🎮 [Steam Reviews Scraper](https://apify.com/easyapi/steam-reviews-scraper) - Collect comprehensive review data including helpfulness and play time
- 📱 [App Store Reviews Scraper](https://apify.com/easyapi/app-store-reviews-scraper) - Extract user reviews from the App Store with customizable options
- 🛍️ [Lidl Reviews Scraper](https://apify.com/easyapi/lidl-reviews-scraper) - Extract detailed review data including ratings and author info
- 🧖‍♀️ [Treatwell Reviews Scraper](https://apify.com/easyapi/treatwell-reviews-scraper) - Scrape salon & spa reviews with detailed ratings and treatment info
- 🏨 [Booking Reviews Scraper](https://apify.com/easyapi/booking-reviews-scraper) - Extract guest reviews, ratings and booking information
- 🎬 [IMDB Reviews Scraper](https://apify.com/easyapi/imdb-reviews-scraper) - Extract detailed user reviews, ratings and engagement metrics
- 📚 [Goodreads Review Scraper](https://apify.com/easyapi/goodreads-review-scraper) - Extract book reviews with ratings and user information

# Actor input Schema

## `restaurantUrls` (type: `array`):

List of Grubhub restaurant URLs to scrape

## `maxItems` (type: `integer`):

Maximum number of reviews to collect per restaurant

## `proxyConfiguration` (type: `object`):

Proxy settings for the scraper

## Actor input object example

```json
{
  "restaurantUrls": [
    "https://www.grubhub.com/restaurant/el-huero-3000-s-figueroa-st-los-angeles/292650/"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

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

// Prepare Actor input
const input = {
    "restaurantUrls": [
        "https://www.grubhub.com/restaurant/el-huero-3000-s-figueroa-st-los-angeles/292650/"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/grubhub-restaurant-reviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "restaurantUrls": ["https://www.grubhub.com/restaurant/el-huero-3000-s-figueroa-st-los-angeles/292650/"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/grubhub-restaurant-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "restaurantUrls": [
    "https://www.grubhub.com/restaurant/el-huero-3000-s-figueroa-st-los-angeles/292650/"
  ],
  "maxItems": 50
}' |
apify call easyapi/grubhub-restaurant-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/grubhub-restaurant-reviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aHjrbqG1hTLhxxEs5/builds/eVodK43z4iYliICjz/openapi.json
