# GrabFood Restaurant Scraper (`redomic/grabfood-restaurant-scraper`) Actor

Scrape GrabFood restaurants and menus by keyword, category or delivery pin across Southeast Asian markets. Each row is a restaurant or menu item with cuisine, city, availability flags and a stable ID. Monitor mode returns only new, changed and removed rows since the last run. Pay only for results.

- **URL**: https://apify.com/redomic/grabfood-restaurant-scraper.md
- **Developed by:** [Redomic](https://apify.com/redomic) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Learn more: https://docs.apify.com/actors/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

## GrabFood Scraper: Restaurant and Menu Data from Southeast Asia

One row is a restaurant listed on GrabFood: its stable merchant ID, name, cuisines, city, halal flag, branch count and a link to its page. Use the rows to map a market's restaurant supply, compare cuisines between cities, or build a lead list of merchants. Detail mode goes one level deeper and returns one row per menu item with its availability flag. Monitor mode returns only restaurants or menu items that are new, changed or gone since your last run.

### Who uses it

- **Market analysts** tracking food delivery supply across Singapore, Malaysia, Indonesia, Thailand, the Philippines, Vietnam, Cambodia and Myanmar.
- **Merchant lead-gen teams** building a list of pizza, burger or coffee merchants in a city, with the public page link for each one.
- **Restaurant operators** watching a competitor's menu and checking which dishes are offered at a delivery pin.

### What you get

A search run for `pizza` at the Singapore city-centre pin on 25 November 2026 returned 32 restaurants. The first five rows:

| Restaurant | Cuisines | City | Halal | Branches | ID | Page |
|---|---|---|---|---|---|---|
| US Pizza - Funan | Pizza, Western, Fast Food, Chicken Wing | Singapore | true | 3 | 4-C64ECF6XTE4HL2 | [GrabFood](https://food.grab.com/sg/en/restaurant/us-pizza-funan/4-C64ECF6XTE4HL2) |
| Canadian Pizza - Kim Keat Road | Pizza, Western, Pasta, Fast Food | Singapore | true | 2 | 4-CZCAV22JLYJYC2 | [GrabFood](https://food.grab.com/sg/en/restaurant/canadian-pizza-kim-keat-road/4-CZCAV22JLYJYC2) |
| The Coffee Bean & Tea Leaf - Raffles City Shopping Centre | Western, Coffee, Tea, Cake | Singapore | true | 6 | 4-C2LXSBCJSET2LX | [GrabFood](https://food.grab.com/sg/en/restaurant/the-coffee-bean-tea-leaf-raffles-city-shopping-centre/4-C2LXSBCJSET2LX) |
| Banh Mi Song Hong - Orchard Plaza | Pizza, Vietnamese, Banh Mi, Fast Food | Singapore | false | 0 | 4-C8BYVJNUCLCFLX | [GrabFood](https://food.grab.com/sg/en/restaurant/banh-mi-song-hong-orchard-plaza/4-C8BYVJNUCLCFLX) |
| Quanterm Ambika mess - Little India Conservation Area | Pizza, Thai, Nasi Lemak, Biryani | Singapore | false | 0 | 4-C8BJAPLWCTDKAE | [GrabFood](https://food.grab.com/sg/en/restaurant/quanterm-ambika-mess-little-india-conservation-area/4-C8BJAPLWCTDKAE) |

Each row also carries `query`, `mode`, `countryCode`, `latitude`, `longitude`, `totalCount`, `matchedCount`, `photoUrl`, `iconUrl`, `cuisines` as a list, `branches` as a list of branch IDs and names, and `scrapedAt` as a UTC timestamp. `totalCount` is Grab's own search-index figure for the keyword at your pin: a broad number that includes loose matches and collective "Mix & Match" listings, so treat it as an upper bound, not an exact restaurant count and not the number of rows you receive. `matchedCount` is derived from the rows you get: the number of returned restaurants whose name or cuisine actually contains every word of your keyword. For the pizza search above, Grab reports `totalCount` 261 while 26 of the 32 returned restaurants match `pizza`.

Cambodia and Myanmar are on the same form. A `pizza` search at the Phnom Penh centre pin returns restaurants with `currency: KHR`; the Yangon centre pin returns restaurants with `currency: MMK`. The first row of each:

| Restaurant | City | Country | Currency | ID |
|---|---|---|---|---|
| Gribbite Pizza - Riverside | Phnom Penh | KH | KHR | 10-C75YHEVUBBDYEX |
| Pizza Hut - Pinlon Sittaung City Mart | Yangon | MM | MMK | 9-C3X1CTVWWAVTSE |

Detail mode returns one row per menu item. From US Pizza - Funan on the same date:

| ID | Item | Menu category | Item available | Category available |
|---|---|---|---|---|
| 4-C64ECF6XTE4HL2:SGITE20260904043024021519 | 🧀 Cheese Fountain Pizza Pepperoni Beef | Today's Offer | true | true |
| 4-C64ECF6XTE4HL2:SGITE20260905010824013581 | Ayam Gepuk Pizza (Regular) | Today's Offer | true | true |
| 4-C64ECF6XTE4HL2:SGITE20260428070030017802 | X-Solo Box 🔥- Aloha Pizza🍍🐔 | Today's Offer | true | true |

Detail rows also carry `restaurantId`, `restaurantName`, `restaurantUrl`, `itemDescription`, `itemImageUrl`, `itemSortOrder`, `cuisine`, `city`, `openNow`, `timeZone`, `displayedHours`, `openingHours`, `menuCategoryCount` and `menuItemCount`.
The dataset's first view shows restaurants, the rows a search run returns. Menu item names, availability flags and opening status are in the Menu items view, where detail runs put them; a search run never publishes those fields, so it no longer shows empty columns for them.

### Modes

| Mode | Input that matters | What one run returns |
|---|---|---|
| `search` | `query`, `countryCode`, delivery pin | One row per restaurant matching the keyword. |
| `category` | `categoryId` (for example `135` for Pizza, `24196` for 5-Star Eats) | One row per restaurant in that cuisine or collection. |
| `detail` | `restaurantIds` | One row per menu item, with item and category availability. |
| `monitor` | Any search scope, or `restaurantIds` for menu monitoring | Only new, changed and removed rows since the last run with the same scope. |

### Why this Actor

The features below were requested by people using existing GrabFood tools. They are built in here.

- **Menu change alerts.** Monitoring a restaurant's menu compares each dish's name, description, availability, sort order and category availability, plus the restaurant's opening status, between runs. A scheduled monitor reports the one item that changed instead of a silent empty run.
- **Two availability flags.** `itemAvailable` and `categoryAvailable` are `true` when Grab marks the item available for your delivery pin, `false` when Grab marks it unavailable, and `null` when Grab gives no flag. A `false` flag does not mean sold out; Grab does not publish that reason. An empty category is not inserted into the feed as a fake row.
- **Pin-scoped results.** `deliveryLatitude` and `deliveryLongitude` must be given together. A missing or invalid pair stops the run with a named reason instead of quietly using a different city. Restaurants, menus and availability all follow that pin.
- **Beyond one metro.** Set any latitude and longitude pair, not just a city centre, to cover areas such as Serpong in Indonesia or a suburb of Manila. `countryCode` picks a default pin for each of the eight markets, including Phnom Penh and Yangon; changing country alone moves the pin to that market's centre.
- **Known cost before you run.** There is no start fee and no subscription. A one-row sample is `maxItems: 1` and costs $0.003. Every charge is listed in the Price section below.
- **Clear data terms.** Rows come from public merchant and menu listings. No login, no personal contact data and no customer reviews are collected. You may store the rows, cache them for a short time and rank them in your own application. Verify a listing before showing it to consumers; Grab can change or remove it at any time.
- **No session to break.** The Actor reads public listing endpoints without a guest login. If the configured proxy tunnel fails, the last attempt goes out on a direct connection. A failed or empty run charges nothing.
- **Two counts, labelled honestly.** `totalCount` is Grab's broad search-index figure for the keyword at your pin; `matchedCount` is the number of returned restaurants that actually carry the keyword in their name or cuisine. Neither is the row count.
- **Whole units where they apply.** The public listing feed this Actor reads does not publish item prices. No price or minor-unit field is invented or divided; `currency` is the ISO code of the market you selected, not a price from the feed. If you need prices, use Grab's own ordering flow.

### Price

One result row costs $0.003, which is $3 per 1,000 rows. In monitor mode only new and changed rows cost $0.003 each. Unchanged rows, removed rows, status rows and the run summary cost nothing. The default search with `maxItems: 30` delivers at most 30 rows, so it costs at most $0.09. A detail run with `maxItems: 50` costs at most $0.15.

### How to run it

Set `mode` to `search`, leave `query` as `pizza` and `countryCode` as `SG`, then run. It returns up to 32 restaurants for the Singapore pin.

Set `mode` to `detail` and `restaurantIds` to `4-C64ECF6XTE4HL2` to get the menu items of US Pizza - Funan. To watch that menu daily, set `mode` to `monitor` with the same ID and schedule the Actor; each run reports only what changed.

### Input

| Field | Default | What it does |
|---|---|---|
| `mode` | `search` | `search`, `category`, `detail` or `monitor`. |
| `query` | `pizza` | Keyword for search and monitor, and the label written on every row. |
| `countryCode` | `SG` | GrabFood market: `SG`, `MY`, `ID`, `TH`, `PH`, `VN`, `KH` (Cambodia) or `MM` (Myanmar). |
| `deliveryLatitude` | `1.287953` | Latitude of the delivery pin. Must be set together with longitude. |
| `deliveryLongitude` | `103.851784` | Longitude of the delivery pin. |
| `categoryId` | `135` | Cuisine or collection shortcut ID used in `category` mode. |
| `restaurantIds` | `["4-C64ECF6XTE4HL2"]` | Merchant IDs or full restaurant URLs used in `detail` mode and in detail monitoring. |
| `maxItems` | `100` | Upper limit on delivered rows, up to 1000. |
| `maxMenuItems` | `50` | Upper limit on menu items read per restaurant, up to 500. |
| `proxy` | Apify proxy on | Proxy configuration for the requests. A failed tunnel falls back to a direct request. |

### Output fields

- `id`: stable merchant ID in search and category mode, or `restaurantId:itemId` in detail mode.
- `query`: the keyword or label this row belongs to.
- `input`: the input this row came from (the keyword, category ID or restaurant ID).
- `mode`: `search`, `category` or `detail`.
- `name`, `url`: restaurant name and its public GrabFood page.
- `cuisine`, `cuisines`: cuisines as a string and as a list.
- `city`, `countryCode`, `latitude`, `longitude`: the city and the delivery pin used. GrabFood does not publish street addresses; the outlet is in the name (for example "US Pizza - Funan").
- `currency`: ISO 4217 code of the selected market, for example `KHR` for Cambodia and `MMK` for Myanmar. It identifies the market, not a price.
- `halal`, `photoUrl`, `iconUrl`, `branchCount`, `branches`: public listing details.
- `totalCount`: Grab's broad search-index figure for the keyword at the pin, not an exact count and not the row count.
- `matchedCount`: the number of returned restaurants whose name or cuisine actually contains every word of the keyword, derived from the rows.
- `restaurantId`, `restaurantName`, `restaurantUrl`: set on detail rows.
- `itemId` (Grab's bare item id), `itemName`, `itemAvailable`, `itemDescription`, `itemImageUrl`, `itemSortOrder`: menu item fields.
- `categoryId`, `categoryName`, `categoryAvailable`: menu category and its availability flag.
- `openNow`, `displayedHours`, `timeZone`, `openingHours`, `menuCategoryCount`, `menuItemCount`: public menu context.
- `changeType`: `new`, `changed` or `removed` in monitor mode. On a menu monitor, `changed` means a dish's name, description, availability, sort order or category availability, or the restaurant's opening status, differs from the previous run.
- `scrapedAt`: observation time in UTC, ISO-8601.

A run keeps its status rows and summary in the run's own `STATUS` record. The dataset contains result rows only. A search that finds nothing writes a reason there and ends as a failed run. A quiet monitor run succeeds with no charged rows.

### FAQ

**Is there an official GrabFood API?** This Actor reads the same public listing endpoints the website uses. It needs no API key and no Grab account.

**Does it collect contact details or customer data?** No. It returns merchant and menu listings only. There are no phone numbers, email addresses, customer reviews or personal records.

**Why is an item marked unavailable?** Grab marks it unavailable at your delivery pin. That is not the same as sold out. Grab does not publish a reason. An item with no flag from Grab has `null`.

**Why are there no prices in the rows?** The public listing feed does not include item prices. The Actor does not guess them or convert currency units; the `currency` field is the ISO code of the market you chose.

**Is it legal to use these rows?** They are public listings. Check Grab's terms before you reuse them commercially. This Actor has no access to private or login-only data, and you are responsible for how you display and store the results.

### Tiếng Việt

Actor trả về danh sách nhà hàng và thực đơn GrabFood theo từ khóa, danh mục hoặc vị trí giao hàng. Mỗi dòng có mã nhà hàng, tên, ẩm thực, thành phố và trạng thái món ăn. Chế độ giám sát chỉ trả về mục mới, thay đổi hoặc bị xóa từ lần chạy trước. Không thu phí khởi động; bạn chỉ trả cho dòng kết quả.

### Use it from AI agents (MCP) and Python

**AI agents.** Add this Actor as a tool in Claude, Cursor, VS Code or any MCP client through the Apify MCP server. The agent reads the input schema, so a plain request is enough.

```json
{
  "mcpServers": {
    "grabfood-restaurant-scraper": {
      "url": "https://mcp.apify.com?tools=redomic/grabfood-restaurant-scraper",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

**Python.** `pip install apify-client`, then:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("redomic/grabfood-restaurant-scraper").call(run_input={"mode": "search", "query": "pizza", "countryCode": "SG", "maxItems": 30})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### More from us

- [Allabolag Scraper - Swedish Company Data](https://apify.com/redomic/allabolag-company-scraper): Scrape allabolag.se for Swedish company financials, industry, status and board role titles by search, org number or URL
- [Ashby Jobs Scraper with Salaries](https://apify.com/redomic/ashby-jobs-monitor): Ashby jobs scraper for any startup careers board (OpenAI, Ramp, Notion and thousands more), with salary ranges as numbers: min, max, currency, period, plus equity and bonus flags
- [ATS Jobs Search: Workday, Greenhouse, Lever & Ashby API](https://apify.com/redomic/ats-jobs-search): Search 750,000+ open jobs from 23,000+ companies on Workday, Greenhouse, Lever, Ashby, SmartRecruiters, Workable and 3 more ATS in one run
- [Blocket Scraper: Car Monitor](https://apify.com/redomic/blocket-se-scraper): Blocket scraper for car dealers and flippers: export Bil and Torget rows with price, make, model, year, mileage and seller
- [Closed Jobs Tracker: Expired Jobs & Time to Fill](https://apify.com/redomic/closed-jobs-tracker): Search jobs taken down at 22,000+ companies we check daily: the day each closed, how many days it was open (a time-to-fill proxy when the posting date is known) and closures by company
- [DBA.dk Scraper](https://apify.com/redomic/dba-scraper): A dba scraper for Danish classifieds: one run returns DBA.dk listings with title, price in DKK, condition, category, image and seller
- [Expired Jobs API: Dated Closures From 8 ATS](https://apify.com/redomic/expired-jobs-daily): One run returns dated expired jobs: company, title, firstSeen, lastSeen, closedOn, absentObservations, URL and an asOf/n/historyCeilingDays receipt
- [FMCSA Carrier Scraper](https://apify.com/redomic/fmcsa-carriers): An FMCSA scraper for freight brokers and trucking-insurance sellers
- [Foodpanda Scraper: Dated Menu Price Drops & Watchlist](https://apify.com/redomic/foodpanda-scraper): Foodpanda vendor listings and dish-level menus with dated price history and new/changed/removed monitoring across SG, MY, PH, HK, TW, PK and BD
- [Free-Work Jobs Scraper](https://apify.com/redomic/free-work-jobs-scraper): Free-Work jobs scraper for French IT recruiters: freelance informatique missions with TJM day rates, annual pay, skills and remote mode
- [Google Jobs Scraper - Job Postings API](https://apify.com/redomic/google-jobs): Google Jobs and job postings scraper: get job title, company, location, posted date, salary, full description and every apply link for any search
- [Google Trends API: Trending Now & Interest Over Time](https://apify.com/redomic/google-trends): Trending-now searches and new-trends alerts/monitoring per country with the news behind them, plus interest over time, interest by region, and related and rising queries for any keyword
- [GovDeals Scraper](https://apify.com/redomic/govdeals-scraper): Search and monitor GovDeals government surplus auctions for fleet trucks, equipment and more
- [Greenhouse Jobs Monitor & Scraper](https://apify.com/redomic/greenhouse-jobs-monitor): Monitor Greenhouse jobs from any company careers board (Airbnb, Stripe, Discord and thousands more)
- [Job Postings Dataset: 750k+ Open Jobs, Updated Daily](https://apify.com/redomic/job-postings-dataset): 750,000+ open jobs from 23,000+ company career sites (Workday, Greenhouse, Lever, Ashby and 5 more ATS), updated daily with first-seen and closed dates
- [Lever Jobs Scraper & Salaries](https://apify.com/redomic/lever-jobs-monitor): Lever jobs scraper for any company's careers page (Palantir, Spotify, Zoox, Shield AI and thousands more): flat rows with title, team, location, workplace, commitment, apply link, salary as numbers and the full description merged
- [Marktplaats Scraper - Dutch Classifieds](https://apify.com/redomic/marktplaats-nl): A marktplaats scraper for resellers, car dealers and analysts: export listings from Marktplaats.nl with title, price in EUR, condition, seller, location and images
- [Mercari Scraper](https://apify.com/redomic/mercari-sold-comps): Search Mercari Japan for live listings and sold prices
- [Myntra Product Scraper](https://apify.com/redomic/myntra-scraper): Myntra scraper for product prices, MRP, discounts, ratings and stock
- [Otodom Scraper: Poland Property Listings & Price Monitor](https://apify.com/redomic/otodom-scraper): Scrape Otodom.pl property listings in Poland
- [Otomoto.pl Scraper](https://apify.com/redomic/otomoto-scraper): Scrape Otomoto.pl Polish car listings: one run returns used-car rows with price, make, model, year, mileage, fuel, gearbox, seller and URL
- [Personio Jobs Scraper](https://apify.com/redomic/personio-jobs): Scrape open jobs from Personio company career pages (jobs.personio.de/.com XML feeds)
- [Salary Data API: Pay Ranges by Job Title & Level](https://apify.com/redomic/salary-data): Get salary benchmarks (p10-p90, annualised, with n) and pay ranges from 199,000 employer-posted jobs at 9,600+ companies, updated daily
- [SIRET Company Scraper](https://apify.com/redomic/siret-company-scraper): Build B2B lead lists and support KYB due diligence with official SIRENE/RNE data as spreadsheet rows: SIRET lookup, NAF code, address, directors and financials
- [SUUMO Scraper - Japan Property Listings](https://apify.com/redomic/suumo-scraper): Scrape SUUMO Japan property listings from search URLs for rentals (賃貸) and sales
- [Talabat Scraper — Menus, Prices & Delivery Fees](https://apify.com/redomic/talabat-scraper): Restaurant and menu data from Talabat's 8 MENA markets as flat rows
- [Tecnoempleo Jobs Scraper](https://apify.com/redomic/tecnoempleo-jobs): Scrape Tecnoempleo IT job offers in Spain by keyword, province or remote mode
- [Ulta Scraper](https://apify.com/redomic/ulta-scraper): Scrape Ulta Beauty products by search or category with prices, ratings, reviews, and availability
- [Wolt Restaurant Scraper](https://apify.com/redomic/wolt-restaurant-scraper): One run returns Wolt restaurants with ratings, ETA, delivery fees, prices and full menus as clean flat rows
- [Workday Jobs Scraper](https://apify.com/redomic/workday-jobs): Search and monitor public Workday (myworkdayjobs.com) job postings

# Changelog

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

# Actor input Schema

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

search: one row per restaurant for a keyword. category: one row per restaurant in a cuisine or collection. detail: one row per menu item with availability flags. monitor: only new, changed and removed rows since the previous run.

## `query` (type: `string`):

Dish, cuisine or restaurant keyword, for example pizza, burger or sushi. Used as the search term in search and monitor mode, and as the label on every row.

## `countryCode` (type: `string`):

GrabFood market: SG, MY, ID, TH, PH, VN, KH (Cambodia) or MM (Myanmar). Changing it moves the default delivery pin to that market's city centre.

## `deliveryLatitude` (type: `number`):

Latitude of the delivery pin. Must be given together with deliveryLongitude. Both define which restaurants and menus Grab shows.

## `deliveryLongitude` (type: `number`):

Longitude of the delivery pin. Must be given together with deliveryLatitude.

## `categoryId` (type: `string`):

For category mode: a GrabFood cuisine or collection shortcut ID, for example 135 for Pizza or 24196 for 5-Star Eats.

## `restaurantIds` (type: `array`):

For detail mode: one or more GrabFood merchant IDs or full restaurant URLs. Separate several with commas.

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

Upper limit on delivered rows per run, up to 1000.

## `maxMenuItems` (type: `integer`):

Upper limit on menu items read from each restaurant in detail mode, up to 500.

## `proxy` (type: `object`):

Proxy configuration used for the requests to GrabFood.

## Actor input object example

```json
{
  "mode": "search",
  "query": "pizza",
  "countryCode": "SG",
  "deliveryLatitude": 1.287953,
  "deliveryLongitude": 103.851784,
  "categoryId": "135",
  "restaurantIds": [
    "4-C64ECF6XTE4HL2"
  ],
  "maxItems": 100,
  "maxMenuItems": 50,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All result rows from the default dataset.

# 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": "search",
    "query": "pizza",
    "countryCode": "SG",
    "deliveryLatitude": 1.287953,
    "deliveryLongitude": 103.851784,
    "categoryId": "135",
    "restaurantIds": [
        "4-C64ECF6XTE4HL2"
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("redomic/grabfood-restaurant-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": "search",
    "query": "pizza",
    "countryCode": "SG",
    "deliveryLatitude": 1.287953,
    "deliveryLongitude": 103.851784,
    "categoryId": "135",
    "restaurantIds": ["4-C64ECF6XTE4HL2"],
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("redomic/grabfood-restaurant-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": "search",
  "query": "pizza",
  "countryCode": "SG",
  "deliveryLatitude": 1.287953,
  "deliveryLongitude": 103.851784,
  "categoryId": "135",
  "restaurantIds": [
    "4-C64ECF6XTE4HL2"
  ],
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call redomic/grabfood-restaurant-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,redomic/grabfood-restaurant-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/nnXyHgLvJCDja8mnj/builds/a6sXfP9l7lJfwPiBz/openapi.json
