# Grabfood Merchant Nearby Scraper (`romy/grabfood-merchant-nearby-scraper`) Actor

Browse all GrabFood restaurants near a location with automatic pagination. Returns the full merchant list visible in the GrabFood app for any coordinates — names, ratings, delivery times, cuisine tags, and merchant IDs.

- **URL**: https://apify.com/romy/grabfood-merchant-nearby-scraper.md
- **Developed by:** [Romy](https://apify.com/romy) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 merchant scrapeds

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/platform/actors/running/actors-in-store#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

## GrabFood Merchant Nearby Scraper

Browse **all GrabFood restaurants near a location** with automatic pagination. Returns the full merchant list visible in the GrabFood app for any coordinates — names, ratings, delivery times, cuisine tags, and merchant IDs.

### What does GrabFood Nearby Scraper do?

This Actor calls GrabFood's discovery API (`p.grabtaxi.com`) and pages through all restaurants available at a given coordinate. Unlike the search scraper, this returns the full browseable listing — every merchant GrabFood would show a user opening the app at that location.

### Why use GrabFood Nearby Scraper?

- **Market mapping** — catalog all food delivery options in any area
- **Availability monitoring** — track which restaurants go online/offline
- **Lead sourcing** — build a complete merchant list for a zone before targeted scraping
- **Competitive research** — see all restaurant options a potential customer sees

### How to use

1. Open the **Input** tab in Apify Console
2. Enter `lat_lng` coordinates for the target area
3. Set `max_items` if you want to cap the total (default: 100)
4. Click **Start** — the Actor pages through results automatically
5. Download from **Output** tab in JSON, CSV, or Excel

### Input

```json
{
  "lat_lng": "-6.181356782387791,106.82522693654819",
  "max_items": 100
}
```

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lat_lng` | string | Yes | Coordinates as `"lat,lng"` |
| `max_items` | integer | No | Maximum merchants to return (default: 100) |

### Output

One item per merchant:

```json
{
  "id": "6-C6WKMB3DLAMTDE",
  "name": "Domino's Pizza - Kemang",
  "rating": 4.4,
  "estimatedDeliveryTime": 30,
  "merchantBrief": {
    "cuisine": ["Pizza", "Western"],
    "priceTag": 2,
    "distanceInKm": 0.8
  }
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data fields

| Field | Description |
|-------|-------------|
| `id` | Merchant ID — use with GrabFood Menu or Detail Scraper |
| `name` | Restaurant name |
| `rating` | Average rating (0–5) |
| `estimatedDeliveryTime` | Delivery ETA in minutes |
| `merchantBrief.cuisine` | Cuisine categories |
| `merchantBrief.distanceInKm` | Distance from input coordinates |

### Pricing

This Actor uses **Pay-Per-Event** billing:

| Event | Price |
|-------|-------|
| Actor start | $0.05 (once per run) |
| Per merchant returned | $0.006 |

**Example:** 500 merchants = $0.05 start + $3.00 = **$3.05 total**

### Tips

- Set `max_items` to avoid unbounded runs in dense areas (Jakarta CBD can return 500+)
- Pair with **GrabFood Merchant Detail Scraper** (batch `merchant_ids` input) to enrich results
- Use **GrabFood Menu Scraper** with any returned `id` to get full menu data

### FAQ and support

**How many merchants are available?**
Depends on the location. Dense urban areas (Jakarta, Singapore city center) return 300–600+ merchants. Suburban areas may return fewer.

**Which countries?**
All GrabFood markets: Indonesia, Singapore, Malaysia, Thailand, Vietnam, Philippines, Cambodia, Myanmar.

**Is this legal?**
For research and analysis purposes. Respect GrabFood's Terms of Service.

Open an issue on the **Issues** tab or contact the author for custom solutions.

# Actor input Schema

## `lat_lng` (type: `string`):

Center location to search nearby restaurants (e.g., -6.181356,106.825226).

## `max_items` (type: `integer`):

Maximum number of merchants to return.

## Actor input object example

```json
{
  "lat_lng": "-6.181356782387791,106.82522693654819",
  "max_items": 100
}
```

# 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 = {
    "lat_lng": "-6.181356782387791,106.82522693654819"
};

// Run the Actor and wait for it to finish
const run = await client.actor("romy/grabfood-merchant-nearby-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 = { "lat_lng": "-6.181356782387791,106.82522693654819" }

# Run the Actor and wait for it to finish
run = client.actor("romy/grabfood-merchant-nearby-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 '{
  "lat_lng": "-6.181356782387791,106.82522693654819"
}' |
apify call romy/grabfood-merchant-nearby-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,romy/grabfood-merchant-nearby-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/PC6lcMS57pQwkDMvT/builds/JcdigdK3kwFP25TJD/openapi.json
