Skip to content
Scrappa Get API key
GrabFood API 1 credit / request

GrabFood Restaurant API Documentation

GET https://scrappa.co/api/grabfood/restaurant

GrabFood Restaurant API Documentation Open one GrabFood restaurant. Send the market as country (SG or PH), the id from the restaurants endpoint unchanged, and a delivery point. The answer has the merchant, promotions and the full menu as categories of items. Every item has a price as a number with the currency. An original price is returned only when it is greater than the price, with the discount percent. Cost: 1 credit per successful request. Failed requests are not billed. Filters and sort are applied to the fetched page; a page can hold fewer rows than the page size while more pages remain.

GrabFood Restaurant API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/grabfood/restaurant
Auth header
x-api-key
Cost
1 credit / request
country = US id = 1234567890 lat = 10
Response preview
200 OK
{
    "data": {
        "restaurant": {
            "id": "abc123",
            "currency": "SGD",
            "merchant": {
                "id": "abc123",
                "name": "Example Pizza",
                "rating": 4.5,
                "review_count": 210
            },
            "categories": [
                {
                    "id": "cat-1",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

4 required parameters needed before sending a request.

country string Required

Market: SG or PH. Required.

Example value US
id string Required

Restaurant id from the restaurants endpoint, unchanged. Required.

Example value 1234567890
lat number Required

Latitude of the delivery point, for example 1.3521. Required.

Example value 10
lng number Required

Longitude of the delivery point, for example 103.8198. Required.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "restaurant": {
            "id": "abc123",
            "currency": "SGD",
            "merchant": {
                "id": "abc123",
                "name": "Example Pizza",
                "rating": 4.5,
                "review_count": 210
            },
            "categories": [
                {
                    "id": "cat-1",
                    "name": "Pizza",
                    "items": [
                        {
                            "id": "item-1",
                            "name": "Margherita",
                            "price": 12.5,
                            "currency": "SGD",
                            "original_price": 15,
                            "discount_percent": 16.67
                        }
                    ]
                }
            ],
            "promotions": [
                {
                    "title": "Free delivery"
                }
            ]
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "restaurant"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "country": [
            "Send the market as country."
        ]
    },
    "message": "The request validation failed"
}
502

Upstream Unavailable

The site did not answer or sent data Scrappa cannot read. This response is not billable. Retry in a moment.

{
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The site is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.