GrabFood API endpoint
Returns one chain's published menu items and its branches, read from the chain page's own `__NEXT_DATA__` payload: chain name, heading, long description, banner image, page title, meta description, every menu item (id, title, description, image, cost string) and every branch (merchant id, name, location name, address, image, offer name). `chain_key` is validated as a strict slug before any request, so a value carrying path separators or percent-encoding is rejected rather than reshaping the upstream URL. GrabFood publishes no chain index -- the site's own `/chains` route 404s and a country page's footer links only 10-20 featured chains -- so only the chains those footer links carry are guaranteed; an unknown key is a 404, never an empty success.
/grabfood/chainReturns one chain's published menu items and its branches, read from the chain page's own server-rendered __NEXT_DATA__ payload (food.grab.com/{country}/{lang}/chain/{chain_key}).
Query parameters:
chain_key (required) — the chain slug the site uses, e.g. burger-king-delivery. Validated as a strict slug (lower case letters, digits and single hyphens, at most 96 characters) 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. The chains the site currently features are in /api/v1/grabfood/country's footer_links.favorites[] paths (chain/<key>).country (optional) — market path segment, one of sg, id, ph, my, vn, mm, kh (the markets with a served storefront; any other value is a 400). Defaults to sg.lang (optional) — language path segment, a two-letter tag such as en. Defaults to en.Response fields:
chain_key, chain_name, heading, body, image_url — the chain as the page presents it (body is the page's long chain description).page_title, meta_description — the page's own SEO strings.item_count, items[] — every chain-wide menu item the page lists, each with id, title, description, image_url and cost (the page's own price string, e.g. 14.30; pair it with the market's currency from /api/v1/grabfood/country).branch_count, branches[] — every branch the page lists, each with merchant_id, name, location_name, address, image_url and offer_name.country, lang, build_id, source_url — the resolved request, the page's Next.js build (informational only: no request in this API depends on it) and the page URL.raw — the complete upstream chain entity object, byte-for-byte, so every field the page carries is preserved alongside the typed projection.Verified live 2026-11-24: burger-king-delivery answers a full page in both sg (142 items, 66 branches) and my (0 chain-wide items, 88 branches — the same page shape with an empty item list, which is reported honestly as item_count":0). GrabFood publishes no chain index (the site's own /chains route 404s) and only some markets publish chain/<key> footer links (ID 12, MY 20; SG/PH/VN/MM/KH none). Several of the keys the site itself links are not servable — sg/mcdonalds-delivery, sg/4fingers-crispy-chicken-delivery and my/a-&-w-delivery all answer the storefront's own HTTP 500 error document with an empty pageChain.entities.chain map — which is indistinguishable from a nonexistent key, so a key the page does not resolve is always a 404 here, never an empty success.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| chain_key | string | Yes | GrabFood chain slug, e.g. burger-king-delivery | burger-king-delivery | |
| country | string | No | sg | Market path segment: sg, id, ph, my, vn, mm or kh (other values are a 400). Defaults to sg. | sg |
| lang | string | No | en | Language path segment, e.g. en. Defaults to en. | en |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/grabfood/chain?chain_key=burger-king-delivery&country=us&lang=en" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"chain_key": "burger-king-delivery",
"chain_name": "Burger King",
"heading": "",
"body": "BURGER KING® first arrived on Singapore shores in 1982 with the opening of its first restaurant in Peninsula Plaza.",
"image_url": "https://food-partner-api-img.grab.com/chain-page-images/sg_burger-king-delivery.jpg",
"page_title": "Burger King Food Delivery Menu & Promo",
"meta_description": "Get your food delivered to your doorstep with Burger King at GrabFood. Find Burger King promos and popular dishes and menu - get it delivered hot and fresh.",
"item_count": 142,
"items": [
{
"id": "SGITE20240510042729011781",
"title": "Double Spicy Chicken King with Cheese",
"description": "2 spicy, crispy and tender chicken thigh, topped with freshly shredded lettuce and creamy mayo and American Cheese, served on a fragrant sesame seed bun.",
"image_url": "https://huawei-food-cms.grab.com/compressed_avif/items/SGITE20240510042729011781/photo/e1a5768f_310927.avif",
"cost": "14.30"
}
],
"branch_count": 66,
"branches": [
{
"merchant_id": "4-C6K3LLJBMFKZCT",
"name": "Burger King - Boat Quay",
"location_name": " Boat Quay",
"address": "52/52A, Circular Road, BOAT QUAY, 049407",
"image_url": "https://huawei-food-cms.grab.com/Merchants/4-C6K3LLJBMFKZCT/photos/463babba4b84461ba1549343902bc3df_1794240000426219628.jpg"
}
],
"country": "sg",
"lang": "en",
"build_id": "o3NiVNzXdB1DsdpjldVq5",
"source_url": "https://food.grab.com/sg/en/chain/burger-king-delivery"
}
}Request schema
No body schema
Response schema
#/definitions/grabfood.chainResponseDoc
| 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.ChainResponse | No | ||||
| data.body | string | No | The page's long chain description. | |||
| data.branch_count | integer | No | How many branches this chain page lists. | |||
| data.branches | array | No | Every branch the page lists. | |||
| data.branches[].address | string | No | 52/52A, Circular Road, BOAT QUAY, 049407 | The branch's street address as the page prints it. | ||
| data.branches[].image_url | string | No | The branch's photo. | |||
| data.branches[].location_name | string | No | Boat Quay | The branch's own location label, e.g. " Boat Quay" (leading space is the upstream's own value, preserved verbatim). | ||
| data.branches[].merchant_id | string | No | 4-C6K3LLJBMFKZCT | Grab's merchant id for this branch, e.g. "4-C6K3LLJBMFKZCT". | ||
| data.branches[].name | string | No | The branch's display name, e.g. "Burger King - Boat Quay". | |||
| data.branches[].offer_name | string | No | The current offer label the page shows for this branch, if any. | |||
| data.build_id | string | No | The page's Next.js build id. Informational only; no request in this API depends on it. | |||
| data.chain_key | string | No | burger-king-delivery | The chain key that was read, as validated. | ||
| data.chain_name | string | No | The chain's display name, e.g. "Burger King". | |||
| data.country | string | No | sg | Market path segment that was read (lower-case). | ||
| data.heading | string | No | The page's chain heading text (often empty upstream). | |||
| data.image_url | string | No | The chain's banner image. | |||
| data.item_count | integer | No | How many menu items this chain page lists. | |||
| data.items | array | No | Every chain-wide menu item the page lists. | |||
| data.items[].cost | string | No | 14.30 | The item's price string as the chain page prints it, e.g. "14.30". GrabFood prices chain-wide items per market without a currency symbol here; pair it with the market's currency from GET /grabfood/country. | ||
| data.items[].description | string | No | The item's own description paragraph. | |||
| data.items[].id | string | No | SGITE20240510042729011781 | The item's own id, e.g. "SGITE20240510042729011781". | ||
| data.items[].image_url | string | No | The item's photo. | |||
| data.items[].title | string | No | Double Spicy Chicken King with Cheese | The item's display title. | ||
| data.lang | string | No | en | Language path segment that was read (lower-case). | ||
| data.meta_description | string | No | The page's own meta description. | |||
| data.page_title | string | No | The page's own SEO title. | |||
| data.raw | object | No | The complete upstream chain entity object, byte-for-byte, so every field the page carries is preserved. The typed fields above mirror its stable subset. | |||
| data.source_url | string | No | URL the data was read from. | |||
| 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/chain?chain_key=burger-king-delivery&country=us&lang=en" \
-H "x-api-key: $CRAWLORA_API_KEY"