Grubhub API for search results and restaurant pages
Send any Grubhub page URL with recipe=grubhub and get title, rating, cuisine and 10 more fields as JSON. No selectors to write, no proxies to pick.
- 2 page types
- 13 fields
- 5 credits a page · $0.50 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.grubhub.com/delivery/pa-philadelphia' \
--data-urlencode 'recipe=grubhub/listing'
{
"result": {
"restaurants": [
{
"title": "Isaac Newton's Fun Food & Drink",
"rating": "4.8 (312)",
"cuisine": "Sandwich"
}
]
},
"success": true
}
Is there an official Grubhub API?
Official API: approved partners only
Not an open one. Grubhub APIs are for approved restaurant, POS and ordering partners. They cannot be used to read marketplace data.
Source: Grubhub Developer Portal on developer.grubhub.com, checked November 6, 2026.
How to get Grubhub data as JSON today
- Get a free API key: 5,000 free credits for 7 days, no card.
- Send any Grubhub page URL with
recipe=grubhubto the Scrape API (the call). - Get 13 fields as JSON, 5 credits a page, billed only when the call succeeds.
Ujeebu's Grubhub recipe returns title, rating, cuisine and 10 more fields from any public Grubhub page as JSON: send the URL with recipe=grubhub to the Scrape API, 5 credits a page, no Grubhub account or partner approval needed.
What you get from Grubhub
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=grubhub/listing 5 credits a page
| Field | Type | Example |
|---|---|---|
restaurants | list of 3+ items | |
restaurants[].url | URL | https://www.grubhub.com/restaurant/deli-on-4th-326-fayette-st-consh... |
restaurants[].title | text | Deli on 4th |
restaurants[].cuisine | text | Sandwich |
restaurants[].rating | text | 4.8 (1k) |
item_list | list of 3+ items | |
item_list[].name | text | Deli on 4th |
item_list[].url | URL | https://www.grubhub.com/restaurant/deli-on-4th-326-fayette-st-consh... |
Sample answer, validated 2026-11-13
{
"restaurants": [
{
"url": "https://www.grubhub.com/restaurant/isaac-newtons-fun-food--drink-18-s-state-st-1-newtown/6792136",
"title": "Isaac Newton's Fun Food & Drink",
"cuisine": "Sandwich",
"rating": "4.8 (312)"
},
{
"url": "https://www.grubhub.com/restaurant/del-rossis-538-n-4th-st-philadelphia/273316",
"title": "Del Rossi's",
"cuisine": "Pizza",
"rating": "4.9 (14.9k)"
}
],
"item_list": [
{
"name": "Isaac Newton's Fun Food & Drink",
"url": "https://www.grubhub.com/restaurant/isaac-newtons-fun-food--drink-18-s-state-st-1-newtown/6792136?utm_source=google&utm_medium=organic&utm_campaign=restaurant..."
},
{
"name": "Del Rossi's",
"url": "https://www.grubhub.com/restaurant/del-rossis-538-n-4th-st-philadelphia/273316?utm_source=google&utm_medium=organic&utm_campaign=restaurant-schema-carousel"
}
]
}
Restaurant pages recipe=grubhub/detail 5 credits a page
| Field | Type | Example |
|---|---|---|
place.city | text | Philadelphia |
place.country | text | USA |
place.cuisine | text | Pasta, Pizza, Salads |
place.image | URL | https://media-cdn.grubhub.com/image/upload/d_search:browse-images:d... |
place.name | text | Old English Style Pizza |
place.postal_code | number (as text) | 19120 |
place.rating | number (as text) | 4.3 |
place.region | text | PA |
place.review_count | number | 35 |
place.street | text | 6015 N 5th St |
description | text | Order delivery or pickup from Old English Style Pizza in Philadelph... |
url | URL | https://www.grubhub.com/restaurant/old-english-style-pizza-6015-n-5... |
Sample answer, validated 2026-11-13
{
"place": {
"city": "Philadelphia",
"country": "USA",
"cuisine": "Pasta, Pizza, Salads",
"image": "https://media-cdn.grubhub.com/image/upload/d_search:browse-images:default.jpg/w_100,q_80,fl_lossy,dpr_2.0,c_fit,f_auto,h_100/kwmin7qgcefpmri3zlbn",
"name": "Old English Style Pizza",
"postal_code": "19120",
"rating": "4.4",
"region": "PA",
"review_count": 37,
"street": "6015 N 5th St"
},
"description": "Order delivery or pickup from Old English Style Pizza in Philadelphia! View Old English Style Pizza's November 2026 deals and menus. Support your local resta...",
"url": "https://www.grubhub.com/restaurant/old-english-style-pizza-6015-n-5th-st-philadelphia/4627840"
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Grubhub (JavaScript rendering and a wait for the content).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.grubhub.com/delivery/pa-philadelphia' \
--data-urlencode 'recipe=grubhub/listing'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.grubhub.com/delivery/pa-philadelphia", "recipe": "grubhub/listing"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["restaurants"][:3]:
print(item["title"], item["rating"], item["cuisine"])
# Example output:
# Isaac Newton's Fun Food & Drink 4.8 (312) Sandwich
# Del Rossi's 4.9 (14.9k) Pizza
const params = new URLSearchParams({
url: "https://www.grubhub.com/delivery/pa-philadelphia",
recipe: "grubhub/listing",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.restaurants.slice(0, 3)) {
console.log(item.title, item.rating, item.cuisine);
}
// Example output:
// Isaac Newton's Fun Food & Drink 4.8 (312) Sandwich
// Del Rossi's 4.9 (14.9k) Pizza
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=grubhub/detail, or recipe=grubhub and the API picks the page type from the URL. Your own parameters always win over the recipe.
Search Grubhub with parameters
One call, no URL: send recipe=grubhub/search with the parameters below. We build the Grubhub search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
city required | string | US city. |
state required | string | Two-letter US state code. |
One call (city=Philadelphia, state=pa)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=grubhub/search' \
-d 'city=Philadelphia' \
-d 'state=pa'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "grubhub/search", "city": "Philadelphia", "state": "pa"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["restaurants"][:3]:
print(item["title"], item["rating"], item["cuisine"])
# Example output:
# Isaac Newton's Fun Food & Drink 4.8 (312) Sandwich
# Del Rossi's 4.9 (14.9k) Pizza
const params = new URLSearchParams({
recipe: "grubhub/search",
city: "Philadelphia",
state: "pa",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.restaurants.slice(0, 3)) {
console.log(item.title, item.rating, item.cuisine);
}
// Example output:
// Isaac Newton's Fun Food & Drink 4.8 (312) Sandwich
// Del Rossi's 4.9 (14.9k) Pizza
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=grubhub/listing. Search with parameters in the docs
What people build with Grubhub data
Restaurant market research
Map the restaurants of an area with their cuisine, rating and delivery terms.
Learn more
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results, Restaurant page | 5 | $0.82 | $0.50 |
FAQ
Is there a Grubhub API?
Not an open one. Grubhub APIs are for approved restaurant, POS and ordering partners. They cannot be used to read marketplace data. Ujeebu's Grubhub recipe returns title, rating, cuisine and 10 more fields from any public Grubhub page as JSON: send the URL with recipe=grubhub to the Scrape API, 5 credits a page, no Grubhub account or partner approval needed.
Does Grubhub have a public API?
Not an open one. Grubhub APIs are for approved restaurant, POS and ordering partners. They cannot be used to read marketplace data. The public pages are the way in: Ujeebu's Grubhub recipe returns title, rating, cuisine and 10 more fields from any public Grubhub page as JSON: send the URL with recipe=grubhub to the Scrape API, 5 credits a page, no Grubhub account or partner approval needed.
What does the Grubhub recipe return?
JSON with 13 fields from search results (recipe=grubhub/listing) and restaurant page (recipe=grubhub/detail), for example title, rating, cuisine, name, url. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Grubhub?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on Grubhub: JavaScript rendering and a wait for the content. Send only the URL and recipe=grubhub/listing.
What happens when Grubhub changes its pages?
We check Grubhub every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I search Grubhub with parameters?
Yes, in one call: send recipe=grubhub/search with city, state and no URL. We build the Grubhub search URL (returned in the Ujb-Url header), apply recipe=grubhub/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
- Uber EatsSearch results, Restaurant page · 5 credits
TalabatSearch results · 25 credits
LinkedInSearch results, Detail page, Profile · 5 credits
AmazonSearch results · 5 credits
X (Twitter)Profile · 5 credits
InstagramProfile · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Grubhub.
Get Grubhub data as JSON today.
5,000 free credits for 7 days. No card.