# foodpanda Restaurant Detail Scraper (`romy/foodpanda-restaurant-detail-scraper`) Actor

Full restaurant detail page for any foodpanda restaurant in 11 Asian markets: name, address, opening hours, rating, cuisines, description, plus real-time open/closed status for delivery. No login or API key needed.

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

## Pricing

from $3.90 / 1,000 restaurant detail chargeds

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?

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

## foodpanda Restaurant Detail Scraper

**foodpanda Restaurant Detail Scraper** pulls the full restaurant detail page — name, address, opening hours, rating, cuisines, description — plus real-time open/closed status, for one or more foodpanda restaurants across 11 Asian markets. No [foodpanda](https://www.foodpanda.sg) account, app, or scraping infrastructure required.

Spun off from the mature [foodpanda All-in-One API](https://github.com/RomySaputraSihananda/foodpanda-all-in-one-api) for teams that want a run-and-export dataset of restaurant details rather than a live standby API.

### Why use this Actor?

- **Data enrichment** — attach full opening-hours/rating/description detail to a restaurant list you already have (e.g. from foodpanda-restaurant-search-scraper).
- **Delivery/logistics tooling** — check whether specific restaurants are currently accepting delivery orders before routing to them.
- **Monitoring** — track rating drift or hour changes for a fixed set of restaurants over time.

### Input

| Field           | Required | Description                                                                              |
| --------------- | -------- | ---------------------------------------------------------------------------------------- |
| `country`       | yes      | One of `bd`, `hk`, `kh`, `la`, `mm`, `my`, `ph`, `pk`, `sg`, `th`, `tw`                  |
| `lat`, `lng`    | yes      | Customer coordinate used for the delivery-radius/serviceability check                    |
| `vendorCodes`   | yes      | One or more restaurant codes (from foodpanda-restaurant-search-scraper's `items[].code`) |
| `includeStatus` | no       | Also fetch real-time open/closed status per restaurant (default `true`)                  |

### Output

One dataset row per restaurant:

```json
{
    "vendorCode": "y1gn",
    "country": "sg",
    "code": "y1gn",
    "vendorData": {
        "name": "Example Restaurant",
        "location": { "latitude": 1.2838, "longitude": 103.8591 },
        "rating": { "value": 4.7, "count": 2044 },
        "description": "...",
        "characteristics": { "cuisines": [{ "name": "Chinese" }] }
    },
    "status": { "delivery": { "status": "available" } }
}
```

### Pricing / Cost estimation

Billed **pay-per-event** — one `restaurant-detail` event per restaurant fetched, plus a flat `apify-actor-start` event per run.

### FAQ, disclaimers, and support

This is an **unofficial** Actor, not affiliated with or endorsed by foodpanda or Delivery Hero SE. It calls foodpanda's own public GraphQL/REST API (`{country}.fd-api.com`), the same one the real Android app uses for a signed-out user — no account credentials or bypassed authentication involved.

Found an issue or need a custom field added? Use the **Issues** tab on this Actor's page.

# Actor input Schema

## `country` (type: `string`):

Market the restaurants are in.

## `lat` (type: `number`):

Customer coordinate used for the delivery-radius/serviceability check.

## `lng` (type: `number`):

Customer coordinate used for the delivery-radius/serviceability check.

## `vendorCodes` (type: `array`):

One or more foodpanda restaurant codes (from foodpanda-restaurant-search-scraper's items\[].code, or the code segment of a restaurant's URL).

## `includeStatus` (type: `boolean`):

Adds one extra API call per restaurant for its live delivery-expedition status.

## Actor input object example

```json
{
  "country": "sg",
  "lat": 1.2838,
  "lng": 103.8591,
  "vendorCodes": [
    "y1gn"
  ],
  "includeStatus": true
}
```

# Actor output Schema

## `dataset` (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 = {
    "country": "sg",
    "lat": 1.2838,
    "lng": 103.8591,
    "vendorCodes": [
        "y1gn"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("romy/foodpanda-restaurant-detail-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 = {
    "country": "sg",
    "lat": 1.2838,
    "lng": 103.8591,
    "vendorCodes": ["y1gn"],
}

# Run the Actor and wait for it to finish
run = client.actor("romy/foodpanda-restaurant-detail-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 '{
  "country": "sg",
  "lat": 1.2838,
  "lng": 103.8591,
  "vendorCodes": [
    "y1gn"
  ]
}' |
apify call romy/foodpanda-restaurant-detail-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,romy/foodpanda-restaurant-detail-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/Aro1PD9tJ1dIVhifo/builds/9f7zanzJAC5hsaJmP/openapi.json
