← Back to marketplace

Grubhub

Fast JSON API for Grubhub - restaurants delivering to any US address, restaurant search with filters and sorting, restaurant details, hours, fees and delivery estimates, full menus with prices and options, menu search, popular items, reviews, deals and address lookup.

data
by Mark818 endpoints100% uptime91ms avg

Includes 100 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Endpoints

GET/v1/deal/cuisines
$0.0010/req

Lists the cuisines the deals near a location can be filtered by. The "cuisine" of each is what the "cuisine" parameter of /deal/list takes.

Request schema

latitudestringrequired

Latitude of the delivery address (e.g. "40.7306").

longitudestringrequired

Longitude of the delivery address (e.g. "-73.9866").

Response schema

{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "cuisine": {
        "type": "string"
      },
      "name": {
        "type": "string"
      }
    }
  }
}
GET/v1/deal/list
$0.0010/req

Lists the deals of the restaurants near a location (percentage and amount off, free items, first order discounts…), each with its terms, order minimum and restriction and the restaurant with cuisines, rating, open status, distance, delivery estimate, address and images.

Request schema

latitudestringrequired

Latitude of the delivery address (e.g. "40.7306").

longitudestringrequired

Longitude of the delivery address (e.g. "-73.9866").

cuisinestring

Cuisine of the restaurants (e.g. "Pizza"). Use the /deal/cuisines endpoint to list valid values.

pagestring

Page number (defaults to 1).

Response schema

pageinteger
pagesinteger
deal_typesarray
dealsarray

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/grubhub/v1/deal/cuisines" \
  -d '{"latitude":"40.7306","longitude":"-73.9866"}'

Or call the proxy directly (curl / any HTTP client):

curl https://proxy.apihub.io/grubhub/v1/deal/cuisines \
  -H "Authorization: Bearer ahk_your_key"

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Grubhub.

GET /v1/deal/cuisines$0.0010/req
-
GET /v1/deal/list$0.0010/req
-
GET /v1/general/order-types$0.0010/req
-
GET /v1/general/review-sorts$0.0010/req
-
GET /v1/general/search-sorts$0.0010/req
-
GET /v1/location/autocomplete$0.0010/req
-
GET /v1/location/geocode$0.0010/req
-
GET /v1/location/reverse-geocode$0.0010/req
-
GET /v1/restaurant/details$0.0010/req
-
GET /v1/restaurant/menu$0.0010/req
-
GET /v1/restaurant/menu-item$0.0010/req
-
GET /v1/restaurant/menu-search$0.0010/req
-
GET /v1/restaurant/popular-items$0.0010/req
-
GET /v1/restaurant/reviews$0.0010/req
-
GET /v1/restaurant/similar$0.0010/req
-
GET /v1/search/filters$0.0010/req
-
GET /v1/search/restaurants$0.0010/req
-
GET /v1/search/suggestions$0.0010/req
-