Grubhub

Get one Grubhub restaurant's future orderable time-slot calendar

Returns every future delivery or pickup time slot Grubhub will accept an order for, up to 7 days ahead. This is what powers the site's own "schedule my order" picker: /grubhub/availability tells you whether a restaurant is orderable right now plus one "next" time, while this returns the full future slot calendar a caller would need to build an actual date-and-time picker. Slots are grouped by date and given as full timestamps carrying the restaurant's real UTC offset for that instant, so a caller never has to resolve daylight-saving transitions themselves. Requesting location_mode=DELIVERY returns delivery slots only; PICKUP returns pickup slots only -- the upstream only computes one side per call.

get/grubhub/timepicker

Request

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

Query parameters

restaurant_idstring required

Grubhub restaurant id

latitudenumber required

Diner location latitude

longitudenumber required

Diner location longitude

location_mode'DELIVERY' | 'PICKUP' required

Which slot grid to return

daysinteger

How many days ahead to fetch, 1-7 (default 7)

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": {
    "days": [
      {
        "date": "2026-09-01"
      }
    ],
    "location_mode": "DELIVERY",
    "restaurant_id": "698307",
    "time_zone": "America/New_York"
  }
}

Changes

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