Grubhub API endpoint
Use Crawlora's Grubhub Availability API to extract supported public Grubhub data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/grubhub/availabilityReturns current ordering state for up to 20 restaurants in one call, relative to a diner location. Each entry reports whether the restaurant is open overall and per channel (these can differ), whether delivery and pickup are offered at all as distinct from open right now, whether it delivers to the supplied coordinate, blackout and overloaded flags, distance, delivery and pickup time estimates, delivery fee, order minimum, cuisines, and the next time an order can be sent per channel -- useful when a restaurant is currently closed. The response echoes the requested ids so a caller can tell which ones Grubhub returned nothing for. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| restaurant_ids | string | Yes | Comma-separated Grubhub restaurant ids, up to 20 | ||
| latitude | number | Yes | Diner location latitude -- availability is relative to it | ||
| longitude | number | Yes | Diner location longitude | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/grubhub/availability" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"restaurants": [
{
"restaurant_id": "6238960",
"open": false,
"open_delivery": false,
"open_pickup": false,
"available_for_delivery": true,
"available_for_pickup": true,
"delivers_to_location": true,
"blacked_out": false,
"inundated": false,
"distance_miles": 0.23,
"delivery_estimate_minutes": 25,
"pickup_estimate_minutes": 10,
"delivery_fee": {
"amount": 299,
"value": 2.99,
"currency": "USD"
},
"order_minimum": {
"amount": 1000,
"value": 10,
"currency": "USD"
},
"cuisines": [
"American",
"Sandwiches"
],
"next_delivery_time": "2026-08-31T15:00:00Z",
"next_pickup_time": "2026-08-31T14:45:00Z",
"logo_url": "https://media-cdn.grubhub.com/image/upload/logo.png"
}
],
"count": 1,
"requested": [
"6238960"
],
"source_url": "https://api-gtm.grubhub.com/restaurants/availability_summaries?location=POINT%28-74.006%2040.7128%29&includeImages=true&ids=6238960",
"fetched_at": "2026-08-31T09:12:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/grubhub.availabilityResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | grubhub.AvailabilityResponse | No | ||||
| data.count | integer | No | 2 | |||
| data.fetched_at | string | No | ||||
| data.requested | array | No | Requested is the id list as asked for, so a caller can tell which ids Grubhub returned nothing for. | |||
| data.restaurants | array | No | ||||
| data.restaurants[].available_for_delivery | boolean | No | true | AvailableFor* is whether the channel is offered at all, as distinct from whether it is open right now. | ||
| data.restaurants[].available_for_pickup | boolean | No | true | |||
| data.restaurants[].blacked_out | boolean | No | false | |||
| data.restaurants[].cuisines | array | No | ||||
| data.restaurants[].delivers_to_location | boolean | No | true | DeliversToLocation is whether this restaurant delivers to the coordinate supplied in the request. | ||
| data.restaurants[].delivery_estimate_minutes | integer | No | 25 | |||
| data.restaurants[].delivery_fee | grubhub.Money | No | ||||
| data.restaurants[].delivery_fee.amount | integer | No | 399 | |||
| data.restaurants[].delivery_fee.currency | string | No | USD | |||
| data.restaurants[].delivery_fee.value | number | No | 3.99 | |||
| data.restaurants[].distance_miles | number | No | 0.23 | |||
| data.restaurants[].inundated | boolean | No | false | Inundated marks a restaurant Grubhub flags as overloaded. | ||
| data.restaurants[].logo_url | string | No | ||||
| data.restaurants[].next_delivery_time | string | No | NextDeliveryTime is when Grubhub says the next delivery order can be sent, useful when open_delivery is false. | |||
| data.restaurants[].next_pickup_time | string | No | ||||
| data.restaurants[].open | boolean | No | false | Open is the restaurant's overall state; the two channel flags below can differ from it and from each other. | ||
| data.restaurants[].open_delivery | boolean | No | false | |||
| data.restaurants[].open_pickup | boolean | No | false | |||
| data.restaurants[].order_minimum | grubhub.Money | No | ||||
| data.restaurants[].order_minimum.amount | integer | No | 399 | |||
| data.restaurants[].order_minimum.currency | string | No | USD | |||
| data.restaurants[].order_minimum.value | number | No | 3.99 | |||
| data.restaurants[].pickup_estimate_minutes | integer | No | 10 | |||
| data.restaurants[].restaurant_id | string | No | 6238960 | |||
| data.source_url | string | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/grubhub/availability" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms