Grubhub

Get one Grubhub restaurant's reviews and rating histogram

Returns one restaurant's customer reviews plus its 1-5 star rating histogram. Each review carries the star rating, the written body, the reviewer's display name and how many reviews they have written, the review date, Grubhub's own sentiment classification, the diner type, and the specific menu items the review is attached to -- Grubhub ties each review to what the diner actually ordered. sort accepts timeCreated_desc (most recent, the default) and ratingValue_desc (highest rated). Note the written-review corpus and the headline rating shown in search are separate systems upstream, so a restaurant can report a large rating count in search while returning few or no written reviews here.

get/grubhub/restaurant/reviews

Request

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

Query parameters

restaurant_idstring required

Grubhub's numeric restaurant id, from /grubhub/search

page_sizeinteger

Reviews per page, 1-50 (default 20)

pageinteger

1-based page number (default 1)

sort'timeCreated_desc' | 'ratingValue_desc'

One of timeCreated_desc, ratingValue_desc. Default timeCreated_desc.

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": {
    "page": 1,
    "restaurant_id": "6238960",
    "reviews": [
      {
        "author_name": "Annie",
        "created_at": "2026-08-09T12:05:42Z",
        "diner_type": "Regular",
        "items": [
          {
            "item_id": "275127198449",
            "name": "Cheeseburger"
          }
        ],
        "rating": 5,
        "reviewer_review_count": 21,
        "sentiment": "Positive",
        "text": "Staff are great and burgers are great!"
      }
    ],
    "star_breakdown": {
      "2": 1,
      "4": 5,
      "5": 94
    }
  }
}

Changes

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