API · Yelp
POST /yelp/businesses/{business}/reviews/history
Every review of a Yelp business in a date window, newest first (up to 500).
| |
|---|
| Request | POST /v1/yelp/businesses/{business}/reviews/history |
| Operation id | yelp.business.reviews_history |
| Cost | 10 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Every review of a Yelp business in a date window, newest first (up to 500).
| Name | Type | Required | Description |
|---|
business | string | yes | 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. |
| Field | Type | Required | Description |
|---|
since | string | no | Oldest review date to include (YYYY-MM-DD or ISO 8601). |
until | string | no | Newest review date to include (YYYY-MM-DD or ISO 8601). |
languages | string[] | no | Review languages, e.g. ["en","de"], or ["all"]. |
max_reviews | integer | no | Stop after this many reviews (default 200, max 500). |
| Status | Meaning | Schema |
|---|
200 | The reviews in the window. | YelpReviewsHistoryResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Yelp business by that alias, id or link. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Yelp is temporarily unavailable. Retryable; nothing was charged. | Error |
| 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 | |
Errors use one shape everywhere; see Errors for every code and what to do.