{
  "data": {
    "id": "KUjiGbhEkosB5ycQw",
    "actId": "tnGusg3Celgcmgg4R",
    "userId": "4BicJNfmk8uEe3GtT",
    "startedAt": "2026-11-19T15:28:47.706Z",
    "finishedAt": "2026-11-19T15:28:51.877Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 4096,
      "runTimeSecs": 4.096,
      "computeUnits": 0.004551111111111111,
      "imageSizeBytes": 361475072
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "chIfRjofLtMMYtdFe",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Foodpanda Scraper Input\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"restaurantUrls\": {\n      \"title\": \"Restaurant URLs\",\n      \"type\": \"array\",\n      \"description\": \"URL mode: one or more Foodpanda restaurant page URLs. The country is detected from the domain. Example: https://www.foodpanda.sg/restaurant/m3jj/mcdonalds-ang-mo-kio\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"https://www.foodpanda.sg/restaurant/m3jj/mcdonalds-ang-mo-kio\"\n      ]\n    },\n    \"latitude\": {\n      \"title\": \"Latitude\",\n      \"type\": \"number\",\n      \"description\": \"Discovery mode: decimal latitude of the search centre. Requires 'longitude' and 'country' to also be set.\",\n      \"editor\": \"number\",\n      \"nullable\": true,\n      \"minimum\": -90,\n      \"maximum\": 90\n    },\n    \"longitude\": {\n      \"title\": \"Longitude\",\n      \"type\": \"number\",\n      \"description\": \"Discovery mode: decimal longitude of the search centre. Requires 'latitude' and 'country' to also be set.\",\n      \"editor\": \"number\",\n      \"nullable\": true,\n      \"minimum\": -180,\n      \"maximum\": 180\n    },\n    \"cityPageUrl\": {\n      \"title\": \"City Page URL\",\n      \"type\": \"string\",\n      \"description\": \"Discovery mode: a Foodpanda city or listing URL (e.g. https://www.foodpanda.sg/restaurants/new/). Country and coordinates are extracted automatically.\",\n      \"editor\": \"textfield\",\n      \"nullable\": true\n    },\n    \"city\": {\n      \"title\": \"City\",\n      \"type\": \"string\",\n      \"description\": \"Discovery mode: city name resolved via the built-in lookup table. Examples: Singapore, Karachi, Dhaka, Taipei, Manila, Phnom Penh, Yangon, Vientiane. Requires 'country' to also be set.\",\n      \"editor\": \"textfield\",\n      \"nullable\": true\n    },\n    \"country\": {\n      \"title\": \"Country\",\n      \"type\": \"string\",\n      \"description\": \"Required for Discovery mode with lat/lon or city name.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"sg\",\n        \"bd\",\n        \"pk\",\n        \"hk\",\n        \"my\",\n        \"ph\",\n        \"tw\",\n        \"kh\",\n        \"mm\",\n        \"la\"\n      ],\n      \"enumTitles\": [\n        \"Singapore\",\n        \"Bangladesh\",\n        \"Pakistan\",\n        \"Hong Kong\",\n        \"Malaysia\",\n        \"Philippines\",\n        \"Taiwan\",\n        \"Cambodia\",\n        \"Myanmar\",\n        \"Laos\"\n      ],\n      \"nullable\": true\n    },\n    \"radiusKm\": {\n      \"title\": \"Search Radius (km)\",\n      \"type\": \"number\",\n      \"description\": \"Discovery mode: radius around the resolved location in kilometres.\",\n      \"default\": 3,\n      \"prefill\": 3,\n      \"minimum\": 0.5,\n      \"maximum\": 50,\n      \"editor\": \"number\"\n    },\n    \"maxRestaurants\": {\n      \"title\": \"Max Restaurants\",\n      \"type\": \"integer\",\n      \"description\": \"Discovery mode: maximum number of vendors to scrape. The actor keeps paging through Foodpanda results until it reaches this number or runs out of matches.\",\n      \"default\": 50,\n      \"prefill\": 5,\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"editor\": \"number\"\n    },\n    \"cuisines\": {\n      \"title\": \"Cuisines\",\n      \"type\": \"array\",\n      \"description\": \"Discovery mode: keep only vendors matching these cuisines. Use cuisine names, slugs or Foodpanda cuisine IDs (e.g. Asian, italian, 39). Multiple values are combined. Leave empty for all cuisines.\",\n      \"editor\": \"stringList\",\n      \"uniqueItems\": true\n    },\n    \"sortBy\": {\n      \"title\": \"Sort Results By\",\n      \"type\": \"string\",\n      \"description\": \"Discovery mode: order in which Foodpanda returns vendors.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"recommended\",\n        \"rating\",\n        \"distance\",\n        \"delivery_time\"\n      ],\n      \"enumTitles\": [\n        \"Recommended\",\n        \"Highest rating\",\n        \"Closest first\",\n        \"Fastest delivery\"\n      ],\n      \"default\": \"recommended\",\n      \"prefill\": \"recommended\"\n    },\n    \"deliveryProvider\": {\n      \"title\": \"Delivery Provider\",\n      \"type\": \"string\",\n      \"description\": \"Discovery mode: keep vendors delivered by Foodpanda riders, by the vendor's own fleet, or both.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"platform\",\n        \"vendor\"\n      ],\n      \"enumTitles\": [\n        \"Any provider\",\n        \"Foodpanda riders\",\n        \"Vendor's own delivery\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"hasDiscount\": {\n      \"title\": \"Only With Discounts\",\n      \"type\": \"boolean\",\n      \"description\": \"Discovery mode: keep only vendors currently offering a discount.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"editor\": \"checkbox\"\n    },\n    \"hasFreeDelivery\": {\n      \"title\": \"Only Free Delivery\",\n      \"type\": \"boolean\",\n      \"description\": \"Discovery mode: keep only vendors currently offering free delivery.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"editor\": \"checkbox\"\n    },\n    \"isNew\": {\n      \"title\": \"Only New Vendors\",\n      \"type\": \"boolean\",\n      \"description\": \"Discovery mode: keep only vendors Foodpanda marks as new.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"editor\": \"checkbox\"\n    },\n    \"isSuperVendor\": {\n      \"title\": \"Only Super Vendors\",\n      \"type\": \"boolean\",\n      \"description\": \"Discovery mode: keep only Foodpanda super vendors.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"editor\": \"checkbox\"\n    },\n    \"includeMenu\": {\n      \"title\": \"Include Menu\",\n      \"type\": \"boolean\",\n      \"description\": \"Whether to fetch the full menu for each vendor. Defaults to true for URL mode and false for Discovery mode when not explicitly set.\",\n      \"editor\": \"checkbox\",\n      \"nullable\": true\n    },\n    \"maxItemsPerRestaurant\": {\n      \"title\": \"Max Items Per Restaurant\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of menu items to extract per vendor. Only applies when Include Menu is enabled.\",\n      \"default\": 200,\n      \"prefill\": 10,\n      \"minimum\": 1,\n      \"maximum\": 2000,\n      \"editor\": \"number\"\n    },\n    \"language\": {\n      \"title\": \"Content Language\",\n      \"type\": \"string\",\n      \"description\": \"Language for vendor and menu text where Foodpanda offers a localised version (for example Traditional Chinese in Taiwan, Khmer in Cambodia). English is the safe default everywhere.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"english\",\n        \"local\"\n      ],\n      \"enumTitles\": [\n        \"English\",\n        \"Local language\"\n      ],\n      \"default\": \"english\",\n      \"prefill\": \"english\"\n    },\n    \"vendorTypes\": {\n      \"title\": \"Vendor Types\",\n      \"type\": \"array\",\n      \"description\": \"Discovery mode: filter by vendor type. Leave empty to include all types.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"restaurant\",\n          \"grocery\",\n          \"convenience\"\n        ],\n        \"enumTitles\": [\n          \"Restaurant\",\n          \"Grocery\",\n          \"Convenience Store\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"default\": [\n        \"restaurant\"\n      ],\n      \"prefill\": [\n        \"restaurant\"\n      ]\n    }\n  },\n  \"required\": []\n}",
    "readme": "# Foodpanda Restaurant Discovery & Full Menu Scraper\n\nFoodpanda serves food, groceries and convenience goods across Asia. This actor works two ways: give it restaurant page links to pull complete details and menus, or give it a location and let it page through every matching vendor inside a radius.\n\nNo login, cookies, browser or proxy setup is needed. The actor talks to Foodpanda's public listing and restaurant APIs directly and only falls back to an Apify datacenter proxy if a direct request is rejected.\n\n## What this actor does\n\n- **URL mode** — paste restaurant page URLs and get full vendor details plus the complete menu with prices.\n- **Discovery mode** — use a latitude/longitude pair, a Foodpanda city listing URL, or a city name to find vendors near that point.\n- **Real filters** — cuisine, rating/distance/delivery-time sort, discount, free delivery, new vendors, super vendors, delivery provider and vendor type are applied by Foodpanda, not bolted on afterwards.\n- **Deep pagination** — discovery keeps requesting the next page until `maxRestaurants` is reached or Foodpanda runs out of matches inside the radius.\n- **Ten markets** — Singapore, Bangladesh, Pakistan, Hong Kong, Malaysia, Philippines, Taiwan, Cambodia, Myanmar and Laos.\n- **Local-language text** — optionally request vendor and menu names in the country's local language where Foodpanda offers them.\n- Fields Foodpanda does not report for a vendor or item are omitted from that record instead of being filled with placeholders.\n\n## Output per vendor\n\n- `vendorCode` — Foodpanda's short vendor code\n- `vendorUrl` — working canonical restaurant page link\n- `name`, `description`, `rating`, `reviewCount`\n- `cuisines`, `foodCharacteristics`, `isHalal`, `isVegetarian`\n- `vendorType` — restaurants, convenience, supermarket, etc.\n- `isOpen`, `isNew`, `isSuperVendor`, `isDeliveryEnabled`, `isPickupEnabled`\n- `address`, `addressLine2`, `city`, `postcode`, `country`, `latitude`, `longitude`\n- `deliveryFee`, `minimumOrder`, `estimatedDeliveryTime`, `currency`\n- `heroImageUrl`, `logoUrl`\n- `menu` — array of `{categoryName, items[]}`, present when menu data was fetched\n- `menuCategoryCount`, `menuItemCount`, `itemsWithImageCount`, `itemsWithDescCount` — always present, `0` when the menu was not fetched\n- `phone`, `timezone`, `scrapedAt`\n\nEach entry inside `menu[].items[]` has:\n\n- `itemId`, `name`, `description`\n- `price`, `originalPrice` (when discounted), `currency`\n- `imageUrl`\n- `isAvailable`\n- `dietaryAttributes` — e.g. `spicy`, `vegetarian`\n- `isAlcoholic`, `isCustomizable`, `isBundle`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `restaurantUrls` | array | – | Restaurant page URLs (URL mode); the country comes from the domain |\n| `latitude` | number | – | Search-centre latitude (Discovery mode); requires `longitude` and `country` |\n| `longitude` | number | – | Search-centre longitude (Discovery mode); requires `latitude` and `country` |\n| `cityPageUrl` | string | – | A Foodpanda city/listing URL; country and coordinates are read from it (Discovery mode) |\n| `city` | string | – | City name resolved via the built-in lookup (Discovery mode); requires `country` |\n| `country` | string | – | `sg`, `bd`, `pk`, `hk`, `my`, `ph`, `tw`, `kh`, `mm`, or `la` — required for coordinate or city-name discovery |\n| `radiusKm` | number | `3` | Search radius around the resolved location, in km (0.5–50) |\n| `maxRestaurants` | integer | `50` | Maximum vendors to scrape in Discovery mode (1–500); pagination continues until this is reached or results run out |\n| `cuisines` | array | – | Keep only these cuisines; accepts names, slugs or Foodpanda cuisine IDs, and multiple values are combined |\n| `sortBy` | string | `recommended` | Result order: `recommended`, `rating`, `distance`, or `delivery_time` |\n| `deliveryProvider` | string | `any` | `any`, `platform` (Foodpanda riders), or `vendor` (own fleet) |\n| `hasDiscount` | boolean | `false` | Keep only vendors with a current discount |\n| `hasFreeDelivery` | boolean | `false` | Keep only vendors with free delivery |\n| `isNew` | boolean | `false` | Keep only vendors Foodpanda marks as new |\n| `isSuperVendor` | boolean | `false` | Keep only Foodpanda super vendors |\n| `includeMenu` | boolean | – | Fetch the full menu per vendor. Defaults to `true` in URL mode and `false` in Discovery mode when left unset |\n| `maxItemsPerRestaurant` | integer | `200` | Maximum menu items pulled per vendor, when menu fetching is on (1–2000) |\n| `language` | string | `english` | `english` or `local` — local language text where Foodpanda offers it |\n| `vendorTypes` | array | `[\"restaurant\"]` | Keep only these vendor types: `restaurant`, `grocery`, `convenience`; pass an empty array to get all types |\n\n### Example: fetch two restaurants with full menus\n\n```json\n{\n  \"restaurantUrls\": [\n    \"https://www.foodpanda.sg/restaurant/m3jj/mcdonalds-ang-mo-kio\",\n    \"https://www.foodpanda.pk/restaurant/u7is/broadway-pizza-ii-chundrigar\"\n  ],\n  \"includeMenu\": true\n}\n```\n\n### Example: top-rated Asian restaurants around a coordinate\n\n```json\n{\n  \"latitude\": 1.3521,\n  \"longitude\": 103.8198,\n  \"country\": \"sg\",\n  \"radiusKm\": 4,\n  \"maxRestaurants\": 100,\n  \"cuisines\": [\"Asian\"],\n  \"sortBy\": \"rating\",\n  \"includeMenu\": false\n}\n```\n\n### Example: free-delivery grocery vendors in a named city\n\n```json\n{\n  \"city\": \"Karachi\",\n  \"country\": \"pk\",\n  \"vendorTypes\": [\"grocery\"],\n  \"hasFreeDelivery\": true,\n  \"maxRestaurants\": 30\n}\n```\n\n### Example: page through an entire city centre\n\n```json\n{\n  \"city\": \"Taipei\",\n  \"country\": \"tw\",\n  \"radiusKm\": 8,\n  \"maxRestaurants\": 500,\n  \"sortBy\": \"distance\",\n  \"includeMenu\": true,\n  \"maxItemsPerRestaurant\": 50\n}\n```\n\n## Use cases\n\n- **Menu database building** — collect menus with item-level prices across many restaurants in one run.\n- **Delivery fee monitoring** — compare delivery fees and minimum order values across a city.\n- **Competitor tracking** — watch a competitor's menu, pricing, discounts or open status change over time.\n- **Neighborhood discovery** — list every vendor within walking distance of an address, filtered by cuisine or delivery type.\n- **Market research** — compare assortment, pricing and local-language catalogues across Foodpanda's Asian markets.\n\n## FAQ\n\n**What's the difference between URL mode and Discovery mode?**\nURL mode fetches the exact restaurants you list. Discovery mode searches near a point, a named city, or a Foodpanda city page, applies your filters, and pages through results inside the radius.\n\n**Do I need to supply both latitude/longitude and a city?**\nNo — pick one way to locate the search: coordinates, a city page URL, or a city name plus country.\n\n**Why didn't a restaurant I expected show up in Discovery mode?**\nDiscovery only searches the radius around one resolved point and only returns what Foodpanda's own listing returns for that area. Increase `radiusKm`, loosen a filter, or switch to URL mode with the restaurant's exact page link.\n\n**How do cuisine filters work?**\nFoodpanda names cuisines per market. Enter the name shown in the Foodpanda app (for example `Asian`, `Italian`, `Bakery`), its slug, or its numeric Foodpanda ID. Unknown values are reported in the log and produce no results rather than silently returning unfiltered data.\n\n**How many results can one run return?**\n`maxRestaurants` goes up to 500 and the actor pages until Foodpanda stops returning vendors inside the radius. Dense city centres may have thousands of matches, so raise the radius and limit together for broad sweeps; splitting a city by cuisine or vendor type is the reliable way to cover more than 500.\n\n**Why is `menu` missing from a record?**\nIt's omitted when `includeMenu` was off for that run, or when Foodpanda returns no menu for that vendor — `menuCategoryCount` and `menuItemCount` are still returned as `0` either way.\n\n**Can I pull grocery or convenience-store vendors instead of restaurants?**\nYes — set `vendorTypes` to `[\"grocery\"]` and/or `[\"convenience\"]`, or leave it empty to get every type.\n\n**What currency are prices and fees shown in?**\nEach market's own currency: SGD, BDT, PKR, HKD, MYR, PHP, TWD, USD (Cambodia), MMK or LAK, matching the `currency` field on that record.\n\n**Do I need proxies, cookies or an account?**\nNo. The actor reads publicly available Foodpanda data without credentials. It chooses its own connection path automatically; nothing needs to be configured.\n\n**Which cities does the built-in city lookup cover?**\nSingapore; Dhaka and Chittagong; Karachi, Lahore and Islamabad; Hong Kong and Kowloon; Kuala Lumpur, Penang and Johor Bahru; Manila, Quezon City and Cebu City; Taipei, Kaohsiung and Taichung; Phnom Penh and Siem Reap; Yangon and Mandalay; Vientiane and Luang Prabang. For any other city, use coordinates or a Foodpanda city page URL.\n\n**Is this affiliated with Foodpanda or Delivery Hero?**\nNo. This is an independent, third-party actor built on publicly accessible Foodpanda data.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "foodpanda-restaurant-discovery-and-full-menu",
      "title": "Foodpanda Restaurant Discovery & Full Menu Scraper",
      "description": "Find Foodpanda restaurants, groceries and convenience vendors near a point or city, or pull them by URL, with rating, cuisines, delivery fee, ETA, discounts and full nested menus. Filter by cuisine, rating, distance, delivery provider and more across 10 Asian markets.",
      "version": "1.1",
      "buildTag": "latest",
      "input": {
        "title": "Foodpanda Scraper Input",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "restaurantUrls": {
            "title": "Restaurant URLs",
            "type": "array",
            "description": "URL mode: one or more Foodpanda restaurant page URLs. The country is detected from the domain. Example: https://www.foodpanda.sg/restaurant/m3jj/mcdonalds-ang-mo-kio",
            "editor": "stringList",
            "prefill": [
              "https://www.foodpanda.sg/restaurant/m3jj/mcdonalds-ang-mo-kio"
            ]
          },
          "latitude": {
            "title": "Latitude",
            "type": "number",
            "description": "Discovery mode: decimal latitude of the search centre. Requires 'longitude' and 'country' to also be set.",
            "editor": "number",
            "nullable": true,
            "minimum": -90,
            "maximum": 90
          },
          "longitude": {
            "title": "Longitude",
            "type": "number",
            "description": "Discovery mode: decimal longitude of the search centre. Requires 'latitude' and 'country' to also be set.",
            "editor": "number",
            "nullable": true,
            "minimum": -180,
            "maximum": 180
          },
          "cityPageUrl": {
            "title": "City Page URL",
            "type": "string",
            "description": "Discovery mode: a Foodpanda city or listing URL (e.g. https://www.foodpanda.sg/restaurants/new/). Country and coordinates are extracted automatically.",
            "editor": "textfield",
            "nullable": true
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Discovery mode: city name resolved via the built-in lookup table. Examples: Singapore, Karachi, Dhaka, Taipei, Manila, Phnom Penh, Yangon, Vientiane. Requires 'country' to also be set.",
            "editor": "textfield",
            "nullable": true
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Required for Discovery mode with lat/lon or city name.",
            "editor": "select",
            "enum": [
              "sg",
              "bd",
              "pk",
              "hk",
              "my",
              "ph",
              "tw",
              "kh",
              "mm",
              "la"
            ],
            "enumTitles": [
              "Singapore",
              "Bangladesh",
              "Pakistan",
              "Hong Kong",
              "Malaysia",
              "Philippines",
              "Taiwan",
              "Cambodia",
              "Myanmar",
              "Laos"
            ],
            "nullable": true
          },
          "radiusKm": {
            "title": "Search Radius (km)",
            "type": "number",
            "description": "Discovery mode: radius around the resolved location in kilometres.",
            "default": 3,
            "prefill": 3,
            "minimum": 0.5,
            "maximum": 50,
            "editor": "number"
          },
          "maxRestaurants": {
            "title": "Max Restaurants",
            "type": "integer",
            "description": "Discovery mode: maximum number of vendors to scrape. The actor keeps paging through Foodpanda results until it reaches this number or runs out of matches.",
            "default": 50,
            "prefill": 5,
            "minimum": 1,
            "maximum": 500,
            "editor": "number"
          },
          "cuisines": {
            "title": "Cuisines",
            "type": "array",
            "description": "Discovery mode: keep only vendors matching these cuisines. Use cuisine names, slugs or Foodpanda cuisine IDs (e.g. Asian, italian, 39). Multiple values are combined. Leave empty for all cuisines.",
            "editor": "stringList",
            "uniqueItems": true
          },
          "sortBy": {
            "title": "Sort Results By",
            "type": "string",
            "description": "Discovery mode: order in which Foodpanda returns vendors.",
            "editor": "select",
            "enum": [
              "recommended",
              "rating",
              "distance",
              "delivery_time"
            ],
            "enumTitles": [
              "Recommended",
              "Highest rating",
              "Closest first",
              "Fastest delivery"
            ],
            "default": "recommended",
            "prefill": "recommended"
          },
          "deliveryProvider": {
            "title": "Delivery Provider",
            "type": "string",
            "description": "Discovery mode: keep vendors delivered by Foodpanda riders, by the vendor's own fleet, or both.",
            "editor": "select",
            "enum": [
              "any",
              "platform",
              "vendor"
            ],
            "enumTitles": [
              "Any provider",
              "Foodpanda riders",
              "Vendor's own delivery"
            ],
            "default": "any",
            "prefill": "any"
          },
          "hasDiscount": {
            "title": "Only With Discounts",
            "type": "boolean",
            "description": "Discovery mode: keep only vendors currently offering a discount.",
            "default": false,
            "prefill": false,
            "editor": "checkbox"
          },
          "hasFreeDelivery": {
            "title": "Only Free Delivery",
            "type": "boolean",
            "description": "Discovery mode: keep only vendors currently offering free delivery.",
            "default": false,
            "prefill": false,
            "editor": "checkbox"
          },
          "isNew": {
            "title": "Only New Vendors",
            "type": "boolean",
            "description": "Discovery mode: keep only vendors Foodpanda marks as new.",
            "default": false,
            "prefill": false,
            "editor": "checkbox"
          },
          "isSuperVendor": {
            "title": "Only Super Vendors",
            "type": "boolean",
            "description": "Discovery mode: keep only Foodpanda super vendors.",
            "default": false,
            "prefill": false,
            "editor": "checkbox"
          },
          "includeMenu": {
            "title": "Include Menu",
            "type": "boolean",
            "description": "Whether to fetch the full menu for each vendor. Defaults to true for URL mode and false for Discovery mode when not explicitly set.",
            "editor": "checkbox",
            "nullable": true
          },
          "maxItemsPerRestaurant": {
            "title": "Max Items Per Restaurant",
            "type": "integer",
            "description": "Maximum number of menu items to extract per vendor. Only applies when Include Menu is enabled.",
            "default": 200,
            "prefill": 10,
            "minimum": 1,
            "maximum": 2000,
            "editor": "number"
          },
          "language": {
            "title": "Content Language",
            "type": "string",
            "description": "Language for vendor and menu text where Foodpanda offers a localised version (for example Traditional Chinese in Taiwan, Khmer in Cambodia). English is the safe default everywhere.",
            "editor": "select",
            "enum": [
              "english",
              "local"
            ],
            "enumTitles": [
              "English",
              "Local language"
            ],
            "default": "english",
            "prefill": "english"
          },
          "vendorTypes": {
            "title": "Vendor Types",
            "type": "array",
            "description": "Discovery mode: filter by vendor type. Leave empty to include all types.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "restaurant",
                "grocery",
                "convenience"
              ],
              "enumTitles": [
                "Restaurant",
                "Grocery",
                "Convenience Store"
              ]
            },
            "uniqueItems": true,
            "default": [
              "restaurant"
            ],
            "prefill": [
              "restaurant"
            ]
          }
        },
        "required": []
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Foodpanda Restaurant Discovery & Full Menu Scraper Output",
        "description": "Foodpanda restaurant records with rating, cuisines, delivery details and full nested menus with item prices, availability and dietary attributes.",
        "type": "object",
        "properties": {
          "restaurants": {
            "type": "string",
            "title": "Scraped Restaurants",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "dockerfile": "../Dockerfile",
      "readme": "# Foodpanda Restaurant Discovery & Full Menu Scraper\n\nFoodpanda serves food, groceries and convenience goods across Asia. This actor works two ways: give it restaurant page links to pull complete details and menus, or give it a location and let it page through every matching vendor inside a radius.\n\nNo login, cookies, browser or proxy setup is needed. The actor talks to Foodpanda's public listing and restaurant APIs directly and only falls back to an Apify datacenter proxy if a direct request is rejected.\n\n## What this actor does\n\n- **URL mode** — paste restaurant page URLs and get full vendor details plus the complete menu with prices.\n- **Discovery mode** — use a latitude/longitude pair, a Foodpanda city listing URL, or a city name to find vendors near that point.\n- **Real filters** — cuisine, rating/distance/delivery-time sort, discount, free delivery, new vendors, super vendors, delivery provider and vendor type are applied by Foodpanda, not bolted on afterwards.\n- **Deep pagination** — discovery keeps requesting the next page until `maxRestaurants` is reached or Foodpanda runs out of matches inside the radius.\n- **Ten markets** — Singapore, Bangladesh, Pakistan, Hong Kong, Malaysia, Philippines, Taiwan, Cambodia, Myanmar and Laos.\n- **Local-language text** — optionally request vendor and menu names in the country's local language where Foodpanda offers them.\n- Fields Foodpanda does not report for a vendor or item are omitted from that record instead of being filled with placeholders.\n\n## Output per vendor\n\n- `vendorCode` — Foodpanda's short vendor code\n- `vendorUrl` — working canonical restaurant page link\n- `name`, `description`, `rating`, `reviewCount`\n- `cuisines`, `foodCharacteristics`, `isHalal`, `isVegetarian`\n- `vendorType` — restaurants, convenience, supermarket, etc.\n- `isOpen`, `isNew`, `isSuperVendor`, `isDeliveryEnabled`, `isPickupEnabled`\n- `address`, `addressLine2`, `city`, `postcode`, `country`, `latitude`, `longitude`\n- `deliveryFee`, `minimumOrder`, `estimatedDeliveryTime`, `currency`\n- `heroImageUrl`, `logoUrl`\n- `menu` — array of `{categoryName, items[]}`, present when menu data was fetched\n- `menuCategoryCount`, `menuItemCount`, `itemsWithImageCount`, `itemsWithDescCount` — always present, `0` when the menu was not fetched\n- `phone`, `timezone`, `scrapedAt`\n\nEach entry inside `menu[].items[]` has:\n\n- `itemId`, `name`, `description`\n- `price`, `originalPrice` (when discounted), `currency`\n- `imageUrl`\n- `isAvailable`\n- `dietaryAttributes` — e.g. `spicy`, `vegetarian`\n- `isAlcoholic`, `isCustomizable`, `isBundle`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `restaurantUrls` | array | – | Restaurant page URLs (URL mode); the country comes from the domain |\n| `latitude` | number | – | Search-centre latitude (Discovery mode); requires `longitude` and `country` |\n| `longitude` | number | – | Search-centre longitude (Discovery mode); requires `latitude` and `country` |\n| `cityPageUrl` | string | – | A Foodpanda city/listing URL; country and coordinates are read from it (Discovery mode) |\n| `city` | string | – | City name resolved via the built-in lookup (Discovery mode); requires `country` |\n| `country` | string | – | `sg`, `bd`, `pk`, `hk`, `my`, `ph`, `tw`, `kh`, `mm`, or `la` — required for coordinate or city-name discovery |\n| `radiusKm` | number | `3` | Search radius around the resolved location, in km (0.5–50) |\n| `maxRestaurants` | integer | `50` | Maximum vendors to scrape in Discovery mode (1–500); pagination continues until this is reached or results run out |\n| `cuisines` | array | – | Keep only these cuisines; accepts names, slugs or Foodpanda cuisine IDs, and multiple values are combined |\n| `sortBy` | string | `recommended` | Result order: `recommended`, `rating`, `distance`, or `delivery_time` |\n| `deliveryProvider` | string | `any` | `any`, `platform` (Foodpanda riders), or `vendor` (own fleet) |\n| `hasDiscount` | boolean | `false` | Keep only vendors with a current discount |\n| `hasFreeDelivery` | boolean | `false` | Keep only vendors with free delivery |\n| `isNew` | boolean | `false` | Keep only vendors Foodpanda marks as new |\n| `isSuperVendor` | boolean | `false` | Keep only Foodpanda super vendors |\n| `includeMenu` | boolean | – | Fetch the full menu per vendor. Defaults to `true` in URL mode and `false` in Discovery mode when left unset |\n| `maxItemsPerRestaurant` | integer | `200` | Maximum menu items pulled per vendor, when menu fetching is on (1–2000) |\n| `language` | string | `english` | `english` or `local` — local language text where Foodpanda offers it |\n| `vendorTypes` | array | `[\"restaurant\"]` | Keep only these vendor types: `restaurant`, `grocery`, `convenience`; pass an empty array to get all types |\n\n### Example: fetch two restaurants with full menus\n\n```json\n{\n  \"restaurantUrls\": [\n    \"https://www.foodpanda.sg/restaurant/m3jj/mcdonalds-ang-mo-kio\",\n    \"https://www.foodpanda.pk/restaurant/u7is/broadway-pizza-ii-chundrigar\"\n  ],\n  \"includeMenu\": true\n}\n```\n\n### Example: top-rated Asian restaurants around a coordinate\n\n```json\n{\n  \"latitude\": 1.3521,\n  \"longitude\": 103.8198,\n  \"country\": \"sg\",\n  \"radiusKm\": 4,\n  \"maxRestaurants\": 100,\n  \"cuisines\": [\"Asian\"],\n  \"sortBy\": \"rating\",\n  \"includeMenu\": false\n}\n```\n\n### Example: free-delivery grocery vendors in a named city\n\n```json\n{\n  \"city\": \"Karachi\",\n  \"country\": \"pk\",\n  \"vendorTypes\": [\"grocery\"],\n  \"hasFreeDelivery\": true,\n  \"maxRestaurants\": 30\n}\n```\n\n### Example: page through an entire city centre\n\n```json\n{\n  \"city\": \"Taipei\",\n  \"country\": \"tw\",\n  \"radiusKm\": 8,\n  \"maxRestaurants\": 500,\n  \"sortBy\": \"distance\",\n  \"includeMenu\": true,\n  \"maxItemsPerRestaurant\": 50\n}\n```\n\n## Use cases\n\n- **Menu database building** — collect menus with item-level prices across many restaurants in one run.\n- **Delivery fee monitoring** — compare delivery fees and minimum order values across a city.\n- **Competitor tracking** — watch a competitor's menu, pricing, discounts or open status change over time.\n- **Neighborhood discovery** — list every vendor within walking distance of an address, filtered by cuisine or delivery type.\n- **Market research** — compare assortment, pricing and local-language catalogues across Foodpanda's Asian markets.\n\n## FAQ\n\n**What's the difference between URL mode and Discovery mode?**\nURL mode fetches the exact restaurants you list. Discovery mode searches near a point, a named city, or a Foodpanda city page, applies your filters, and pages through results inside the radius.\n\n**Do I need to supply both latitude/longitude and a city?**\nNo — pick one way to locate the search: coordinates, a city page URL, or a city name plus country.\n\n**Why didn't a restaurant I expected show up in Discovery mode?**\nDiscovery only searches the radius around one resolved point and only returns what Foodpanda's own listing returns for that area. Increase `radiusKm`, loosen a filter, or switch to URL mode with the restaurant's exact page link.\n\n**How do cuisine filters work?**\nFoodpanda names cuisines per market. Enter the name shown in the Foodpanda app (for example `Asian`, `Italian`, `Bakery`), its slug, or its numeric Foodpanda ID. Unknown values are reported in the log and produce no results rather than silently returning unfiltered data.\n\n**How many results can one run return?**\n`maxRestaurants` goes up to 500 and the actor pages until Foodpanda stops returning vendors inside the radius. Dense city centres may have thousands of matches, so raise the radius and limit together for broad sweeps; splitting a city by cuisine or vendor type is the reliable way to cover more than 500.\n\n**Why is `menu` missing from a record?**\nIt's omitted when `includeMenu` was off for that run, or when Foodpanda returns no menu for that vendor — `menuCategoryCount` and `menuItemCount` are still returned as `0` either way.\n\n**Can I pull grocery or convenience-store vendors instead of restaurants?**\nYes — set `vendorTypes` to `[\"grocery\"]` and/or `[\"convenience\"]`, or leave it empty to get every type.\n\n**What currency are prices and fees shown in?**\nEach market's own currency: SGD, BDT, PKR, HKD, MYR, PHP, TWD, USD (Cambodia), MMK or LAK, matching the `currency` field on that record.\n\n**Do I need proxies, cookies or an account?**\nNo. The actor reads publicly available Foodpanda data without credentials. It chooses its own connection path automatically; nothing needs to be configured.\n\n**Which cities does the built-in city lookup cover?**\nSingapore; Dhaka and Chittagong; Karachi, Lahore and Islamabad; Hong Kong and Kowloon; Kuala Lumpur, Penang and Johor Bahru; Manila, Quezon City and Cebu City; Taipei, Kaohsiung and Taichung; Phnom Penh and Siem Reap; Yangon and Mandalay; Vientiane and Luang Prabang. For any other city, use coordinates or a Foodpanda city page URL.\n\n**Is this affiliated with Foodpanda or Delivery Hero?**\nNo. This is an independent, third-party actor built on publicly accessible Foodpanda data.\n",
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "title": "Foodpanda Restaurants",
          "fields": {
            "type": "object",
            "properties": {
              "vendorCode": {
                "type": "string",
                "description": "Foodpanda short vendor code (e.g. m3jj)"
              },
              "vendorUrl": {
                "type": "string",
                "description": "Canonical Foodpanda restaurant URL"
              },
              "name": {
                "type": "string",
                "description": "Restaurant display name"
              },
              "description": {
                "type": "string",
                "nullable": true,
                "description": "Vendor description when Foodpanda publishes one"
              },
              "heroImageUrl": {
                "type": "string",
                "nullable": true,
                "description": "Banner image URL"
              },
              "logoUrl": {
                "type": "string",
                "nullable": true,
                "description": "Vendor logo URL"
              },
              "rating": {
                "type": "number",
                "nullable": true,
                "description": "Aggregate star rating"
              },
              "reviewCount": {
                "type": "integer",
                "nullable": true,
                "description": "Total number of ratings"
              },
              "cuisines": {
                "type": "array",
                "nullable": true,
                "description": "Cuisine tags"
              },
              "foodCharacteristics": {
                "type": "array",
                "nullable": true,
                "description": "Food labels such as Halal or Islandwide"
              },
              "isHalal": {
                "type": "boolean",
                "nullable": true,
                "description": "True when Foodpanda flags the vendor as halal"
              },
              "isVegetarian": {
                "type": "boolean",
                "nullable": true,
                "description": "True when Foodpanda flags the vendor as vegetarian"
              },
              "vendorType": {
                "type": "string",
                "nullable": true,
                "description": "Vendor type: restaurants, convenience, supermarket, etc."
              },
              "isOpen": {
                "type": "boolean",
                "nullable": true,
                "description": "Currently open for delivery"
              },
              "isNew": {
                "type": "boolean",
                "nullable": true,
                "description": "Foodpanda new-vendor flag"
              },
              "isSuperVendor": {
                "type": "boolean",
                "nullable": true,
                "description": "Foodpanda super-vendor flag"
              },
              "isDeliveryEnabled": {
                "type": "boolean",
                "nullable": true,
                "description": "Delivery currently offered"
              },
              "isPickupEnabled": {
                "type": "boolean",
                "nullable": true,
                "description": "Pickup currently offered"
              },
              "address": {
                "type": "string",
                "nullable": true,
                "description": "Street address"
              },
              "addressLine2": {
                "type": "string",
                "nullable": true,
                "description": "Second address line"
              },
              "city": {
                "type": "string",
                "nullable": true,
                "description": "City name"
              },
              "postcode": {
                "type": "string",
                "nullable": true,
                "description": "Postal code"
              },
              "country": {
                "type": "string",
                "description": "Country code (e.g. sg)"
              },
              "latitude": {
                "type": "number",
                "nullable": true,
                "description": "Venue latitude"
              },
              "longitude": {
                "type": "number",
                "nullable": true,
                "description": "Venue longitude"
              },
              "deliveryFee": {
                "type": "number",
                "nullable": true,
                "description": "Delivery fee in local currency"
              },
              "minimumOrder": {
                "type": "number",
                "nullable": true,
                "description": "Minimum order in local currency"
              },
              "estimatedDeliveryTime": {
                "type": "string",
                "nullable": true,
                "description": "ETA string (e.g. 30-45 min)"
              },
              "currency": {
                "type": "string",
                "nullable": true,
                "description": "ISO currency code (e.g. SGD)"
              },
              "phone": {
                "type": "string",
                "nullable": true,
                "description": "Vendor contact number when published"
              },
              "timezone": {
                "type": "string",
                "nullable": true,
                "description": "Vendor IANA timezone"
              },
              "menu": {
                "type": "array",
                "nullable": true,
                "description": "Nested menu categories and items"
              },
              "menuCategoryCount": {
                "type": "integer",
                "description": "Total menu categories"
              },
              "menuItemCount": {
                "type": "integer",
                "description": "Total menu items"
              },
              "itemsWithImageCount": {
                "type": "integer",
                "description": "Items with image URL"
              },
              "itemsWithDescCount": {
                "type": "integer",
                "description": "Items with description"
              },
              "scrapedAt": {
                "type": "string",
                "description": "UTC ISO-8601 scrape timestamp"
              }
            }
          },
          "views": {
            "overview": {
              "title": "Overview",
              "transformation": {
                "fields": [
                  "name",
                  "cuisines",
                  "rating",
                  "vendorType",
                  "isOpen",
                  "deliveryFee",
                  "minimumOrder",
                  "estimatedDeliveryTime",
                  "city",
                  "country",
                  "vendorUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "name": {
                    "label": "Restaurant",
                    "format": "text"
                  },
                  "cuisines": {
                    "label": "Cuisines",
                    "format": "array"
                  },
                  "rating": {
                    "label": "Rating",
                    "format": "number"
                  },
                  "vendorType": {
                    "label": "Type",
                    "format": "text"
                  },
                  "isOpen": {
                    "label": "Open",
                    "format": "text"
                  },
                  "deliveryFee": {
                    "label": "Delivery Fee",
                    "format": "number"
                  },
                  "minimumOrder": {
                    "label": "Min Order",
                    "format": "number"
                  },
                  "estimatedDeliveryTime": {
                    "label": "ETA",
                    "format": "text"
                  },
                  "city": {
                    "label": "City",
                    "format": "text"
                  },
                  "country": {
                    "label": "Country",
                    "format": "text"
                  },
                  "vendorUrl": {
                    "label": "URL",
                    "format": "link"
                  }
                }
              }
            },
            "analytics": {
              "title": "Analytics",
              "transformation": {
                "fields": [
                  "name",
                  "menuCategoryCount",
                  "menuItemCount",
                  "itemsWithImageCount",
                  "itemsWithDescCount",
                  "rating",
                  "reviewCount",
                  "address",
                  "city",
                  "scrapedAt"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "name": {
                    "label": "Restaurant",
                    "format": "text"
                  },
                  "menuCategoryCount": {
                    "label": "Categories",
                    "format": "number"
                  },
                  "menuItemCount": {
                    "label": "Total Items",
                    "format": "number"
                  },
                  "itemsWithImageCount": {
                    "label": "Items w/ Image",
                    "format": "number"
                  },
                  "itemsWithDescCount": {
                    "label": "Items w/ Desc",
                    "format": "number"
                  },
                  "rating": {
                    "label": "Rating",
                    "format": "number"
                  },
                  "reviewCount": {
                    "label": "Reviews",
                    "format": "number"
                  },
                  "address": {
                    "label": "Address",
                    "format": "text"
                  },
                  "city": {
                    "label": "City",
                    "format": "text"
                  },
                  "scrapedAt": {
                    "label": "Scraped At",
                    "format": "text"
                  }
                }
              }
            }
          }
        }
      }
    },
    "buildNumber": "1.1.1",
    "imageDigest": "927b7d971e7627a1be6426813fc166a59ac25b8ca0f905eb4589bc928ead6150",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.004551111111111111
    }
  }
}