GroundsocialDocs

API · Yelp

POST /yelp/businesses/{business}/reviews/history

Every review of a Yelp business in a date window, newest first (up to 500).

RequestPOST /v1/yelp/businesses/{business}/reviews/history
Operation idyelp.business.reviews_history
Cost10 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Every review of a Yelp business in a date window, newest first (up to 500).

Path parameters

NameTypeRequiredDescription
businessstringyesThe 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.

Request body

FieldTypeRequiredDescription
sincestringnoOldest review date to include (YYYY-MM-DD or ISO 8601).
untilstringnoNewest review date to include (YYYY-MM-DD or ISO 8601).
languagesstring[]noReview languages, e.g. ["en","de"], or ["all"].
max_reviewsintegernoStop after this many reviews (default 200, max 500).

Responses

StatusMeaningSchema
200The reviews in the window.YelpReviewsHistoryResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Yelp business by that alias, id or link.Error
429Too many requests. Wait for Retry-After seconds.Error
503Yelp is temporarily unavailable. Retryable; nothing was charged.Error

YelpReviewsHistoryResponse fields

FieldTypeDescription
businessYelpBusinessRef
totalintegerAll reviews in the business’s recommended feed.
sincestring | null
untilstring | null
reviewsYelpReview[]Newest first.
is_completebooleantrue when every review in the window was read; false when max_reviews cut it short.
pages_readinteger

Errors use one shape everywhere; see Errors for every code and what to do.