# ShopeeFood Vietnam Scraper — Restaurants, Menus & Prices (`teodor_banea/shopeefood-restaurant-menu-scraper`) Actor

Scrape ShopeeFood Vietnam: restaurants of any of 47 cities, by district, delivery point or search, with rating, cuisines, minimum order, open state and offers, or full menus with VND prices, discounts, availability and option groups. No proxy setup.

- **URL**: https://apify.com/teodor_banea/shopeefood-restaurant-menu-scraper.md
- **Developed by:** [Banea Teodor](https://apify.com/teodor_banea) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## ShopeeFood Vietnam Scraper — Restaurants, Menus & Prices

### What does ShopeeFood Vietnam Scraper do?

This Actor reads **ShopeeFood (shopeefood.vn)**, one of Vietnam's largest food delivery apps, and returns clean, flat
data you can drop into a spreadsheet or a database:

- **Restaurants** of any of the 47 cities ShopeeFood serves — Ho Chi Minh City, Hanoi, Da Nang, Can Tho, Hai Phong,
  Hue, Nha Trang and more — whole cities district by district, chosen districts, your own delivery points or a
  keyword search: name, page URL, district, cuisines, venue type, rating and number of ratings, minimum order,
  preparation time, delivery radius, open-now status and today's hours (or when a closed restaurant opens again),
  promotion labels, chain, address, coordinates, logo and cover image.
- **Full menus** — one row per dish with the price in Vietnamese đồng (VND) as the menu shows it, the struck-through
  price and discount when a deal runs, availability (and when a sold-out dish comes back), weekly serving hours,
  description, photo, likes, category in menu order, and every option group (sizes, toppings, sugar and ice levels,
  extras) with option prices.

Vietnamese text is kept exactly as the site writes it (UTF-8). No proxy, login or browser setup is needed.

### Why use this Actor?

- **Vietnamese food price monitoring** — track what phở, bánh mì, cơm tấm or milk tea cost in each city and district,
  and how deals and discounts move week by week.
- **Market maps for restaurants, brands and investors** — every restaurant of a district with cuisine, rating,
  rating count, chain and coordinates.
- **Menu research** — full menus with option groups, ready for menu engineering or product benchmarking.
- **Same columns as our other delivery scrapers** — field names (`storeId`, `name`, `price`, `priceOriginal`,
  `modifierGroups`…) match our Yemeksepeti, BOX, efood and Deliveroo Actors, so platforms line up in one table.
- **Clean output** — every row has every key, numbers are numbers, prices are whole VND with `currency: "VND"`.

### How much does it cost?

You pay per result (one row) plus a small start fee per run, as shown on the Actor's pricing tab. Typical sizes:

| Run | Rows |
|---|---|
| Prefilled example (3 restaurants × 20 dishes) | 60 |
| One restaurant menu | 5–700 dishes (average ≈ 65 in Ho Chi Minh City) |
| Restaurants around one point or district centre | 350–400 |
| Restaurants of all of Ho Chi Minh City (restaurants mode) | ≈ 8,000 |

Keep first runs small with **Maximum restaurants**, **Maximum dishes per restaurant** and **Maximum results**.

### Input

| Field | Description | Example |
|---|---|---|
| What to scrape | Full menus (one row per dish) or Restaurant list (one row per restaurant) | `menus` |
| City | One of the 47 ShopeeFood cities | `ho-chi-minh` |
| Districts | Limit the city to these districts (accents and case ignored; "District 3", "Q3", "3" work) | `["Quận 1", "Bình Thạnh"]` |
| Delivery points | "latitude,longitude" points instead of whole districts | `["10.7769,106.7009"]` |
| Restaurant URLs | ShopeeFood restaurant pages, read first | `https://shopeefood.vn/ho-chi-minh/example-restaurant` |
| Search text | ShopeeFood's own search in the city (best 200 matches) | `phở` |
| Cuisines | Cuisine or venue-type labels in Vietnamese or English, or a word of the name | `["Món Hàn", "coffee"]` |
| Only restaurants open now | Keep restaurants taking orders now | `false` |
| Minimum rating | 4, 4.5 or 4.8 | `4.5` |
| Order | ShopeeFood order, nearest first, best rated first | `platform` |
| Maximum restaurants | Restaurants for the whole run; empty menus do not count | `50` |
| Maximum dishes per restaurant | First N dishes of each menu | `20` |
| Maximum results | Ceiling on rows for the whole run | `1000` |
| Include option groups | Sizes, toppings and extras with prices (no extra cost) | `true` |
| Include restaurant details | Full weekly hours (every shift), average price, payment methods; about 2 s more per restaurant | `false` |

Unknown districts are listed in the log and under `ERRORS` with close matches, e.g. `Q99: Not a district of TP. HCM on
ShopeeFood — skipped. Close matches: "Quận 9", "Quận 1", "Quận 2", "Quận 3".` — and the run goes on with the others.
Invalid points or URLs are listed under `ERRORS` and skipped.

### Output

Menu item row (menus mode; fictitious example):

```json
{
    "rowType": "menuItem",
    "storeId": "100001",
    "storeName": "Bún Bò Example - Lê Lợi",
    "storeSlug": "bun-bo-example-le-loi",
    "storeUrl": "https://shopeefood.vn/ho-chi-minh/bun-bo-example-le-loi",
    "storeCity": "TP. HCM",
    "storeDistrict": "Quận 1",
    "storeCuisine": ["Món Việt"],
    "storeRating": 4.7,
    "storeIsOpen": true,
    "searchLocation": "Quận 1, TP. HCM",
    "currency": "VND",
    "categoryId": "700001",
    "categoryName": "Món chính",
    "categoryPosition": 1,
    "productId": "800001",
    "name": "Bún bò đặc biệt",
    "description": "Bún bò, chả cua, giò heo, rau sống.",
    "price": 45000,
    "priceOriginal": 55000,
    "priceDiscounted": 45000,
    "discountPercent": 18,
    "priceText": "45.000đ",
    "isAvailable": true,
    "isInDealsSection": true,
    "unavailableUntil": null,
    "availableHoursText": "Mon–Sun 06:00–22:00",
    "likeCount": 12,
    "hasOptions": true,
    "modifierGroups": [
        {
            "id": "600001",
            "name": "Size",
            "isRequired": true,
            "minSelection": 1,
            "maxSelection": 1,
            "options": [
                { "id": "500001", "name": "Vừa", "price": 0, "isDefault": true, "maxQuantity": 1 },
                { "id": "500002", "name": "Lớn", "price": 10000, "isDefault": false, "maxQuantity": 1 }
            ]
        }
    ],
    "tags": [],
    "imageUrl": "https://mms.img.susercontent.com/vn-example-photo",
    "position": 1,
    "scrapedAt": "2026-11-19T15:00:00.000Z",
    "runId": "aBcDeFgHiJkLmNoPq"
}
```

Restaurant row (restaurants mode; fictitious example):

```json
{
    "rowType": "restaurant",
    "storeId": "100001",
    "restaurantId": "9000001",
    "name": "Bún Bò Example - Lê Lợi",
    "nameEn": null,
    "slug": "bun-bo-example-le-loi",
    "url": "https://shopeefood.vn/ho-chi-minh/bun-bo-example-le-loi",
    "sourceUrl": null,
    "searchLocation": "Quận 1, TP. HCM",
    "city": "TP. HCM",
    "district": "Quận 1",
    "countryCode": "VN",
    "currency": "VND",
    "vertical": "food",
    "chainName": null,
    "chainVenueCount": null,
    "rating": 4.7,
    "ratingCount": 100,
    "ratingCountText": "100+",
    "cuisine": ["Món Việt"],
    "primaryCuisine": "Món Việt",
    "venueCategories": ["Quán ăn"],
    "preparationMinutes": 15,
    "averagePrice": null,
    "deliveryFee": null,
    "isFreeDelivery": null,
    "minimumOrder": 20000,
    "deliveryRadiusKm": 20,
    "deliveredByPlatform": true,
    "hasDelivery": true,
    "hasPickup": false,
    "paymentMethods": null,
    "offers": ["Mã giảm 30k"],
    "hasOffers": true,
    "isPreferredMerchant": false,
    "isOpen": true,
    "openStatus": "open",
    "statusText": null,
    "opensAt": null,
    "todayOpens": "06:00",
    "todayCloses": "22:00",
    "openingHoursText": "06:00–22:00 (current or next shift)",
    "openingHours": null,
    "address": "1 Đường Ví Dụ, P. Bến Nghé, Quận 1, TP. HCM",
    "postcode": null,
    "latitude": 10.7769,
    "longitude": 106.7009,
    "distanceKm": 0.8,
    "phone": null,
    "logoUrl": "https://mms.img.susercontent.com/vn-example-logo",
    "imageUrl": "https://mms.img.susercontent.com/vn-example-photo",
    "listPosition": 1,
    "scrapedAt": "2026-11-19T15:00:00.000Z",
    "runId": "aBcDeFgHiJkLmNoPq"
}
```

Notes on the fields:

- **Prices** are whole Vietnamese đồng (no minor unit). `price` is what a customer pays now; when a deal runs,
  `priceOriginal` is the struck-through price and `discountPercent` the discount. Option prices are added to the dish
  price.
- **ShopeeFood has no separate size rows**: sizes, toppings and extras are option groups of the dish.
- `isAvailable` is false for sold-out or paused dishes; `unavailableUntil` says when they return if the site does.
- The delivery fee is not available: it depends on the customer's address, so `deliveryFee` and `isFreeDelivery` stay empty.
- **Opening hours**: the restaurant list carries only the current or next shift of a restaurant, so by default
  `todayOpens`, `todayCloses` and `openingHoursText` describe that one shift (marked "current or next shift"), and they
  are fullest when you run during Vietnamese opening hours; closed restaurants carry `opensAt` instead. Switch on
  **Include restaurant details** (restaurant URLs always get them) for the whole week with every shift, e.g.
  `Mon–Sun 00:00–02:00, 07:00–11:30, 13:00–23:59`, in `openingHoursText` and `openingHours`; `todayOpens` /
  `todayCloses` are then the start of today's first shift and the end of its last.
- **Deals section**: ShopeeFood repeats discounted dishes in a "discounted dishes" section. Each dish is returned once,
  in its own category, with `isInDealsSection: true` when it also appears there, so `storeId` + `productId` is unique
  within a run. A dish listed only in that section comes once, with that section as its category.
- **Contact details are removed from all text**: phone numbers, hotlines, e-mail addresses and Facebook / Zalo /
  Instagram / TikTok handles are stripped from names, descriptions, categories, options and addresses, and notice
  "dishes" (a hotline, a loyalty or allergy note priced at 0–1,000 đ) are skipped.
- `ratingCount` is the site's rounded count (100 for "100+", 1000 for "999+"); `ratingCountText` is the label.
- `distanceKm` is the straight-line distance from your delivery point (or the district centre used to list the
  restaurant).

In menus mode the restaurant records are stored in the run's key-value store under `RESTAURANTS`; anything that
could not be read (unknown districts, invalid points, closed restaurant URLs) is listed under `ERRORS`.

### Tips and tricks

- **Complete vs sample**: ShopeeFood lists about 350–400 restaurants around each point. Without points the Actor
  covers the city from every district centre and removes duplicates (Ho Chi Minh City ≈ 8,000 restaurants, Hanoi and
  Da Nang fewer). That is the restaurant set the app shows customers in those areas, not a registry of every
  merchant. **Search text** is a quick sample: ShopeeFood returns at most its 200 best matches per city.
- **Cuisines**: labels are Vietnamese ("Món Việt", "Món Hàn", "Món Nhật", "Ý", "Café/Dessert", "Ăn vặt/vỉa hè",
  "Quán ăn", "Nhà hàng"); common English words are mapped to them, and a word of the restaurant name matches too.
- **Open now and today's hours** follow ShopeeFood at the time of the run (Vietnam time, UTC+7). Closed restaurants
  carry `opensAt`.
- **Scheduling**: run daily or weekly with the same input and compare by `storeId` + `productId`. The Actor keeps no
  state between runs; filter by `scrapedAt` downstream.
- **Speed**: the Actor opens one browser for the whole run; start-up takes about 10–40 s, then a menu takes about
  2 s and an area's restaurant list a few seconds (restaurant details add about 2 s per restaurant: 300 restaurants with details took about 9 minutes). If ShopeeFood refuses the fast way of reading, the Actor switches by itself to opening pages
  like a visitor: slower, and each city then gives its default listing (up to 200 restaurants) — the run's status
  says so.

### Integrations

Export the dataset as JSON, CSV or Excel, or connect it to Google Sheets, Make, Zapier, Airbyte or your own code with
the Apify API and webhooks. Each run's rows are available at the dataset URL shown on the run page. For CSV, switch
off **Include option groups** for flat rows.

### Privacy

The Actor returns business information that ShopeeFood publishes about restaurants. Phone numbers are never returned:
on ShopeeFood they are mostly the personal mobiles of small shop owners. Phone numbers and contact handles are
removed from all text as well. No owner names, customer reviews or
customer data are collected. The Actor reads public pages as an anonymous visitor — no login.

# Changelog

This Actor's version history is a separate document: https://apify.com/teodor_banea/shopeefood-restaurant-menu-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

"Full menus" returns one row per dish with prices, discounts, availability and option groups (a typical restaurant has 20–150 dishes). "Restaurant list" returns one row per restaurant (rating, cuisines, minimum order, open state, offers, address, coordinates).

## `city` (type: `string`):

Choose a city. Without districts or delivery points the whole city is covered district by district (Ho Chi Minh City: about 8,000 restaurants), in ShopeeFood's own order.

## `districts` (type: `array`):

Limit the city to these districts, as ShopeeFood names them ("Quận 1", "Bình Thạnh", "Thành Phố Thủ Đức", "Ba Đình"). Accents and case are ignored; "District 3", "Q3" and "3" also work. Unknown names are listed with close matches.

## `locations` (type: `array`):

Instead of whole districts, enter delivery points in Vietnam as "latitude,longitude", e.g. "10.7769,106.7009" (Ho Chi Minh City, District 1). Each point returns the restaurants ShopeeFood lists for it (about 350–400).

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

Paste ShopeeFood restaurant pages (https://shopeefood.vn/<city>/<restaurant>). They are scraped in addition to the city and always come first; a URL that no longer exists is reported and skipped.

## `searchQuery` (type: `string`):

Use ShopeeFood's own search in the chosen city (or around your points), e.g. "phở", "trà sữa", "pizza". ShopeeFood returns at most the 200 best matches per city, so this is a quick sample, not a complete list.

## `cuisines` (type: `array`):

Keep only restaurants with one of these cuisine or venue-type labels, in Vietnamese as on the site ("Món Việt", "Món Hàn", "Café/Dessert", "Ăn vặt/vỉa hè") or in English ("korean", "japanese", "coffee", "snacks", "vegetarian"). A word in the restaurant name also matches ("pizza").

## `onlyOpen` (type: `boolean`):

Keep only restaurants that take orders at the time of the run.

## `minRating` (type: `string`):

Keep only restaurants rated at least this. Unrated restaurants are dropped when this is set.

## `sortBy` (type: `string`):

Order in which restaurants are taken before the limits apply. "Best rated first" reads the details of every restaurant of an area first (a few seconds more per area).

## `maxRestaurants` (type: `integer`):

Limit the restaurants for the whole run (restaurant rows, or menus read). Set 0 for no limit (a safety cap of 10,000 restaurants or 2,000 menus still applies). In menus mode, restaurants with an empty menu are skipped and do not count.

## `maxItemsPerRestaurant` (type: `integer`):

In menus mode, keep only the first N dishes of each menu, in menu order. Set 0 for complete menus.

## `maxItemsTotal` (type: `integer`):

Set a hard ceiling on billed rows for the whole run; the run stops as soon as it is reached. Set 0 for no ceiling (a safety cap of 50,000 rows still applies).

## `includeModifiers` (type: `boolean`):

In menus mode, add each dish's option groups (sizes, toppings, sugar and ice levels, extras) with option prices. They come with the menu at no extra cost; switch off for smaller, CSV-friendly rows.

## `includeDetails` (type: `boolean`):

Also read each restaurant page for its full weekly opening hours (every shift of every day), average dish price and payment methods. About two seconds more per restaurant (300 restaurants: about 9 minutes). Restaurant URLs always get these details.

## Actor input object example

```json
{
  "mode": "menus",
  "city": "ho-chi-minh",
  "districts": [
    "Quận 1",
    "Bình Thạnh"
  ],
  "locations": [
    "10.7769,106.7009",
    "21.0285,105.8542"
  ],
  "restaurantUrls": [
    "https://shopeefood.vn/ho-chi-minh/example-restaurant"
  ],
  "cuisines": [
    "Món Hàn",
    "coffee"
  ],
  "onlyOpen": false,
  "sortBy": "platform",
  "maxRestaurants": 3,
  "maxItemsPerRestaurant": 20,
  "maxItemsTotal": 0,
  "includeModifiers": true,
  "includeDetails": false
}
```

# Actor output Schema

## `results` (type: `string`):

Every row of the run as JSON.

## `restaurants` (type: `string`):

Restaurant rows.

## `menuItems` (type: `string`):

Menu item rows.

## `resultsCsv` (type: `string`):

The same rows as a CSV download.

## `restaurantRecords` (type: `string`):

In menus mode, one record per restaurant whose menu was read (same fields as a restaurant row).

## `errors` (type: `string`):

Areas, districts or restaurants that could not be read. Only present when something went wrong.

# 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 = {
    "mode": "menus",
    "city": "ho-chi-minh",
    "maxRestaurants": 3,
    "maxItemsPerRestaurant": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("teodor_banea/shopeefood-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 = {
    "mode": "menus",
    "city": "ho-chi-minh",
    "maxRestaurants": 3,
    "maxItemsPerRestaurant": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("teodor_banea/shopeefood-restaurant-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 '{
  "mode": "menus",
  "city": "ho-chi-minh",
  "maxRestaurants": 3,
  "maxItemsPerRestaurant": 20
}' |
apify call teodor_banea/shopeefood-restaurant-menu-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,teodor_banea/shopeefood-restaurant-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/3XnEGBwylPAeh1Ll2/builds/0lEclh1Xp5CUeVv5a/openapi.json
