GrabFood API endpoint
Returns one merchant's own storefront data: name, cuisine labels (split from the upstream comma-separated string), description, photos with fallbacks, IANA time zone, the address block, published opening hours per weekday, and the complete menu composition -- every department with its id, name, availability, ordering weight and items, where each item carries id, name, availability, description, both image formats and its ordering weight. The upstream repeats items across departments, so the response reports both `item_count` (item rows) and `unique_item_count` (distinct ids). `merchant_id` is validated against a strict alphabet before any request, because the value becomes a URL path segment. This surface publishes **no price**: verified live 2026-11-24 across six markets, no item carries a price, cost or amount field. GrabFood publishes prices on chain pages instead -- see `GET /grabfood/chain` (`items[].cost`, pair with the market currency from `GET /grabfood/country`). No coordinate parameter is advertised because the answer is coordinate-independent (byte-identical bodies verified with no query string, with another latlng, and with the storefront's own `userID`).
/grabfood/merchantReturns one merchant's own storefront page data, read from the public listing backend the GrabFood storefront's own anonymous browser calls (portal.grab.com/foodweb/merchants/{merchant_id}).
Query parameters:
merchant_id (required) — Grab's merchant id, e.g. 4-CYTJPBTAPBMDSE. Get one from /api/v1/grabfood/category or /api/v1/grabfood/search (stores[].id), or from /api/v1/grabfood/chain (branches[].merchant_id). Validated against a strict alphabet (market prefix, hyphen, alphanumeric suffix) before any request is made, because the value becomes a URL path segment: a value carrying /, ?, %, spaces or non-ASCII is a 400 rather than a reshape of the upstream URL.There is deliberately no latitude/longitude parameter: this answer is coordinate-independent. Verified live 2026-11-24 — the same merchant id returned byte-identical bodies (sha256-identical) with no query string at all, with a different latlng, and with the storefront's own userID=9999999999999 — so advertising a coordinate here would promise a location scoping the upstream does not apply.
Response fields:
merchant_id, name, description — the merchant as the page presents it.cuisines — the cuisine labels, split from the upstream's comma-separated cuisine string. Empty when the merchant publishes no label.photo_url, photo_url_fallback — the hero image in webp and its non-webp fallback.time_zone — the merchant's own IANA zone, e.g. Asia/Singapore.address — address.name, address.combined_city, address.city, address.city_id, address.state, address.country.opening_hours — opening_hours.open, opening_hours.displayed_hours (e.g. 09:00-21:00) plus opening_hours.monday through opening_hours.sunday, each exactly as the portal sends it (e.g. 9:00am-9:00pm).category_count, categories[] — every menu department in the upstream's own order, each with id, name, available, sort_order, item_count and items[]. A department with an empty id is the storefront's synthetic For You department, which has no id upstream — that is a real department, not a parser gap.items[] fields — id, name, available, description, image_url, image_url_fallback and sort_order.item_count, unique_item_count — the upstream lists the same item in more than one department (verified: a 10-department menu carried 47 item rows for 39 distinct ids), so item_count counts rows and unique_item_count counts distinct ids.source_url — the URL the data was read from.raw — the complete upstream merchant object, byte-for-byte, so every field the page carries is preserved alongside the typed projection.This surface publishes no price. Verified live 2026-11-24 across merchants in six markets (SG, ID, MY, PH, KH, MM): 57 sampled merchants, every menu parsed, and not one item carried a price, cost or amount field. GrabFood publishes prices on chain pages instead — use /api/v1/grabfood/chain (items[].cost, paired with the market currency from /api/v1/grabfood/country). An independent merchant that publishes no chain page has no anonymous price source at all; that is recorded rather than invented here.
Verified live 2026-11-24: 4-CYTJPBTAPBMDSE (Koo Kee Yong Tow Foo Mee, Singapore) answers 10 departments, 47 item rows and 39 distinct items with real names, descriptions, images and opening hours; 1-CY4KHE3BCZEVCE (MY), IDGFSTI00000302 (ID), PHGFSTI0000029l and 10-C8EZDE3FE2T2AX (KH) answer the same shape in their own markets. An unknown id answers HTTP 404 {"reason":"not_found","message":"no merchant found by given parameters"}, which this route maps to a 404 so a caller can tell a nonexistent merchant apart from an upstream failure. This route was screened in-cluster with the all@fresh matrix (56 profiles x 3 runs, sequential, request-only, 100 ms spacing, zero proxied retries): 56 of 56 profiles passed 3/3, so it is profile-agnostic and shares this family's existing portal rotation.
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 |
|---|---|---|---|---|---|
| merchant_id | string | Yes | Grab merchant id from /grabfood/category, /grabfood/search or /grabfood/chain | 4-CYTJPBTAPBMDSE | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/grabfood/merchant?merchant_id=4-CYTJPBTAPBMDSE" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"merchant_id": "4-CYTJPBTAPBMDSE",
"name": "Koo Kee Yong Tow Foo Mee - People's Park Food Centre",
"cuisines": [
"Cantonese",
"Yong Tau Foo",
"Noodle",
"Soup"
],
"description": "",
"photo_url": "https://huawei-food-cms.grab.com/compressed_webp/merchants/4-CYTJPBTAPBMDSE/hero/4cce636bfdf74edca505adff4c3ec6cc_1560914684763118536.webp",
"photo_url_fallback": "https://huawei-food-cms.grab.com/Merchants/4-CYTJPBTAPBMDSE/photos/4cc...jpeg",
"time_zone": "Asia/Singapore",
"address": {
"name": "Koo Kee Yong Tow Foo Mee - People's Park Food Centre",
"combined_city": "Singapore",
"city": "Singapore",
"city_id": 6,
"state": "",
"country": "Singapore"
},
"opening_hours": {
"open": true,
"displayed_hours": "09:00-21:00",
"monday": "9:00am-9:00pm",
"tuesday": "9:00am-9:00pm",
"wednesday": "9:30am-9:00pm",
"thursday": "9:30am-9:00pm",
"friday": "9:30am-9:00pm",
"saturday": "9:30am-9:00pm",
"sunday": "9:30am-9:00pm"
},
"category_count": 10,
"item_count": 47,
"unique_item_count": 39,
"categories": [
{
"id": "",
"name": "For You",
"available": true,
"sort_order": 201,
"item_count": 8,
"items": [
{
"id": "SGITE2019082709320572267",
"name": "Koo Kee Special Noodle",
"available": true,
"description": "Delightful noodles with savory minced meat and fresh fish cake toppings.",
"image_url": "https://huawei-food-cms.grab.com/compressed_avif/items/SGITE2019082709320572267/photo/0a8ae813e1364d9d822b469deb533f5b_1566898325059092136.avif",
"image_url_fallback": "",
"sort_order": 7
}
]
}
],
"source_url": "https://portal.grab.com/foodweb/merchants/4-CYTJPBTAPBMDSE"
}
}Request schema
No body schema
Response schema
#/definitions/grabfood.merchantResponseDoc
| 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.MerchantResponse | No | ||||
| data.address | object | No | The merchant address block. | |||
| data.address.city | string | No | Singapore | City label. | ||
| data.address.city_id | integer | No | 6 | Grab numeric city id. | ||
| data.address.combined_city | string | No | Singapore | The portal combined city label. | ||
| data.address.country | string | No | Singapore | Country label as the portal returns it. | ||
| data.address.name | string | No | The location name the address block carries (usually the merchant name). | |||
| data.address.state | string | No | State/region, when the market has one. | |||
| data.categories | array | No | Every menu department, in the upstream own order and with the upstream own items. | |||
| data.categories[].available | boolean | No | Whether the merchant currently offers this department. | |||
| data.categories[].id | string | No | SGCAT20250304115005017473 | The department id, e.g. "SGCAT20250304115005017473". Empty for the synthetic "For You" department (a real department with no id of its own, not a parser gap). | ||
| data.categories[].item_count | integer | No | How many item rows this department lists. | |||
| data.categories[].items | array | No | Every item row this department lists. | |||
| data.categories[].items[].available | boolean | No | Whether the merchant currently offers this item. | |||
| data.categories[].items[].description | string | No | The item description paragraph. | |||
| data.categories[].items[].id | string | No | SGITE2019082709320572267 | The item id, e.g. "SGITE2019082709320572267". | ||
| data.categories[].items[].image_url | string | No | The item photo (webp). | |||
| data.categories[].items[].image_url_fallback | string | No | The photo non-webp fallback. | |||
| data.categories[].items[].name | string | No | Koo Kee Special Noodle | The item display name. | ||
| data.categories[].items[].sort_order | integer | No | The item own ordering weight inside its department. | |||
| data.categories[].name | string | No | Mains | The department display name, e.g. "Mains". | ||
| data.categories[].sort_order | integer | No | The department own ordering weight. | |||
| data.category_count | integer | No | How many menu departments the page lists. | |||
| data.cuisines | array | No | The merchant cuisine labels, split from the upstream comma-separated string. Empty when the merchant publishes no cuisine label. | |||
| data.description | string | No | The merchant own description paragraph. | |||
| 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.item_count | integer | No | How many item rows the page lists across all departments (repeats included, because the upstream lists the same item in several departments). | |||
| data.merchant_id | string | No | 4-CYTJPBTAPBMDSE | Grab merchant id that was read, as validated. | ||
| data.name | string | No | Koo Kee Yong Tow Foo Mee | The merchant display name. | ||
| data.opening_hours | object | No | The merchant published opening hours. | |||
| data.opening_hours.displayed_hours | string | No | 09:00-21:00 | The upstream own combined hours string, e.g. "09:00-21:00". | ||
| data.opening_hours.friday | string | No | ||||
| data.opening_hours.monday | string | No | 9:00am-9:00pm | Per-weekday strings, exactly as the portal sends them. | ||
| data.opening_hours.open | boolean | No | Whether the merchant is open at this reading. | |||
| data.opening_hours.saturday | string | No | ||||
| data.opening_hours.sunday | string | No | ||||
| data.opening_hours.thursday | string | No | ||||
| data.opening_hours.tuesday | string | No | ||||
| data.opening_hours.wednesday | string | No | ||||
| data.photo_url | string | No | Hero photo (webp). | |||
| data.photo_url_fallback | string | No | The hero photo non-webp fallback. | |||
| data.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.source_url | string | No | URL the data was read from. | |||
| data.time_zone | string | No | Asia/Singapore | The merchant own IANA time zone, e.g. "Asia/Singapore". | ||
| data.unique_item_count | integer | No | How many distinct item ids those rows contain. | |||
| 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 |
| 404 | Not Found | #/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/merchant?merchant_id=4-CYTJPBTAPBMDSE" \
-H "x-api-key: $CRAWLORA_API_KEY"