Grubhub

Get one Grubhub restaurant's detail

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.

get/grubhub/restaurant

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/grubhub/restaurant
  • Auth: API key in header x-api-key

Query parameters

restaurant_idstring required

Grubhub's numeric restaurant id, from /grubhub/search

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Example response

{
  "data": {
    "delivery_fee": {
      "amount": 399,
      "currency": "USD",
      "value": 3.99
    },
    "hours": [
      {
        "day_of_week": "Monday",
        "end_time": "23:59:59.000",
        "hours": "12:00 AM - 12:00 AM",
        "start_time": "00:00:00.000"
      }
    ],
    "name": "7th Street Burger Financial District",
    "online_ordering": true,
    "rating": {
      "count": 65,
      "value": 4.6
    },
    "restaurant_id": "6238960",
    "timezone": "America/New_York"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.