{
  "openapi": "3.0.1",
  "info": {
    "title": "Foodpanda & Foodora Restaurants Scraper",
    "description": "Scrape foodpanda and foodora restaurants for a whole city or country in 15 countries: phone, company name and number, address, GPS, rating, cuisines, delivery fees, promotions, plus menu and reviews on demand. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "cjggMIzLL9Ne3JdmY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~foodpanda-restaurants-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-foodpanda-restaurants-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nice_dev~foodpanda-restaurants-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-foodpanda-restaurants-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nice_dev~foodpanda-restaurants-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-foodpanda-restaurants-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "foodpanda or foodora URLs of the 15 countries: a city page (`https://www.foodpanda.my/city/kuala-lumpur`), a restaurant page (`https://www.foodpanda.sg/restaurant/q99e/an-acai-affair-haji-lane`) or a results page with a location in it (`https://www.foodpanda.sg/restaurants/new?lat=1.2897&lng=103.8501`). The country is read from the domain. When this list or **Restaurant codes** is not empty, the location fields below are ignored; filters, caps, menus, reviews and monitoring still apply. Max 1 000 URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "vendorCodes": {
            "title": "Restaurant codes",
            "maxItems": 1000,
            "uniqueItems": true,
            "type": "array",
            "description": "Restaurant codes of the selected **Country**: the short code after `/restaurant/` in a restaurant URL (e.g. `q99e`). Each restaurant is read directly, without any search. Added to **Start URLs**: the location fields below are then ignored. Max 1 000.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "enum": [
              "sg",
              "my",
              "tw",
              "hk",
              "ph",
              "pk",
              "bd",
              "kh",
              "la",
              "mm",
              "se",
              "no",
              "at",
              "cz",
              "hu"
            ],
            "type": "string",
            "description": "Country of the cities, points and restaurant codes below. A city name that only exists in another of the 15 countries switches to that country.",
            "default": "sg"
          },
          "location": {
            "title": "City",
            "maxLength": 200,
            "type": "string",
            "description": "City to cover entirely: name in English or in the local language (`Kuala Lumpur`, `Makati`, `Praha`), city slug of a foodpanda / foodora URL (`kuala-lumpur`), or a point `latitude,longitude`. The Actor searches a grid of points from the city center outwards, so the whole city is covered, not only one address. Empty = the fields below."
          },
          "locations": {
            "title": "More cities",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several cities (or `latitude,longitude` points) in one run, added to **City**. Restaurants found by several cities are saved once. Max 100.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "wholeCountry": {
            "title": "Whole country",
            "type": "boolean",
            "description": "Search the whole selected **Country** in one go: the grid starts in every city of the country (how the cities of each country are chosen is in the README) and grows around each one that has restaurants. **City** is then ignored (the form pre-fills it with an example): to search another city as well, put it in **More cities**; the cities and points of that country are left out (already covered). Large: tens of thousands of restaurants in the big countries; use **Max restaurants** to cap the run.",
            "default": false
          },
          "query": {
            "title": "Keyword (name, chain or cuisine)",
            "maxLength": 200,
            "type": "string",
            "description": "foodpanda and foodora have no keyword search: the Actor reads the whole area and keeps the restaurants whose name, chain or cuisine contains this word (e.g. `pizza`, `McDonald's`, `sushi`; case and accents ignored). Each restaurant it drops is charged as a *Filter check* event, see Pricing. Empty = all restaurants."
          },
          "searchQueries": {
            "title": "More keywords",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several keywords, added to **Keyword**: a restaurant is kept when it matches any of them. The area is read once whatever the number of keywords.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "coordinates": {
            "title": "Map point (latitude,longitude)",
            "pattern": "^\\s*-?\\d{1,2}(\\.\\d+)?\\s*,\\s*-?\\d{1,3}(\\.\\d+)?\\s*$",
            "maxLength": 60,
            "type": "string",
            "description": "Search around this point instead of a city: `latitude,longitude` in decimal degrees, latitude FIRST (e.g. `1.2897,103.8501` = Singapore center). With **Radius** 0: the restaurants that deliver to this point, as in the app; with a radius: the restaurants located within it. Uses the selected **Country**."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0,
            "maximum": 50,
            "type": "number",
            "description": "0 = automatic. For a city: the grid of search points grows from the city center, point by point, and stops in a direction after two points in a row bring no new restaurant of that city (at most 40 km). For a map point: that point only. Above 0: the restaurants located within this distance of the city center or of the map point (up to 50 km).",
            "default": 0
          },
          "gridStepKm": {
            "title": "Grid step (km)",
            "minimum": 1,
            "maximum": 10,
            "type": "number",
            "description": "Distance between two search points. foodpanda and foodora only list the restaurants that deliver to a given point, so an area is covered by a grid of points; a smaller step also finds the restaurants with a very small delivery zone, with more requests.",
            "default": 3
          },
          "maxItems": {
            "title": "Max restaurants",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of restaurants to save for the whole run (after deduplication and filters). 0 = no limit.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max restaurants per city",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap for EACH city, map point or start URL, so that the first one cannot use up the whole **Max restaurants** budget. 0 = no per-city cap.",
            "default": 0
          },
          "includeMenu": {
            "title": "Include menu, opening hours and offers",
            "type": "boolean",
            "description": "Add the full menu of each restaurant (categories, dishes with description, photo, price and price before discount, sizes, add-ons with their prices, sold-out and alcohol flags), its opening hours and special days, current offers, small-order fee, food license and legal address (1 extra request per restaurant). Charged as a separate event, see Pricing. Off = those fields are null.",
            "default": false
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "local"
            ],
            "type": "string",
            "description": "Language of cuisine names and menus: English or the main local language of the country (Chinese in Taiwan and Hong Kong, Malay in Malaysia, Swedish in Sweden…). Restaurant names stay as the restaurant wrote them.",
            "default": "en"
          },
          "cuisines": {
            "title": "Cuisines",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Only restaurants of these cuisines, by name as shown on foodpanda / foodora (e.g. `Pizza`, `Japanese`, `Burgers`); several = any of them. Applied by the site, no extra cost. A name the site does not know stops the run with the list of valid names.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "foodCharacteristics": {
            "title": "Dietary tags",
            "maxItems": 20,
            "uniqueItems": true,
            "type": "array",
            "description": "Only restaurants with these tags, by name as shown on the site (e.g. `Halal`, `Vegetarian`). Applied by the site, no extra cost. A name the site does not know stops the run with the list of valid names.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "budgets": {
            "title": "Price levels",
            "uniqueItems": true,
            "type": "array",
            "description": "Only restaurants of these price levels. Applied by the site. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "$ (budget)",
                "$$ (mid-range)",
                "$$$ (premium)"
              ]
            },
            "default": []
          },
          "vertical": {
            "title": "Type of shop",
            "enum": [
              "restaurants",
              "shop",
              "darkstores",
              "groceries"
            ],
            "type": "string",
            "description": "Restaurants, or the other shops of the app: shops (flowers, pharmacies, electronics…), the app's own dark stores (pandamart, foodora market) or grocery stores.",
            "default": "restaurants"
          },
          "expeditionType": {
            "title": "Order type",
            "enum": [
              "delivery",
              "pickup",
              "dine_in"
            ],
            "type": "string",
            "description": "Restaurants that deliver to the search points (default), that offer pick-up near them, or that take dine-in orders (very few).",
            "default": "delivery"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "default",
              "rating_desc",
              "distance_asc",
              "delivery_time_asc",
              "delivery_fee_asc"
            ],
            "type": "string",
            "description": "Order in which the restaurants of each search point are read (and cut by the caps). Distance is not strict on the site.",
            "default": "default"
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only restaurants rated at least this (0-5, e.g. `4.5`). Restaurants without a rating are dropped. 0 = no minimum.",
            "default": 0
          },
          "minReviewCount": {
            "title": "Minimum number of ratings",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop the restaurants with fewer ratings than this. 0 = no minimum.",
            "default": 0
          },
          "requirePhone": {
            "title": "With phone only",
            "type": "boolean",
            "description": "Drop the restaurants without a phone number (the site shows none in the Philippines, Hong Kong and Pakistan).",
            "default": false
          },
          "freeDeliveryOnly": {
            "title": "Free delivery only",
            "type": "boolean",
            "description": "Only restaurants showing free delivery at the time of the run.",
            "default": false
          },
          "withDiscountOnly": {
            "title": "With a discount only",
            "type": "boolean",
            "description": "Only restaurants running an offer at the time of the run: a discount (e.g. `Up to 50% off`) or free delivery.",
            "default": false
          },
          "newRestaurantsOnly": {
            "title": "Restaurants marked new only",
            "type": "boolean",
            "description": "Only restaurants the site marks as new on the platform. Not the same as **Only new restaurants** (monitoring) below.",
            "default": false
          },
          "openNowOnly": {
            "title": "Open now only",
            "type": "boolean",
            "description": "Only restaurants taking orders at the time of the run (delivery or pick-up available, not temporarily closed).",
            "default": false
          },
          "excludeChains": {
            "title": "Independent restaurants only",
            "type": "boolean",
            "description": "Drop the restaurants that belong to a chain (a chain name on the site).",
            "default": false
          },
          "cityOnly": {
            "title": "Searched city only",
            "type": "boolean",
            "description": "For a city search: drop the restaurants of neighbouring towns that the grid meets near the city limits (city as written by the site in the `city` field). With several cities, a restaurant of any of them is kept.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop the restaurants whose name, chain, cuisine or address contains one of these WHOLE words (case and accents ignored): `art` drops \"Art Cafe\" but keeps \"Smart Kitchen\". Several words in one entry (`hot pot`) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the text (no spaces there).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Add the reviews of each restaurant (30 per request): date, text, author name as shown, overall / food / rider scores, dishes ordered, likes and the restaurant's answer. Charged per review as a separate event, see Pricing.",
            "default": false
          },
          "maxReviewsPerRestaurant": {
            "title": "Max reviews per restaurant",
            "minimum": 0,
            "maximum": 6000,
            "type": "integer",
            "description": "Maximum number of reviews per restaurant, newest first. 0 = all the reviews the site shows (it keeps about the last 12 months of written reviews), up to 6,000.",
            "default": 20
          },
          "postedAfter": {
            "title": "Reviews posted after",
            "type": "string",
            "description": "Only reviews written on or after this date: `2026-09-01` (a UTC day), or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). Restaurants are never dropped by this filter."
          },
          "postedBefore": {
            "title": "Reviews posted before",
            "type": "string",
            "description": "Only reviews written on or before this date (the whole UTC day is included), or older than a period such as `30 days`."
          },
          "minReviewRating": {
            "title": "Minimum review score",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews whose overall score is at least this (1-5). 0 = all.",
            "default": 0
          },
          "maxReviewRating": {
            "title": "Maximum review score",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews whose overall score is at most this (e.g. `2` = complaints only). 0 = all.",
            "default": 0
          },
          "onlyWithText": {
            "title": "Reviews with text only",
            "type": "boolean",
            "description": "Drop the ratings without any text.",
            "default": false
          },
          "onlyWithBusinessReply": {
            "title": "Reviews with the restaurant's answer only",
            "type": "boolean",
            "description": "Keep only the reviews the restaurant answered.",
            "default": false
          },
          "reviewKeywords": {
            "title": "Review keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the reviews whose text contains one of these words (case and accents ignored).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyNew": {
            "title": "Only new restaurants",
            "type": "boolean",
            "description": "Skip the restaurants that a previous run (same **Memory key**) already delivered: they are not saved and not charged. First run = everything is new.",
            "default": false
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by **Only new restaurants**. Give each schedule / task its own key (e.g. `kl-pizza`) so that they do not share their memory. Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset the memory",
            "type": "boolean",
            "description": "Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every restaurant again. Untick it afterwards.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: the Apify Proxy is included in the price and works for this site. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of requests processed in parallel.",
            "default": 8
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to the site in any 60 seconds, all of them counted: result pages, menu pages and review pages. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if the site answers HTTP 429 / 403 in the log.",
            "default": 240
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}