Reviews of a Yelp business API
A page of a Yelp business’s reviews (up to 49): sort, star filter, search, language, not-recommended feed.
GET /v1/yelp/businesses/{business}/reviewsBeta2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/yelp/businesses/katzs-delicatessen-new-york/reviews",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "business": { "id": "V7lXZKBDzScDeGB8JmnzSA", "alias": "katzs-delicatessen-new-york", "name": "Katz's Delicatessen", "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york", "rating": 4.1, "review_count": 17151, "rating_distribution": { "1": 1076, "2": 961, "3": 1910, "4": 4426, "5": 8783 }, "possible_languages": [ { "language": "en", "count": 16961 }, { "language": "de", "count": 62 }, "… 12 more" ] }, "total": 16961, "feed": "recommended", "reviews": [ { "id": "gda9UOamGqZhPsL2TCwWAQ", "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york?hrid=gda9UOamGqZhPsL2TCwWAQ", "text": "Is Katz's overrated? Absolutely not. We waited about 45 minutes outside and another 20 min…", "language": "en", "rating": 5, "time_created": "2026-11-20T12:21:22-05:00", "user": { "id": "WSptrgW8NLFBNvw1FOpifw", "name": "Casey P.", "profile_url": "https://www.yelp.com/user_details?userid=WSptrgW8NLFBNvw1FOpifw", "image_url": "https://s3-media0.fl.yelpcdn.com/photo/j0aK051H-DhtJCbC1WYFkg/60s.jpg", "location": "Nashville, United States", "review_count": 589, "friend_count": 1004, "photo_count": 4609, "elite_year": "26" }, "reactions": { "helpful": 2, "thanks": 0, "love_this": 0, "oh_no": 1 }, "photos": [], "business_reply": null, "previous_review_count": 0, "is_first_review": false, "check_in_count": 0 }, { "id": "Pprc4UvAB91E0Xs1KAOugQ", "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york?hrid=Pprc4UvAB91E0Xs1KAOugQ", "text": "Don't let the long line outside intimidate you. It moves pretty fast and after about 30 m…", "language": "en", "rating": 4, "time_created": "2026-11-25T22:33:37-05:00", "user": { "id": "8cs89p4eFmAd36_7y0-8AQ", "name": "Justin R.", "profile_url": "https://www.yelp.com/user_details?userid=8cs89p4eFmAd36_7y0-8AQ", "image_url": "https://s3-media0.fl.yelpcdn.com/photo/Mczcan3leu4UnrDZP9BLdQ/60s.jpg", "location": "San Francisco, United States", "review_count": 371, "friend_count": 124, "photo_count": 540, "elite_year": "26" }, "reactions": { "helpful": 0, "thanks": 0, "love_this": 0, "oh_no": 0 }, "photos": [ { "id": "_Q5TCFfN7x5fKj5f_1OfcQ", "url": "https://s3-media0.fl.yelpcdn.com/bphoto/_Q5TCFfN7x5fKj5f_1OfcQ/348s.jpg", "caption": "Reuben w/ Pastrami", "width": 1500, "height": 2000, "uploaded_at": null, "author": null }, { "id": "2f_0IN0vYzgiK1mNXj_YUw", "url": "https://s3-media0.fl.yelpcdn.com/bphoto/2f_0IN0vYzgiK1mNXj_YUw/348s.jpg", "caption": "Outside line", "width": 1500, "height": 2000, "uploaded_at": null, "author": null }, "… 3 more" ], "business_reply": null, "previous_review_count": 0, "is_first_review": false, "check_in_count": 1 }, "… 18 more" ], "pagination": { "next_cursor": "eyJiIjoiVjdsWFpLQkR6U2NEZUdCOEptbnpTQSIsImsiOiJrYXR6cy1kZWxpY2F0ZXNzZW4tbmV3LXlvcmsiLCJmIj…", "has_more": true }}Parameters
| Name | Type | Description |
|---|---|---|
businesspath · required | string | The business: its alias (the part after /biz/ in its link), its Yelp id, or the link itself (any Yelp site), URL-encoded. Example: katzs-delicatessen-new-york. |
sortquery | "recommended" | "newest" | "oldest" | "highest_rated" | "lowest_rated" | "elites" | Default recommended. One of recommended, newest, oldest, highest_rated, lowest_rated, elites. |
ratingquery | string | Stars to keep, comma-separated (1-5). Example: 1,2. |
queryquery | string | Words to search for in the reviews. |
languagequery | string | Review language (ISO 639-1, e.g. en, de, fr). Default: the business’s main language. business.possible_languages lists what it has. |
limitquery | integer | Reviews per page, 1-49 (default 20). |
feedquery | "recommended" | "not_recommended" | "removed" | Which review feed (default recommended). One of recommended, not_recommended, removed. |
not_recommendedquery | "true" | "false" | true is feed=not_recommended. One of true, false. |
sincequery | string | Only reviews on or after this date (YYYY-MM-DD or ISO 8601). |
untilquery | string | Only reviews on or before this date (YYYY-MM-DD or ISO 8601). |
afterquery | string | Cursor: the previous page’s pagination.next_cursor. |
Response fields
200 with a YelpReviewsResponse, in Yelp’s own JSON.
| Field | Type | Description |
|---|---|---|
business | YelpBusinessRef | |
total | integer | Reviews matching the filters (all pages). |
feed | "recommended" | "not_recommended" | "removed" | recommended: the reviews Yelp shows; not_recommended: the ones its software filters out; removed: removed for violating guidelines (rating and author only). |
reviews | YelpReview[] | |
pagination | YelpPagination |
Status codes
| Status | Meaning |
|---|---|
200 | A page of reviews. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Yelp business by that alias, id or link. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Yelp is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Yelp is a trademark of its owner. We are not affiliated with or endorsed by it.