{
  "openapi": "3.0.1",
  "info": {
    "title": "Grab Scraper | GrabFood GrabMart SEA Menus",
    "description": "Scrape GrabFood restaurants, menus, cuisine SEO & GrabMart feeds across Singapore, Malaysia, Philippines, Thailand, Vietnam, Indonesia, Cambodia, and Myanmar. Extract merchant IDs, ratings, fees, menu items & prices, promos. Export Excel/CSV/JSON. Unofficial — not affiliated with Grab.",
    "version": "0.1",
    "x-build-id": "7BzJ2wpk58cQHx18m"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~grab-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-grab-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/lentic_clockss~grab-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-grab-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/lentic_clockss~grab-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-grab-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": [
          "mode",
          "countryCode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "restaurant",
              "mart",
              "chain",
              "cuisine",
              "recommended",
              "startUrls",
              "discoverCategories"
            ],
            "type": "string",
            "description": "search | restaurant | mart | chain | cuisine | recommended | startUrls | discoverCategories",
            "default": "search"
          },
          "countryCode": {
            "title": "Country",
            "enum": [
              "sg",
              "my",
              "ph",
              "th",
              "vn",
              "id",
              "kh",
              "mm"
            ],
            "type": "string",
            "description": "Grab market country code",
            "default": "ph"
          },
          "city": {
            "title": "City slug",
            "type": "string",
            "description": "City slug (e.g. manila, cebu, bangkok, chiang-mai, hanoi, bali). Resolves default latlng.",
            "default": "manila"
          },
          "latlng": {
            "title": "Lat,Lng",
            "type": "string",
            "description": "Delivery pin as \"lat,lng\" (overrides city default)"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Search keyword. Required for default search mode (Store Test / empty form).",
            "default": "pizza"
          },
          "businessType": {
            "title": "Business type",
            "enum": [
              "ALL",
              "FOOD",
              "MART"
            ],
            "type": "string",
            "description": "Filter search/recommended results",
            "default": "ALL"
          },
          "cuisineSlug": {
            "title": "Cuisine slug",
            "type": "string",
            "description": "For mode=cuisine — e.g. pizza, chicken, mart-delivery"
          },
          "cuisineId": {
            "title": "Cuisine ID",
            "type": "string",
            "description": "Optional cuisine numeric/string id for /cuisines/{slug}/{id}"
          },
          "merchantId": {
            "title": "Merchant ID",
            "type": "string",
            "description": "Grab merchant id"
          },
          "merchantSlug": {
            "title": "Merchant slug",
            "type": "string",
            "description": "URL slug for restaurant detail"
          },
          "restaurantUrl": {
            "title": "Restaurant URL",
            "type": "string",
            "description": "Full food.grab.com restaurant URL"
          },
          "chainName": {
            "title": "Chain name",
            "type": "string",
            "description": "For mode=chain — brand / chain keyword or slug"
          },
          "lang": {
            "title": "Language path",
            "type": "string",
            "description": "Path locale (en/th/vi/id/ms/zh/km depending on market)",
            "default": "en"
          },
          "includeMenuItems": {
            "title": "Include menu items",
            "type": "boolean",
            "description": "Parse JSON-LD menu items in restaurant / enrich",
            "default": true
          },
          "enrichMenus": {
            "title": "Enrich listings with menus",
            "type": "boolean",
            "description": "After list modes, open up to maxEnrich FOOD merchants for menus",
            "default": false
          },
          "maxEnrich": {
            "title": "Max enrich merchants",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Max FOOD merchants to open for menu enrich",
            "default": 5
          },
          "expandBranches": {
            "title": "Expand branch merchants",
            "type": "boolean",
            "description": "Emit branchMerchants[] as separate merchant rows",
            "default": true
          },
          "emitCuisines": {
            "title": "Emit cuisine categories",
            "type": "boolean",
            "description": "Also emit category rows from merchant cuisine[] tags",
            "default": false
          },
          "emitPromoLabels": {
            "title": "Emit promo / labels",
            "type": "boolean",
            "description": "Also emit promo and littleIconLabel rows",
            "default": false
          },
          "loadMoreRounds": {
            "title": "DOM scroll rounds",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Optional DOM infinite-scroll rounds before portal pagination",
            "default": 0
          },
          "martPageRounds": {
            "title": "Mart feed page rounds",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Extra Mart homefeed offset pages after SSR preload",
            "default": 2
          },
          "probeMartDetail": {
            "title": "Probe Mart merchant detail",
            "type": "boolean",
            "description": "Open first Mart merchant + shopfeed/itemApi best-effort",
            "default": true
          },
          "pageSize": {
            "title": "Search page size",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "Portal search pageSize (max 32)",
            "default": 32
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max records to return (free plan capped at 200). Store Test default is 1.",
            "default": 1
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "food.grab.com / mart.grab.com URLs for mode=startUrls",
            "items": {
              "type": "string"
            }
          },
          "proxyCountry": {
            "title": "Proxy country hint",
            "type": "string",
            "description": "Optional ISO country for worker egress (defaults to market)"
          },
          "workerBaseUrl": {
            "title": "Worker base URL override",
            "type": "string",
            "description": "Optional allowlisted HTTPS override. Stale europe-west1 / asia-southeast1 Grab worker URLs are rewritten to australia-southeast1."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}