GrabFood API endpoint
Runs GrabFood's own keyword search over its public listing API and returns the matched stores in the same projection `GET /grabfood/category` uses (address block, cuisine labels, description, halal flag, all image formats with fallbacks, nested branches and the raw upstream object). Unlike the category listing, this surface honours offset: a real page boundary changes the merchant set, so paging works here. `page_size` is bounded to 1-100 (the upstream caps its own answer below that) and `offset` to 0-1000.
/grabfood/searchKeyword search over GrabFood's own public listing API (POST portal.grab.com/foodweb/search). Unlike the category listing, this surface honours offset: offset=0 and offset=20 for chicken in Singapore return different merchant ids (verified live 2026-11-24), so paging is real here.
Query parameters:
keyword (required) — free-text query, e.g. chicken. Blank is rejected before any upstream request; the length cap is 256 characters, which mirrors the storefront's own search-input limit.latitude (required) — search-centre latitude, -90..90. The 0,0 pair is rejected.longitude (required) — search-centre longitude, -180..180.country_code (optional) — market code, one of SG, ID, PH, MY, VN, MM, KH (case-insensitive). Defaults to SG.offset (optional) — 0-based result offset, 0..1000. Default 0.page_size (optional) — results per page, 1..100. Default 20. GrabFood caps its own answer below the requested size (a pageSize=100 request returned 39 stores), so a short page is normal rather than a truncation.Response fields:
keyword, offset, page_size — the resolved request (the keyword is returned trimmed).total_count — GrabFood's own reported match count for this query at this coordinate. It is a per-answer count, so it varies slightly between draws.returned_count — how many stores this response carries.stores[] — the same store projection /api/v1/grabfood/category returns: id, name, cuisines[], description, halal, city, city_id, combined_city, state, country, icon_url, icon_url_fallback, photo_url, photo_url_fallback, small_photo_url, small_photo_url_fallback, branches[] and raw.search_id, request_id — the upstream's own ids for this answer.country_code, latitude, longitude, source_url — the resolved request and its URL.The named fields cover the reviewed GrabFood fields. Every other field the upstream
sends is returned in the nearest record's extras object (and in a response-level
extras for the envelope), mirroring the upstream shape: an extras object holds
only the keys the named fields do not, and arrays are aligned by index with null
for rows that have no extra key. Nothing the upstream sends is stripped, including
identifiers, avatar URLs and personal names. extras is omitted when a record has
no unmodelled field.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| keyword | string | Yes | Free-text search query | chicken | |
| latitude | number | Yes | Search centre latitude | 1.287953 | |
| longitude | number | Yes | Search centre longitude | 103.851784 | |
| country_code | string | No | SG | Market code: SG, ID, PH, MY, VN, MM or KH. Defaults to SG. | SG |
| offset | integer | No | 0-based result offset, 0..1000. Default 0. | 0 | |
| page_size | integer | No | Results per page, 1..100. Default 20. | 20 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/grabfood/search?keyword=chicken&latitude=1.287953&longitude=103.851784" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"keyword": "chicken",
"offset": 0,
"page_size": 8,
"total_count": 281,
"returned_count": 2,
"stores": [
{
"id": "4-C8AKRT5DE6MAJA",
"name": "Popeyes - Bugis Junction (Victoria Street)",
"cuisines": [
"Western",
"Fried Chicken"
],
"halal": true,
"city": "Singapore",
"city_id": 6,
"combined_city": "Singapore",
"icon_url": "https://huawei-food-cms.grab.com/compressed_webp/merchants/4-C8AKRT5DE6MAJA/logo/x.webp",
"photo_url": "https://huawei-food-cms.grab.com/compressed_webp/merchants/4-C8AKRT5DE6MAJA/hero/y.webp",
"small_photo_url": "https://huawei-food-cms.grab.com/compressed_webp/merchants/4-C8AKRT5DE6MAJA/list/z.webp",
"branches": []
}
],
"search_id": "59dcfd4bc00e42109680210d3ca0279a",
"request_id": "e548fdba-0d81-4da6-bbac-91f6a4edaf96",
"country_code": "SG",
"latitude": 1.287953,
"longitude": 103.851784,
"source_url": "https://portal.grab.com/foodweb/search?latlng=1.287953,103.851784"
}
}Request schema
No body schema
Response schema
#/definitions/grabfood.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | grabfood.SearchResponse | No | ||||
| data.country_code | string | No | SG | Market the search was resolved for, upper-case (e.g. "SG"). | ||
| data.extras | object | No | Extras carries every upstream field this API does not model as a named field, mirroring the upstream object shape. Nothing the upstream sent is dropped. | |||
| data.keyword | string | No | chicken | The query that was run. | ||
| data.latitude | number | No | 1.287953 | The coordinate the search was resolved for. | ||
| data.longitude | number | No | 103.851784 | |||
| data.offset | integer | No | 0 | The resolved 0-based offset. | ||
| data.page_size | integer | No | 20 | The resolved page size. | ||
| data.request_id | string | No | The portal's own request id for this answer. | |||
| data.returned_count | integer | No | How many stores this response carries. | |||
| data.search_id | string | No | The portal's own search id for this answer. | |||
| data.source_url | string | No | URL the data was read from (the portal's POST endpoint, without a body). | |||
| data.stores | array | No | The matched stores, in the same projection /grabfood/category returns: address components, cuisine tags, description, halal flag, all three image formats with fallbacks, nested branches and the raw upstream object. | |||
| data.stores[].branches | array | No | Further branches of the same chain that deliver to this location, in the same shape. Empty when the listing is a single branch. | |||
| data.stores[].city | string | No | Singapore | The address block's city label. | ||
| data.stores[].city_id | integer | No | 6 | Grab's numeric city id. | ||
| data.stores[].combined_city | string | No | Singapore | The portal's combined city label. | ||
| data.stores[].country | string | No | Country label as the portal returns it (often empty for SG). | |||
| data.stores[].cuisines | array | No | The merchant's cuisine labels, exactly as the portal lists them. | |||
| data.stores[].description | string | No | The merchant's own description paragraph. | |||
| data.stores[].halal | boolean | No | Whether the merchant is halal-certified, as the portal reports it. | |||
| data.stores[].icon_url | string | No | Square/round merchant icon (webp). | |||
| data.stores[].icon_url_fallback | string | No | The icon's non-webp fallback. | |||
| data.stores[].id | string | No | 4-C75EEUBVJ2KWMA | Grab's merchant id (e.g. "4-C75EEUBVJ2KWMA"). | ||
| data.stores[].name | string | No | Shinya Izakaya - Boat Quay | The merchant's display name (the address block's name). | ||
| data.stores[].photo_url | string | No | Hero/cover photo (webp). | |||
| data.stores[].photo_url_fallback | string | No | The hero photo's non-webp fallback. | |||
| data.stores[].raw | object | No | The complete upstream merchant object, byte-for-byte, so every field the portal carries -- including ones this DTO does not name -- is preserved. | |||
| data.stores[].small_photo_url | string | No | Listing thumbnail (webp). | |||
| data.stores[].small_photo_url_fallback | string | No | The listing thumbnail's non-webp fallback. | |||
| data.stores[].state | string | No | State/region, when the market has one. | |||
| data.total_count | integer | No | The upstream's own reported total match count for this query at this coordinate. It is a per-answer count, so it varies slightly between draws (live-observed 268-281 for "chicken" in Singapore). | |||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/grabfood/search?keyword=chicken&latitude=1.287953&longitude=103.851784" \
-H "x-api-key: $CRAWLORA_API_KEY"