# MenuMiner - Restaurant Menu Scraper (`seeb/menuminer---restaurant-menu-scraper`) Actor

Extract restaurant menu data from public HTML and JSON-LD pages: restaurant name, categories, menu items, prices, and source URLs. Fast Cheerio-based scraper with clean dataset output and clear status notes for unsupported, blocked, or JS-rendered sites.

- **URL**: https://apify.com/seeb/menuminer---restaurant-menu-scraper.md
- **Developed by:** [Techionik](https://apify.com/seeb) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 6 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.20 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## MenuMiner – Restaurant Menu Scraper 🍽️

![Cheerio-only](https://img.shields.io/badge/Cheerio--only-Fast%20%26%20Cost--Efficient-2ea44f)
![Supports](https://img.shields.io/badge/Supports-HTML%20%7C%20JSON--LD-0aa7ff)
![No Browser](https://img.shields.io/badge/No%20Browser-Lower%20Runtime%20Cost-6f42c1)
![Public Pages](https://img.shields.io/badge/Public%20Menu%20Pages-Supported-important)
![Output](https://img.shields.io/badge/Output-Clean%20Dataset-orange)

### 🍽️ Overview

**MenuMiner – Restaurant Menu Scraper** extracts structured restaurant menu data from public menu pages that expose menu items through **server-rendered HTML** or **JSON-LD structured data**.

It is designed to be **fast, lightweight, and cost-efficient** by using Cheerio-only scraping instead of browser automation.

Use MenuMiner to collect restaurant names, menu categories, item names, prices, and source URLs in a clean dataset format ready for restaurant research, food-tech platforms, pricing analysis, delivery catalog building, automation workflows, and data pipelines.

---

### ✅ What This Actor Extracts

When a supported menu is found, each dataset row can include:

- `restaurantName` — detected restaurant name
- `category` — menu category such as Appetizers, Mains, Desserts, Drinks
- `itemName` — menu item name
- `price` — extracted menu item price
- `menuPageUrl` — source URL where the item was found

If a menu is not detected, blocked, or unsupported, the Actor returns a clear status row instead of leaving the result empty.

---

### 📦 Output Fields

#### ✅ Successful Menu Item Output

| Field | Description |
|---|---|
| `restaurantName` | Name of the restaurant |
| `category` | Menu category, if available |
| `itemName` | Name of the menu item |
| `price` | Extracted item price |
| `menuPageUrl` | Source menu page URL |

#### ⚠️ Unsupported / Failed Page Output

| Field | Description |
|---|---|
| `restaurantName` | Detected restaurant name or domain fallback |
| `menuPageUrl` | URL that was checked |
| `status` | Status such as `no_menu_found`, `blocked_or_protected`, or `request_failed` |
| `note` | Clear explanation of why the menu was not extracted |

---

### 🚀 Best Use Cases

MenuMiner is ideal for:

- Restaurant menu data collection
- Menu item and price extraction
- Food delivery catalog research
- Restaurant directory enrichment
- Menu price monitoring
- Competitive restaurant analysis
- Food-tech data pipelines
- Local business intelligence
- Market research
- Google Sheets, Make, n8n, Zapier, API, and database workflows

---

### ⚙️ How It Works

MenuMiner follows a clean and reliable extraction process:

1. Loads each provided public menu URL
2. Checks for JSON-LD structured menu data
3. Scans server-rendered HTML for menu categories, items, and prices
4. Detects the restaurant name from structured data, meta tags, page title, or domain
5. Normalizes extracted prices
6. Removes duplicate menu rows
7. Filters promotional or non-menu text
8. Saves clean menu items to the Apify dataset
9. Returns a clear status note when a page is unsupported, blocked, or failed

---

### 📝 Input Example

    {
      "startUrls": [
        {
          "url": "https://example-restaurant.com/menu"
        }
      ],
      "maxPages": 5
    }

---

### 📊 Output Example

#### Successful Menu Item

    {
      "restaurantName": "Example Restaurant",
      "category": "Appetizers",
      "itemName": "Garlic Bread",
      "price": "$6.99",
      "menuPageUrl": "https://example-restaurant.com/menu"
    }

#### Unsupported Page Example

    {
      "restaurantName": "Example Restaurant",
      "menuPageUrl": "https://example-restaurant.com/menu",
      "status": "no_menu_found",
      "note": "No menu data was detected in static HTML or JSON-LD. This actor supports server-rendered HTML and structured JSON-LD only."
    }

---

### ✅ Supported Pages

MenuMiner works best with restaurant websites where menu data is visible in:

- Public restaurant menu pages
- Static HTML
- Server-rendered HTML
- JSON-LD structured data
- Direct ordering menu category pages
- Pages where menu item names and prices appear in the page source

---

### ❌ Not Supported

This Actor does **not** bypass restrictions or extract menu data from pages where the menu is not available in public HTML or JSON-LD.

Unsupported cases may include:

- JavaScript-rendered menus
- React or Vue menus loaded after page load
- API-only ordering widgets
- Iframe-based menus
- PDF menus
- Image-only menus
- Login-protected menus
- Bot-protected websites
- Pages returning HTTP 403
- Websites where menu content is hidden from static HTML

---

### 🔍 Good Input URLs

For best results, use direct public menu pages.

Good examples include:

- Restaurant menu pages
- Public HTML menu pages
- Ordering category pages with visible items and prices
- Pages where menu data appears in the page source
- Pages using JSON-LD menu schema

Avoid using:

- Restaurant homepages without visible menu items
- Pages that require button clicks to load the menu
- PDF-only menus
- Image-only menus
- Protected ordering platforms
- JavaScript-only menu widgets

---

### 💡 Recommended Settings

#### For One Restaurant Menu

    {
      "startUrls": [
        {
          "url": "https://example-restaurant.com/menu"
        }
      ],
      "maxPages": 1
    }

#### For Multiple Menu Pages

    {
      "startUrls": [
        {
          "url": "https://restaurant-one.com/menu"
        },
        {
          "url": "https://restaurant-two.com/menu"
        },
        {
          "url": "https://restaurant-three.com/menu"
        }
      ],
      "maxPages": 10
    }

---

### 🌟 Key Features

- Fast Cheerio-only scraping
- No browser automation required
- Lower runtime cost than browser-based scrapers
- Extracts restaurant names
- Extracts menu categories
- Extracts menu item names
- Extracts prices
- Supports JSON-LD menu data
- Supports server-rendered HTML menus
- Normalizes prices
- Removes duplicate rows
- Filters promotional and non-menu text
- Returns clear status notes for unsupported pages
- Provides clean structured dataset output
- Simple input configuration
- Easy to connect with APIs and automation tools

---

### 🧠 Data Quality Approach

MenuMiner is designed to produce clean and practical menu datasets.

It uses:

- JSON-LD menu extraction
- HTML menu scanning
- Restaurant name detection
- Price normalization
- Duplicate row removal
- Promotional text filtering
- Generic text filtering
- Professional status notes for unsupported pages

This keeps the output useful for business, research, and automation workflows.

---

### 🔗 Output Access

After the run finishes, you can access the extracted menu data from:

- Apify Dataset
- Dataset API
- Overview table
- JSON export
- CSV export
- Excel export
- XML export
- Apify integrations
- Webhooks

---

### ⚠️ Notes and Limitations

- Only publicly accessible menu data is extracted.
- The Actor does not bypass login walls, paywalls, API restrictions, or bot protections.
- JavaScript-rendered menus may not be supported.
- PDF, image, and iframe menus are not supported by this Cheerio-only version.
- The quality of results depends on how the restaurant website exposes its menu data.
- For best results, provide direct menu page URLs instead of restaurant homepages.

---

### 🎯 Why Use MenuMiner?

**MenuMiner – Restaurant Menu Scraper** is a fast and cost-efficient way to extract structured restaurant menu data from public HTML and JSON-LD pages.

It is ideal for users who need clean menu items, categories, prices, and source URLs without the cost and complexity of browser-based scraping.

---

### 🛠️ Technology

Built with:

- Apify SDK
- Crawlee
- CheerioCrawler
- Cheerio

---

### ✅ Status

Production-ready for public restaurant menu extraction from supported HTML and JSON-LD menu pages.

# Actor input Schema

## `startUrls` (type: `array`):

Public menu URLs to scrape.
## `maxPages` (type: `integer`):

Maximum number of pages to process.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://oishisushi8088.wixsite.com/oishisushi/menu?menu=appetizers"
    }
  ],
  "maxPages": 5
}
````

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://oishisushi8088.wixsite.com/oishisushi/menu?menu=appetizers"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seeb/menuminer---restaurant-menu-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 = { "startUrls": [{ "url": "https://oishisushi8088.wixsite.com/oishisushi/menu?menu=appetizers" }] }

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

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://oishisushi8088.wixsite.com/oishisushi/menu?menu=appetizers"
    }
  ]
}' |
apify call seeb/menuminer---restaurant-menu-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=seeb/menuminer---restaurant-menu-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "MenuMiner - Restaurant Menu Scraper",
        "description": "Extract restaurant menu data from public HTML and JSON-LD pages: restaurant name, categories, menu items, prices, and source URLs. Fast Cheerio-based scraper with clean dataset output and clear status notes for unsupported, blocked, or JS-rendered sites.",
        "version": "0.0",
        "x-build-id": "hr6kDTt6EKs7tuHxI"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/seeb~menuminer---restaurant-menu-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-seeb-menuminer---restaurant-menu-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/seeb~menuminer---restaurant-menu-scraper/runs": {
            "post": {
                "operationId": "runs-sync-seeb-menuminer---restaurant-menu-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/seeb~menuminer---restaurant-menu-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-seeb-menuminer---restaurant-menu-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Public menu URLs to scrape.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxPages": {
                        "title": "Maximum Pages to Crawl",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of pages to process.",
                        "default": 5
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
