Yelp review history in a date window API
Every review of a Yelp business in a date window, newest first (up to 500).
POST /v1/yelp/businesses/{business}/reviews/historyBeta10 credits per callRefunded on failureimport os, requests
res = requests.post(
"https://api.groundsocial.dev/v1/yelp/businesses/katzs-delicatessen-new-york/reviews/history",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
json={"since":"2026-10-01","max_reviews":200},
)
res.raise_for_status()
data = res.json()Response
200 · 10 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": 17151, "since": "2026-10-01T00:00:00.000Z", "until": null, "reviews": [ { "id": "0oYZ_bfD_WFWjPf2NKth5A", "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york?hrid=0oYZ_bfD_WFWjPf2NKth5A", "text": "It is truly a fun place with great food The staff was so nice and so so many people.", "language": "en", "rating": 5, "time_created": "2026-11-26T13:46:02-05:00", "user": { "id": "taaWY9muysp07O4ULgWyfA", "name": "Tami W.", "profile_url": "https://www.yelp.com/user_details?userid=taaWY9muysp07O4ULgWyfA", "image_url": null, "location": "Newberg, United States", "review_count": 0, "friend_count": 0, "photo_count": 2, "elite_year": null }, "reactions": { "helpful": 0, "thanks": 0, "love_this": 0, "oh_no": 0 }, "photos": [], "business_reply": null, "previous_review_count": 0, "is_first_review": false, "check_in_count": 0 }, { "id": "niFSZ3OxWf9Coqlv97HVJg", "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york?hrid=niFSZ3OxWf9Coqlv97HVJg", "text": "Always delicious! Don't be scared off by the long line down the block, waited about 20-25 minutes to get it. Cutters ar…", "language": "en", "rating": 5, "time_created": "2026-11-26T09:37:16-05:00", "user": { "id": "qMD11uJx_0hLZIrPKDS2tQ", "name": "Michael T.", "profile_url": "https://www.yelp.com/user_details?userid=qMD11uJx_0hLZIrPKDS2tQ", "image_url": "https://s3-media0.fl.yelpcdn.com/photo/qOI2H-iSfK3_nbD-VkQUYg/60s.jpg", "location": "Rocklin, United States", "review_count": 11, "friend_count": 12, "photo_count": 8, "elite_year": null }, "reactions": { "helpful": 0, "thanks": 0, "love_this": 0, "oh_no": 0 }, "photos": [ { "id": "Xx7js7Q6r0BuN_NB0gzk9A", "url": "https://s3-media0.fl.yelpcdn.com/bphoto/Xx7js7Q6r0BuN_NB0gzk9A/348s.jpg", "caption": "Cutter lines", "width": 2000, "height": 1500, "uploaded_at": null, "author": null }, { "id": "P9W2sv-8PYd27NXKUaGGkw", "url": "https://s3-media0.fl.yelpcdn.com/bphoto/P9W2sv-8PYd27NXKUaGGkw/348s.jpg", "caption": "Waiting to eat", "width": 1500, "height": 2000, "uploaded_at": null, "author": null }, "… 5 more" ], "business_reply": null, "previous_review_count": 0, "is_first_review": false, "check_in_count": 0 }, "… 59 more" ], "is_complete": true, "pages_read": 2}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. |
Response fields
200 with a YelpReviewsHistoryResponse, in Yelp’s own JSON.
| Field | Type | Description |
|---|---|---|
business | YelpBusinessRef | |
total | integer | All reviews in the business’s recommended feed. |
since | string | null | |
until | string | null | |
reviews | YelpReview[] | Newest first. |
is_complete | boolean | true when every review in the window was read; false when max_reviews cut it short. |
pages_read | integer |
Status codes
| Status | Meaning |
|---|---|
200 | The reviews in the window. |
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.