Skip to main content
POST
/
api
/
grubhub
/
restaurants
/grubhub/restaurants
curl --request POST \
  --url https://api.anysite.io/api/grubhub/restaurants \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "restaurant": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "GrubhubRestaurant",
    "name": "<string>",
    "alias": "<string>",
    "brand_name": "<string>",
    "chain_name": "<string>",
    "image": "<string>",
    "cuisines": [],
    "has_coupons": false,
    "address": {
      "@type": "GrubhubAddress",
      "street": "<string>",
      "city": "<string>",
      "region": "<string>",
      "postal_code": "<string>",
      "country": "<string>"
    },
    "latitude": 123,
    "longitude": 123,
    "phone": "<string>",
    "rating": 123,
    "rating_count": 123,
    "price_rating": 123,
    "premium": false,
    "is_new": false,
    "online_ordering_available": false,
    "pickup_offered": false,
    "open": false,
    "available_for_delivery": false,
    "available_for_pickup": false,
    "delivery_fee": 123,
    "delivery_minimum": 123,
    "min_delivery_fee": 123,
    "service_fee_percent": 123,
    "service_fee_max": 123,
    "sales_tax": 123,
    "delivery_estimate": 123,
    "delivery_estimate_min": 123,
    "delivery_estimate_max": 123,
    "pickup_estimate": 123,
    "pickup_estimate_min": 123,
    "pickup_estimate_max": 123,
    "time_zone": "<string>",
    "merchant_uuid": "<string>",
    "hours": [],
    "category_count": 0,
    "item_count": 0,
    "categories": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
restaurant
string
required

Grubhub restaurant numeric id or a full restaurant page URL

Minimum string length: 1
Examples:

"4255520"

"https://www.grubhub.com/restaurant/sunset-bagels/4255520"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:GrubhubRestaurant
name
string | null
alias
string | null
brand_name
string | null
chain_name
string | null
image
string | null
cuisines
string[]
has_coupons
boolean
default:false
address
object
latitude
number | null
longitude
number | null
phone
string | null
rating
number | null
rating_count
integer | null
price_rating
integer | null
premium
boolean
default:false
is_new
boolean
default:false
online_ordering_available
boolean
default:false
pickup_offered
boolean
default:false
open
boolean
default:false
available_for_delivery
boolean
default:false
available_for_pickup
boolean
default:false
delivery_fee
number | null
delivery_minimum
number | null
min_delivery_fee
number | null
service_fee_percent
number | null
service_fee_max
number | null
sales_tax
number | null
delivery_estimate
integer | null
delivery_estimate_min
integer | null
delivery_estimate_max
integer | null
pickup_estimate
integer | null
pickup_estimate_min
integer | null
pickup_estimate_max
integer | null
time_zone
string | null
merchant_uuid
string | null
hours
object[]
category_count
integer
default:0
item_count
integer
default:0
categories
object[]