Grubhub API endpoint
Returns one Grubhub restaurant: name, address with coordinates, timezone, phone, cuisines, star rating, price tier, whether online ordering is available, whether it offers delivery and pickup, delivery fee, coupon availability, restaurant tags and the full published week of service hours. Note this endpoint publishes fewer economics than GET /grubhub/search -- delivery minimum and the delivery/pickup time estimates come back empty here, so use the search endpoint when you need those.
/grubhub/restaurantReturns one Grubhub restaurant's detail.
Query parameters:
restaurant_id (required) — Grubhub's numeric restaurant id, e.g. 6238960.An unknown restaurant id returns a 404.
Response includes restaurant_id, name, address, city, state, postal_code, latitude, longitude, timezone, phone_number, cuisines[], rating, price_rating, online_ordering, delivery_fee, offers_delivery, offers_pickup, has_coupons, is_new, tags[], hours[], logo_url, menu_path, chain_name, source_url, and fetched_at.
Each hours entry has day_of_week, hours (Grubhub's own human-readable window), start_time, and end_time.
| Field | Filled in, of 7 checked | Values in the sample |
|---|---|---|
| day_of_week | 7 | “Monday” and 6 other values |
| hours | 7 | 12:00 AM - 12:00 AM in all 7 |
| start_time | 7 | 00:00:00.000 in all 7 |
| end_time | 7 | 23:59:59.000 in all 7 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| restaurant_id | string | Yes | Grubhub's numeric restaurant id, from /grubhub/search | 6238960 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/grubhub/restaurant?restaurant_id=6238960" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"restaurant_id": "6238960",
"name": "7th Street Burger Financial District",
"address": "80 Nassau Street",
"city": "New York",
"state": "NY",
"postal_code": "10038-3711",
"latitude": 40.70979309,
"longitude": -74.00793458,
"timezone": "America/New_York",
"cuisines": [
"American",
"Hamburgers"
],
"rating": {
"value": 5,
"count": 1424
},
"price_rating": 1,
"online_ordering": true,
"offers_delivery": true,
"offers_pickup": true,
"has_coupons": false,
"is_new": false,
"hours": [
{
"day_of_week": "Monday",
"hours": "12:00 AM - 12:00 AM",
"start_time": "00:00:00.000",
"end_time": "23:59:59.000"
}
],
"source_url": "https://api-gtm.grubhub.com/restaurants/6238960",
"fetched_at": "2026-08-31T14:20:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/grubhub.restaurantResponseDoc
| 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 | grubhub.RestaurantResponse | No | ||||
| data.address | string | No | ||||
| data.chain_name | string | No | ||||
| data.city | string | No | ||||
| data.cuisines | array | No | ||||
| data.delivery_fee | object | No | Note the detail endpoint publishes fewer economics than the search card: delivery_minimum and the ETA estimates come back null here, so use /grubhub/search for those. | |||
| data.delivery_fee.amount | integer | No | 399 | |||
| data.delivery_fee.currency | string | No | USD | |||
| data.delivery_fee.value | number | No | 3.99 | |||
| data.fetched_at | string | No | ||||
| data.has_coupons | boolean | No | ||||
| data.hours | array | No | ||||
| data.hours[].day_of_week | string | No | Monday | |||
| data.hours[].end_time | string | No | 23:59:59.000 | |||
| data.hours[].hours | string | No | 12:00 AM - 12:00 AM | Hours is Grubhub's own human-readable window. | ||
| data.hours[].start_time | string | No | 00:00:00.000 | |||
| data.is_new | boolean | No | ||||
| data.latitude | number | No | ||||
| data.logo_url | string | No | ||||
| data.longitude | number | No | ||||
| data.menu_path | string | No | ||||
| data.name | string | No | 7th Street Burger Financial District | |||
| data.offers_delivery | boolean | No | ||||
| data.offers_pickup | boolean | No | ||||
| data.online_ordering | boolean | No | true | |||
| data.phone_number | string | No | ||||
| data.postal_code | string | No | ||||
| data.price_rating | number | No | ||||
| data.rating | grubhub.Rating | No | ||||
| data.rating.count | integer | No | 65 | |||
| data.rating.value | number | No | 4.6 | |||
| data.restaurant_id | string | No | 6238960 | |||
| data.source_url | string | No | ||||
| data.state | string | No | ||||
| data.tags | array | No | ||||
| data.timezone | string | No | America/New_York | |||
| 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 |
| 429 | Too Many Requests | #/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/grubhub/restaurant?restaurant_id=6238960" \
-H "x-api-key: $CRAWLORA_API_KEY"