Grubhub Restaurant Details
POST /api/v1/grubhub/restaurants/details
Get a Grubhub restaurant from its URL, including cuisines, rating and rating breakdown, price level, address and coordinates, phone, delivery and pickup hours, fees and order minimum, the full menu with prices and photos, and recent customer reviews.
Overview
Get a Grubhub restaurant from its URL, including cuisines, rating and rating breakdown, price level, address and coordinates, phone, delivery and pickup hours, fees and order minimum, the full menu with prices and photos, and recent customer reviews.
POST /api/v1/grubhub/restaurants/details
Method: POST Path: /api/v1/grubhub/restaurants/details Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| restaurant_url | string | Required | Full Grubhub restaurant URL (e.g. https://www.grubhub.com/restaurant/joes-pizza-the-greenwich-village-institution-124-fulton-st-new-york/1090397). |
Request Example
Grubhub Restaurant Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/grubhub/restaurants/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"restaurant_url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "restaurant_id": "1234567890", "name": "string", "url": "https://example.com/...", "brand_name": "string", "cuisines": [ "string" ], "rating": 0.0, "rating_count": 0, "rating_facets": [ { "name": "string", "positive_percent": 0.0, "responses": 0 } ], "price_level": 0, "address": { "full": "string", "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string" }, "latitude": 0.0, "longitude": 0.0, "phone": "string", "time_zone": "string", "open_now": false, "open_for_delivery": false, "open_for_pickup": false, "offers_delivery": false, "offers_pickup": false, "delivery_hours": [ { "day": "string", "open": "string", "close": "string" } ], "pickup_hours": [ { "day": "string", "open": "string", "close": "string" } ], "delivery_time_minutes": { "min": 0, "max": 0 }, "pickup_time_minutes": { "min": 0, "max": 0 }, "delivery_fee": 0.0, "order_minimum": 0.0, "sales_tax_percent": 0.0, "accepts_cash": false, "accepts_credit_card": false, "grubhub_plus": false, "is_new": false, "alcohol_available": false, "logo": "string", "images": [ "string" ], "menu_item_count": 0, "menu": [ { "category_id": "1234567890", "name": "string", "description": "string", "items": [ { "item_id": "1234567890", "name": "string", "description": "string", "price": 0.0, "max_price": 0.0, "currency": "USD", "popular": false, "available": false, "image": "string" } ] } ], "review_count": 0, "reviews": [ { "review_id": "1234567890", "author": "string", "rating": 0, "date": "2026-01-01T12:00:00Z", "text": "string", "items_ordered": [ "string" ], "reviewer_review_count": 0 } ], "time_taken": 0.0, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Grubhub Restaurant Details", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| restaurant_id | string | Yes | Grubhub restaurant id. |
| name | string | Yes | |
| url | string | Yes | Restaurant page URL. |
| brand_name | string | No | |
| cuisines | array<string> | No | |
| rating | number | null | No | Average customer rating out of 5 (null when there are too few ratings). |
| rating_count | integer | null | No | Number of customer ratings. |
| rating_facets | array<object> | No | |
| rating_facets[].name | string | Yes | Rating aspect, e.g. 'Food Quality' or 'Delivery Speed'. |
| rating_facets[].positive_percent | number | null | No | Share of positive responses, in percent. |
| rating_facets[].responses | integer | null | No | Number of responses. |
| price_level | integer | null | No | Price level from 1 (cheapest) to 4. |
| address | object | Yes | |
| address.full | string | Yes | Address on one line. |
| address.street | string | No | |
| address.city | string | No | |
| address.state | string | No | |
| address.postal_code | string | No | |
| address.country | string | No | |
| latitude | number | null | No | |
| longitude | number | null | No | |
| phone | string | No | |
| time_zone | string | No | Restaurant's time zone, e.g. 'America/New_York'. |
| open_now | boolean | No | |
| open_for_delivery | boolean | No | |
| open_for_pickup | boolean | No | |
| offers_delivery | boolean | No | |
| offers_pickup | boolean | No | |
| delivery_hours | array<object> | No | |
| delivery_hours[].day | string | Yes | Day of the week the period starts, e.g. 'Monday'. |
| delivery_hours[].open | string | Yes | Opening time, HH:MM in the restaurant's local time. |
| delivery_hours[].close | string | Yes | Closing time, HH:MM in the restaurant's local time (may be after midnight). |
| pickup_hours | array<object> | No | |
| pickup_hours[].day | string | Yes | Day of the week the period starts, e.g. 'Monday'. |
| pickup_hours[].open | string | Yes | Opening time, HH:MM in the restaurant's local time. |
| pickup_hours[].close | string | Yes | Closing time, HH:MM in the restaurant's local time (may be after midnight). |
| delivery_time_minutes | object | null | No | Estimated delivery time range in minutes. |
| delivery_time_minutes.min | integer | null | No | |
| delivery_time_minutes.max | integer | null | No | |
| pickup_time_minutes | object | null | No | Estimated pickup time range in minutes. |
| pickup_time_minutes.min | integer | null | No | |
| pickup_time_minutes.max | integer | null | No | |
| delivery_fee | number | null | No | Delivery fee in USD. |
| order_minimum | number | null | No | Minimum order in USD. |
| sales_tax_percent | number | null | No | |
| accepts_cash | boolean | No | |
| accepts_credit_card | boolean | No | |
| grubhub_plus | boolean | No | Eligible for Grubhub+ member benefits. |
| is_new | boolean | No | Recently added to Grubhub. |
| alcohol_available | boolean | No | |
| logo | string | No | Restaurant logo URL. |
| images | array<string> | No | Restaurant image URLs. |
| menu_item_count | integer | No | |
| menu | array<object> | Yes | |
| menu[].category_id | string | No | |
| menu[].name | string | Yes | Menu section, e.g. 'Pies'. |
| menu[].description | string | No | |
| menu[].items | array<object> | Yes | |
| menu[].items[].item_id | string | No | |
| menu[].items[].name | string | Yes | |
| menu[].items[].description | string | No | |
| menu[].items[].price | number | null | No | Base price. |
| menu[].items[].max_price | number | null | No | Highest price across sizes or options, when different from the base price. |
| menu[].items[].currency | string | No | |
| menu[].items[].popular | boolean | No | Marked as a popular item. |
| menu[].items[].available | boolean | No | |
| menu[].items[].image | string | No | Item photo URL. |
| review_count | integer | null | No | Total number of written reviews. |
| reviews | array<object> | No | Most recent written reviews. |
| reviews[].review_id | string | No | |
| reviews[].author | string | No | Reviewer's display name. |
| reviews[].rating | integer | null | No | Stars given, 1 to 5. |
| reviews[].date | string | No | Review date (ISO time, UTC). |
| reviews[].text | string | Yes | |
| reviews[].items_ordered | array<string> | No | Menu items in the reviewed order. |
| reviews[].reviewer_review_count | integer | null | No | Number of reviews the reviewer has written. |
| time_taken | number | No | Seconds taken to fetch the restaurant. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/grubhub/restaurants/details?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
restaurant_url example
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |