{
  "openapi": "3.0.1",
  "info": {
    "title": "foodpanda Restaurant Search Scraper",
    "description": "Restaurants near any coordinate in 11 Asian markets, with live-verified filters (cuisine, budget tier, payment type, food characteristics, vertical) and four sort orders, or real-time search suggestions. Fully paginated. No login needed.",
    "version": "0.0",
    "x-build-id": "MhIf14OMWADajsm6g"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/romy~foodpanda-restaurant-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-romy-foodpanda-restaurant-search-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/romy~foodpanda-restaurant-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-romy-foodpanda-restaurant-search-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/romy~foodpanda-restaurant-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-romy-foodpanda-restaurant-search-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",
        "required": [
          "country",
          "lat",
          "lng"
        ],
        "properties": {
          "country": {
            "title": "Country",
            "enum": [
              "bd",
              "hk",
              "kh",
              "la",
              "mm",
              "my",
              "ph",
              "pk",
              "sg",
              "th",
              "tw"
            ],
            "type": "string",
            "description": "Market to search in."
          },
          "lat": {
            "title": "Latitude",
            "type": "number",
            "description": "Coordinate to search near."
          },
          "lng": {
            "title": "Longitude",
            "type": "number",
            "description": "Coordinate to search near."
          },
          "query": {
            "title": "Search text (switches to suggestions mode)",
            "type": "string",
            "description": "If set, the Actor returns real-time search suggestions (matching terms + direct vendor deeplinks) instead of a filtered restaurant listing."
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "distance_asc",
              "rating_desc",
              "popularity_desc",
              "delivery_time_asc"
            ],
            "type": "string",
            "description": "All 4 values confirmed live, each returns a genuinely different top result. Listing mode only."
          },
          "cuisine": {
            "title": "Cuisine ID",
            "type": "integer",
            "description": "Numeric cuisine id, e.g. 86 = Fast Food in Bangladesh. Confirmed live to filter items. Real ids for the current market/location come back in the response's own aggregations.cuisines[]. Listing mode only."
          },
          "budgets": {
            "title": "Budget tier",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Confirmed live to filter items by budget tier (1-4). Listing mode only."
          },
          "paymentType": {
            "title": "Payment type",
            "type": "string",
            "description": "String id, e.g. credit_card, antfinancial_bkash, balance. Confirmed live to filter. Real ids in the response's own aggregations.payment_types[]. Listing mode only."
          },
          "foodCharacteristic": {
            "title": "Food characteristic ID",
            "type": "integer",
            "description": "Numeric id, e.g. 81 = Organic in Bangladesh. Confirmed live to filter. Real ids in the response's own aggregations.foodCharacteristics[]. Listing mode only."
          },
          "vertical": {
            "title": "Vertical",
            "type": "string",
            "description": "Confirmed live to switch the entire result set - e.g. darkstores returns foodpanda's grocery/pandamart vendors instead. Listing mode only.",
            "default": "restaurants"
          },
          "verticalTypeIds": {
            "title": "Vertical type IDs",
            "type": "string",
            "description": "Confirmed live to further narrow results within a vertical. Listing mode only."
          },
          "useFreeDeliveryLabel": {
            "title": "Include free-delivery label",
            "type": "boolean",
            "description": "NOT a filter - confirmed live it only toggles whether each item gets a free_delivery_label field. Listing mode only.",
            "default": false
          },
          "tagLabelMetadata": {
            "title": "Include full tag/discount metadata",
            "type": "boolean",
            "description": "NOT a filter - confirmed live it toggles whether items' tags[] carry full discount detail vs generic tag codes. Listing mode only.",
            "default": false
          },
          "pageSize": {
            "title": "Restaurants per request",
            "type": "integer",
            "description": "Listing mode only.",
            "default": 20
          },
          "maxItems": {
            "title": "Max restaurants",
            "type": "integer",
            "description": "Stop once this many restaurants have been pushed. Leave empty to fetch all matching restaurants. Listing mode only."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}