# Google Maps Menu Scraper — Place to Structured Menu API (`nomad-agent/google-maps-menu-scraper`) Actor

Turn any Google Maps place into a structured menu: scrapes the place's Menu photos and AI-parses every dish — translated name, price, atomic ingredients, EU-14 allergens with confidence, dietary type (vegan/vegetarian/pescetarian), nutrition estimates and origin story. Bring your own Gemini key.

- **URL**: https://apify.com/nomad-agent/google-maps-menu-scraper.md
- **Developed by:** [Nomad Dev](https://apify.com/nomad-agent) (community)
- **Categories:** AI, Travel
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 dish extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Google Maps Menu Scraper — Place → Structured Menu API

Give it a Google Maps place URL (or place ID/name) and get back the restaurant's
**menu as structured data**. The actor first collects the place's **Menu**
photos; if none are available, it checks the restaurant website for menu images
or PDFs. It AI-parses the discovered menu into one record per dish:

- `name` (translated to your language) + `originalName` (as printed)
- `category`, `price` (with currency, as shown)
- `ingredients` — AI-inferred base ingredients, each with an English database
  name, translated display name, and **estimated EU-14 allergens with confidence**
  (gluten, crustaceans, eggs, fish, peanuts, soy, milk, nuts, celery,
  mustard, sesame, sulfites, lupin, molluscs)
- `dietaryType` — Vegan / Vegetarian / Pescetarian / Other, with explanation
- `nutritionInfo` — estimated serving size, calories, protein, fat, carbs
- `story` — well-established cultural context when confident, otherwise `null`
- `isAlcoholic` for beverages

### Why this actor

Generic Google Maps scrapers focus on reviews and opening hours. This actor
turns a published menu into a richer structured research dataset with
AI-estimated ingredient and dietary fields, allergen confidence scores,
nutrition ranges, and translations in 15 languages.

### Bring your own Gemini key

Menu parsing runs on **your** Google AI Studio key
([get one free](https://aistudio.google.com/apikey)) — you control the AI
cost and quota. A typical menu runs a few cents on Gemini 2.5 Flash, or a
fraction of that on Flash-Lite.

### Input example

```json
{
  "placeUrls": ["https://www.google.com/maps/place/Katz's+Delicatessen,+205+E+Houston+St,+New+York"],
  "geminiApiKey": "AIza…",
  "language": "en",
  "maxMenuPhotos": 8
}
```

### Photo source: add an Outscraper key (recommended)

Since 2026 Google's signed-out "limited view" hides the Maps photo gallery
from automated browsers, so set the `outscraperApiKey` input
([free tier available](https://app.outscraper.com/profile)) — the actor then
fetches the place's full tagged photo set (including the Menu photos) via
Outscraper's API, no browser or proxy involved. Without it, the actor falls
back to browser scraping, which currently reaches only the cover photo.

### Notes

- The untouched keyless Console run returns one deterministic row labelled
  `recordType: "DEMO"` / `isDemo: true`. It makes no Maps, Outscraper or
  Gemini call and is not billed. Customize the input and add your Gemini key
  (plus an Outscraper key for reliable place-photo retrieval) for live output.
- Live runs have a **$0.01 actor-start charge**. Dish result pricing depends
  on your Apify plan: $0.004 (Free), $0.0035 (Bronze), $0.003 (Silver), or
  $0.0025 (Gold and above) per extracted dish. On your first successful live
  run, up to 10 dish charges are waived; the actor-start charge still applies.
- A live run that produces only diagnostic rows has **$0 in Actor charges**.
  Dishes are saved before any Actor charge is attempted.
- In browser-fallback mode, use the **Apify residential proxy** (default) —
  Google rate-limits datacenter IPs.
- Places with neither Google Maps menu photos nor a website menu yield a
  non-billed diagnostic row explaining why.
- `maps.app.goo.gl` short links are resolved to a trusted Google Maps URL.
  Output keeps the original `place` and exposes the canonical URL as
  `resolvedPlaceUrl` when resolution was needed.
- Ingredient, allergen, dietary, and nutrition fields are AI estimates from
  the published menu and typical recipes. Verify them with the restaurant or
  product label before making allergy, medical, or compliance decisions.
- Already have menu photo URLs? Use the companion **AI Restaurant Menu
  Parser** actor and skip the browser. Want the place's food photos matched
  to these dishes? Chain the **Restaurant Dish Photo Matcher** actor.
- Don't want to manage API keys at all? The
  [managed twin](https://apify.com/nomad-agent/google-maps-menu-scraper-managed)
  is the same scraper with photo fetching and AI cost included in its
  per-dish price — zero setup.

### Support & links

- Questions, bug reports and FAQ:
  [github.com/Exdenta/traveleat-support](https://github.com/Exdenta/traveleat-support)
- This actor runs the same menu pipeline as [Travel Eat](https://traveleat.app) —
  scan a menu, get allergens, ingredients and dietary filters in 36 languages.

# Actor input Schema

## `placeUrls` (type: `array`):

Paste one or more full Google Maps place URLs. maps.app.goo.gl short links are resolved automatically; bare place IDs and names are also accepted. The untouched default returns one clearly marked, $0 demo row.

## `geminiApiKey` (type: `string`):

Your Google AI Studio API key — get a free one at <a href='https://aistudio.google.com/apikey'>aistudio.google.com/apikey</a>. Menu parsing runs on YOUR key, so you control the AI cost (a menu typically costs well under $0.01 on Gemini Flash).

## `outscraperApiKey` (type: `string`):

API key from <a href='https://app.outscraper.com/profile'>app.outscraper.com</a> (free tier available). Google's signed-out "limited view" hides the Maps photo gallery from browsers, so this is the reliable way to fetch a place's tagged photos. Without it, the actor falls back to browser scraping, which currently reaches only the cover photo.

## `geminiModel` (type: `string`):

Model used to read the menu photos.

## `language` (type: `string`):

Language for dish names, descriptions, stories and allergen summaries (ingredient database names stay English).

## `maxMenuPhotos` (type: `integer`):

How many of the place's menu photos are sent to the AI. 8 covers most menus; raise it for very long menus.

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

Proxy used to open Google Maps. Google rate-limits datacenter IPs, so the Apify residential proxy is recommended.

## Actor input object example

```json
{
  "placeUrls": [
    "https://www.google.com/maps/place/Katz's+Delicatessen,+205+E+Houston+St,+New+York"
  ],
  "geminiModel": "gemini-2.5-flash",
  "language": "en",
  "maxMenuPhotos": 8,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `items` (type: `string`):

The run's dataset items (see the dataset schema for the field-by-field structure).

# 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 = {
    "placeUrls": [
        "https://www.google.com/maps/place/Katz's+Delicatessen,+205+E+Houston+St,+New+York"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nomad-agent/google-maps-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 = {
    "placeUrls": ["https://www.google.com/maps/place/Katz's+Delicatessen,+205+E+Houston+St,+New+York"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("nomad-agent/google-maps-menu-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 '{
  "placeUrls": [
    "https://www.google.com/maps/place/Katz'\''s+Delicatessen,+205+E+Houston+St,+New+York"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call nomad-agent/google-maps-menu-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nomad-agent/google-maps-menu-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/aSJyVFUARbUPj7wLq/builds/gXbU98WkRf2D8aiMn/openapi.json
