Playground Sign in Start free
Recipe Food delivery

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.

recipe=grubhub/listing
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'
200 OK · JSON
{
    "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

  1. Get a free API key: 5,000 free credits for 7 days, no card.
  2. Send any Grubhub page URL with recipe=grubhub to the Scrape API (the call).
  3. 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

FieldTypeExample
restaurantslist of 3+ items
restaurants[].urlURLhttps://www.grubhub.com/restaurant/deli-on-4th-326-fayette-st-consh...
restaurants[].titletextDeli on 4th
restaurants[].cuisinetextSandwich
restaurants[].ratingtext4.8 (1k)
item_listlist of 3+ items
item_list[].nametextDeli on 4th
item_list[].urlURLhttps://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"
        }
    ]
}

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'

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.

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 typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Search results, Restaurant page5$0.82$0.50

See all plans

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.

Get Grubhub data as JSON today.

5,000 free credits for 7 days. No card.