Foodpanda API endpoint
Returns one restaurant's full menu grouped into categories, plus opening hours, price range, cuisines served, and aggregate rating. Every item carries a title, description, image, sold-out flag, and price -- original_price plus discounted_price when the item is currently discounted.
/foodpanda/restaurant/menuReturns one foodpanda restaurant's full menu, grouped into categories with prices.
Query parameters:
market (optional, default sg) — Delivery Hero market the restaurant belongs to. One of sg, pk, bd, hk, my, ph, la, kh, tw, mm.code (required) — restaurant code, from /foodpanda/search's code field, e.g. dxpr.An unknown code, or a restaurant with no published menu, returns 404.
Response includes market, code, categories[], item_count, opening_hours[], price_range, serves_cuisine[], aggregate_rating, and rating_count. Each category has title, description, and items[]. Each item has title, description, image_url, is_sold_out, original_price, and discounted_price (present only when the item is currently discounted). Each opening_hours entry has days[] (the days it applies to), opens, and closes (24h HH:MM, restaurant-local time). opening_hours, price_range, serves_cuisine, aggregate_rating, and rating_count are read from the same page fetch and are omitted if the upstream did not embed them for that restaurant.
| Field | In the sample | Value in the sample |
|---|---|---|
| market | Has a value | “sg” |
| code | Has a value | |
| categories | Has a value | 29 entries |
| item_count | Has a value | 200 |
| opening_hours | Has a value | 1 entry |
| price_range | Has a value | “$” |
| serves_cuisine | Has a value | 4 entries |
| aggregate_rating | Has a value | 3.8 |
| rating_count | Has a value | 18 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| market | string | No | sg | Delivery Hero market the restaurant belongs to. Defaults to sg. Allowed values: sg, pk, bd, hk, my, ph, la, kh, tw, mm. | sg |
| code | string | Yes | Restaurant code, from /foodpanda/search's code field | dxpr | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/foodpanda/restaurant/menu?market=sg&code=dxpr" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"market": "sg",
"code": "dxpr",
"categories": [
{
"title": "Prata",
"description": "Indian Cuisine",
"items": [
{
"title": "Plain Prata",
"description": "Crispy on the outside, soft on the inside",
"image_url": "https://images.deliveryhero.io/image/fd-sg/Products/53446477.jpg",
"is_sold_out": false,
"original_price": 2
}
]
}
],
"item_count": 188,
"opening_hours": [
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"opens": "11:00",
"closes": "22:00"
}
],
"price_range": "$$",
"serves_cuisine": [
"Japanese",
"Asian",
"Noodles",
"Ramen"
],
"aggregate_rating": 4.9,
"rating_count": 1716
}
}Request schema
No body schema
Response schema
#/definitions/foodpanda.menuResponseDoc
| 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 | foodpanda.MenuResponse | No | ||||
| data.aggregate_rating | number | No | ||||
| data.categories | array | No | ||||
| data.categories[].description | string | No | ||||
| data.categories[].items | array | No | ||||
| data.categories[].items[].description | string | No | ||||
| data.categories[].items[].discounted_price | number | No | ||||
| data.categories[].items[].image_url | string | No | ||||
| data.categories[].items[].is_sold_out | boolean | No | ||||
| data.categories[].items[].original_price | number | No | ||||
| data.categories[].items[].title | string | No | ||||
| data.categories[].title | string | No | ||||
| data.code | string | No | ||||
| data.item_count | integer | No | ||||
| data.market | string | No | ||||
| data.opening_hours | array | No | ||||
| data.opening_hours[].closes | string | No | ||||
| data.opening_hours[].days | array | No | ||||
| data.opening_hours[].opens | string | No | ||||
| data.price_range | string | No | ||||
| data.rating_count | integer | No | ||||
| data.serves_cuisine | array | No | ||||
| 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 |
| 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/foodpanda/restaurant/menu?market=sg&code=dxpr" \
-H "x-api-key: $CRAWLORA_API_KEY"