# GoFood Restaurant Scraper (Indonesia) (`ariadev/gofood-restaurant-scraper`) Actor

Scrape GoFood restaurants in Indonesia: ratings, delivery fees, ETA, promos, cuisines, opening hours, coordinates and featured dishes with prices.

- **URL**: https://apify.com/ariadev/gofood-restaurant-scraper.md
- **Developed by:** [AriaDev](https://apify.com/ariadev) (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

## GoFood Restaurant Scraper (Indonesia) 🍜

Scrape **GoFood** (gofood.co.id), Indonesia's largest food delivery platform by Gojek, and get structured restaurant data for any city or GPS point in Indonesia: **restaurant name, rating, cuisine, price level, coordinates, delivery fee, delivery ETA, active promos, opening hours and featured dishes with prices**.

No login, no cookies, no browser. Fast, lightweight HTTP scraper that only collects public business listings.

### What can this GoFood scraper do?

- 📍 **Search by city or coordinates**: Jakarta (and each kota), Bogor, Depok, Tangerang, Bekasi, Bandung, Semarang, Yogyakarta, Solo, Surabaya, Malang, Bali/Denpasar, Medan, Palembang, Pekanbaru, Batam, Makassar, Manado, Balikpapan, Samarinda, Pontianak, Banjarmasin, Tarakan and more, or any `"latitude,longitude"`.
- 🍢 **Pick categories / cuisines**: Near me (all restaurants), Most loved, Cheap delivery, Martabak, Bakso & soto, Sate, Noodles, Coffee, Beverages, Bakery, Chinese, Japanese, Korean, Western, Fast food, Pizza & pasta, Seafood, Indian, Middle Eastern, Snacks.
- 🏪 **Track chains / brands**: list every outlet of McDonald's, KFC, Kopi Kenangan, Mie Gacoan or any brand near a location using its `brandId`.
- 🧭 **Max coverage mode**: `scrapeAllCategories` runs every list for every location and de-duplicates, to collect (almost) every restaurant in an area.
- 🔎 **Filters**: minimum rating (4.0+ / 4.5+), max delivery fee, max dish price, only restaurants with dish promos, only popular restaurants, sort by distance.
- 🧹 **Automatic de-duplication** across locations and categories.
- 💾 Export to JSON, CSV, Excel, XML, or use the Apify API, webhooks, Make, Zapier, n8n, Google Sheets.

### Use cases

- **Market research & site selection**: count competitors, cuisines and price levels around a planned new outlet or cloud kitchen.
- **Lead generation for B2B sellers**: build lists of F\&B merchants (supplier, POS, packaging, delivery, marketing agencies) by area and cuisine.
- **Price & promo monitoring**: track delivery fees, discounts and dish prices of competitors or franchise outlets over time (schedule the Actor daily).
- **Franchise / brand coverage analysis**: map every outlet of a brand on GoFood across Indonesian cities.
- **Academic & data journalism**: food delivery economy, culinary trends per city.

### Input example

```json
{
  "locations": ["Jakarta Selatan", "Bandung", "-7.2575,112.7521"],
  "categories": ["NEAR_ME", "MARTABAK"],
  "brandIds": ["2b7a33c5-a5e2-4da4-bddc-9825cb038b84"],
  "maxResultsPerSearch": 100,
  "minRating": "4.5",
  "sortByDistance": true,
  "includeFeaturedDishes": true,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "ID" }
}
```

| Field | Description |
|---|---|
| `locations` | City names from the list above or `"lat,lng"`. GoFood shows restaurants that deliver to the point (roughly a 10–25 km radius), so add several points to cover a whole metro area. |
| `categories` | GoFood lists to scrape for every location. GoFood returns ~50 results for `NEAR_ME`; cuisine lists and `FINAL_CHEAP_WEB_APP` (cheap delivery) paginate to hundreds. |
| `scrapeAllCategories` | Scrape every category for every location (best coverage, duplicates removed). |
| `brandIds` | Optional chain/brand IDs. Every result includes `brandId`, so you can find one from a first run. |
| `maxResultsPerSearch` | Max unique restaurants per location × category (default 100). |
| `maxResults` | Hard cap for the whole run (0 = no cap). |
| `minRating`, `maxDeliveryFeeIdr`, `maxDishPriceIdr`, `onlyDishPromos`, `onlyPopular`, `sortByDistance` | Same filters as in the GoFood app. |
| `includeFeaturedDishes` | Adds the highlighted dishes GoFood shows for each restaurant. |
| `language` | `en` or `id` (Bahasa Indonesia). |

### Output example

```json
{
  "id": "49b6ad5e-5fa3-4394-a4fc-44eb2e47afb8",
  "name": "KFC, Kemang",
  "url": "https://gofood.link/u/O2Qjp",
  "brandId": "efa96fcb-553b-4052-a5cd-a9688032a094",
  "brandName": "KFC General",
  "rating": 4.8,
  "priceLevel": 3,
  "priceLevelLabel": "$$$",
  "cuisines": ["Fast food", "Rice", "Chicken"],
  "latitude": -6.2555,
  "longitude": 106.8121667,
  "distanceKm": 1.5,
  "deliverable": true,
  "deliveryEtaMinMinutes": 15,
  "deliveryEtaMaxMinutes": 25,
  "deliveryFeeOriginalIdr": 20500,
  "deliveryFeeFinalIdr": 20500,
  "pickupAvailable": false,
  "promotions": [{ "title": "Up to 8k food discount", "description": "No min. spend" }],
  "hasPromotion": true,
  "openingHours": [{ "dayOfWeek": 1, "day": "Monday", "open": "00:00", "close": "23:59" }],
  "coverImageUrl": "https://i.gojekapi.com/darkroom/gofood-indonesia/v2/images/uploads/...jpg",
  "joinedGoFoodAt": "2016-06-20T10:19:41.995Z",
  "searchLocation": "Jakarta Selatan",
  "searchCategory": "NEAR_ME",
  "featuredDishes": [
    { "name": "Omelette + Sosis", "description": "Martabak Mie dicampur Irisan Sosis", "priceIdr": 28000, "promoPriceIdr": 25200, "imageUrl": "https://i.gojekapi.com/..." }
  ],
  "scrapedAt": "2026-11-16T18:11:17+00:00"
}
```

Distance, delivery fee and ETA are calculated by GoFood from the search point to the restaurant.

### How much does it cost?

The Actor uses pay-per-result pricing: you pay only for restaurants saved to your dataset (see the Pricing tab). It needs very little memory (256 MB is enough) and no browser, so platform usage is minimal. 1,000 restaurants typically take a few minutes.

### Tips

- To cover a big city, enable `scrapeAllCategories` and add several coordinates a few km apart (e.g. one per kecamatan). Duplicates are removed automatically.
- GoFood's firewall blocks most datacenter IPs, so the default proxy is Apify **Residential** with country **Indonesia** (available on every Apify plan, including Free). The Actor needs only about 5 MB of proxy traffic per 1,000 restaurants. If the selected proxy is blocked, it automatically falls back to a direct connection and then to residential proxy (`autoProxyFallback`).
- Schedule the Actor daily/weekly to monitor promos and delivery fees.

### FAQ

**Is scraping GoFood legal?** This Actor only collects publicly available business information that GoFood shows to any visitor without logging in. It does not collect personal data of customers or drivers. Always check that your use complies with GoFood's terms and applicable laws (including Indonesia's UU PDP).

**Does it scrape full menus or reviews?** It returns the featured dishes GoFood shows in listings (with prices and promo prices). Full menus and written reviews are not included.

**A city is not in the list?** Use coordinates: open Google Maps, right-click the spot, copy the `lat, lng` and paste it as a location.

**Found a bug or need a custom field?** Open an issue in the Issues tab, it is answered quickly.

***

Keywords: GoFood scraper, Gojek scraper, GoFood API, Indonesia food delivery data, restaurant data Indonesia, Jakarta restaurants, GoFood merchants list, GoFood promo tracker, kuliner data, scraper restoran.

# Actor input Schema

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

City names (e.g. Jakarta Selatan, Bandung, Surabaya, Bali, Medan, Makassar, Yogyakarta, Tarakan...) or exact coordinates as "latitude,longitude" (e.g. "-6.2615,106.8106"). GoFood returns restaurants that deliver to each point, so use several points to cover a big city.

## `categories` (type: `array`):

Which GoFood lists to scrape for every location. Note: GoFood returns ~50 restaurants for NEAR_ME, while cuisine lists and 'Cheap delivery' paginate to hundreds. For maximum coverage enable 'Scrape all categories'.

## `scrapeAllCategories` (type: `boolean`):

Ignores the selection above and scrapes every category for every location. Duplicates are removed, so this is the best way to collect (almost) all restaurants in an area.

## `customCategoryCodes` (type: `array`):

Any other GoFood collection/cuisine code you find in the GoFood website URLs, e.g. "MOST_LOVED".

## `brandIds` (type: `array`):

Scrape every outlet of a chain near each location, e.g. McDonald's = 226ea0d5-c763-40dc-aad3-9a233ed04f86, KFC = efa96fcb-553b-4052-a5cd-a9688032a094, Kopi Kenangan = 2b7a33c5-a5e2-4da4-bddc-9825cb038b84. Any restaurant's brandId is included in the output.

## `maxResultsPerSearch` (type: `integer`):

Stops paginating a single list after this many unique restaurants.

## `maxResults` (type: `integer`):

Hard cap for the whole run. 0 = no cap.

## `includeFeaturedDishes` (type: `boolean`):

Adds the 1-6 highlighted menu items GoFood shows for each restaurant (name, description, price, promo price, photo).

## `sortByDistance` (type: `boolean`):

Return the closest restaurants first.

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

Only restaurants with at least this rating.

## `maxDeliveryFeeIdr` (type: `integer`):

e.g. 5000 = only restaurants with delivery fee up to Rp5.000.

## `maxDishPriceIdr` (type: `integer`):

e.g. 30000 = restaurants with dishes up to Rp30.000.

## `onlyDishPromos` (type: `boolean`):

Only restaurants that currently have discounted dishes.

## `onlyPopular` (type: `boolean`):

Only restaurants GoFood marks as popular.

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

Language of cuisine names and promo texts.

## `requestDelaySecs` (type: `number`):

Polite random delay between page requests.

## `autoProxyFallback` (type: `boolean`):

If the selected proxy gets blocked, automatically try a direct connection and then Apify RESIDENTIAL proxy (Indonesia).

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

GoFood blocks most datacenter IP ranges (HTTP 403). Recommended and default: Apify Proxy group RESIDENTIAL with country Indonesia (ID). It is available on all Apify plans including Free, and this Actor uses only ~5 MB of proxy traffic per 1,000 restaurants.

## Actor input object example

```json
{
  "locations": [
    "Jakarta Selatan"
  ],
  "categories": [
    "NEAR_ME",
    "FINAL_CHEAP_WEB_APP"
  ],
  "scrapeAllCategories": false,
  "customCategoryCodes": [],
  "brandIds": [],
  "maxResultsPerSearch": 50,
  "maxResults": 0,
  "includeFeaturedDishes": true,
  "sortByDistance": false,
  "minRating": "",
  "onlyDishPromos": false,
  "onlyPopular": false,
  "language": "en",
  "requestDelaySecs": 1,
  "autoProxyFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ID"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "locations": [
        "Jakarta Selatan"
    ],
    "categories": [
        "NEAR_ME",
        "FINAL_CHEAP_WEB_APP"
    ],
    "maxResultsPerSearch": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "ID"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ariadev/gofood-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 = {
    "locations": ["Jakarta Selatan"],
    "categories": [
        "NEAR_ME",
        "FINAL_CHEAP_WEB_APP",
    ],
    "maxResultsPerSearch": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "ID",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("ariadev/gofood-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 '{
  "locations": [
    "Jakarta Selatan"
  ],
  "categories": [
    "NEAR_ME",
    "FINAL_CHEAP_WEB_APP"
  ],
  "maxResultsPerSearch": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ID"
  }
}' |
apify call ariadev/gofood-restaurant-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ariadev/gofood-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/X8PGNpRhR6Vcfrm90/builds/9o5AR7LaUzwrymgn6/openapi.json
