place_idstring필수
Encoded Yelp business ID: letters, numbers, underscores, and hyphens.
https://api.sandbase.ai/v1/api/yelp/reviewsPublic reviews of a Yelp business by place ID: rating, text, date and reviewer, with paging and sorting.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns public reviews for one Yelp business, plus the business's average rating, rating counts and total review count. It needs a place_id, the encoded Yelp business ID.
sortby set to date_desc to track recent customer feedback.rating filter to find common complaints.curl -X POST "https://api.sandbase.ai/v1/api/yelp/reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"place_id": "dDz2erKJ_Z2HMur0tQ_iJA", "num": 10}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
place_id | string | Yes | Encoded Yelp business ID: letters, numbers, underscores, and hyphens. |
hl | string | No | Review language: a two-letter code with an optional two-letter region, such as en or fr-FR. |
not_recommended | boolean | No | Not supported: Yelp does not expose its not-recommended reviews. true returns 422 unsupported_parameter. |
not_recommended_start | integer | No | Not supported, because not_recommended is not supported. Any value returns 400. |
num | integer | No | Number of reviews, 1 through 49. |
q | string | No | Not supported: Yelp does not offer review text filtering. Any value returns 422 unsupported_parameter. |
rating | string | No | Comma-separated star ratings to include, each from 1 through 5. |
sortby | string | No | Review order. |
start | integer | No | Review offset from 0 through 10,000. |
timeout | number | No | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the cal |
yelp_domain | string | No | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"pagination": {},
"review_languages": [
{
"count": 744,
"hl": "en"
}
],
"reviews": [
{
"comment": {
"language": "en",
"text": "Came to Cosmic with a friend. He suggested a Mexican food truck that is here. An…"
},
"date": "2026-10-19T19:24:08Z",
"feedback": {
"cool": 29,
"funny": 7,
"useful": 33
},
"id": "bsc5JqLCP_A_MDzzPvWFKw",
"link": "https://www.yelp.com/biz/cosmic-austin?hrid=bsc5JqLCP_A_MDzzPvWFKw",
"local_date": "2026-10-19T14:24:08-05:00",
"owner_replies": [
{
"comment": "Hi Shannon! We’re so happy to hear you had such a wonderful time at Cosmic Pickl…",
"date": "2026-10-30T15:28:27Z",
"id": "gl4nV95_RbQ3lDY5CkWgUA",
"owner": {
"id": "u8musB2-qjtyiQVRiLxZ_w",
"name": "Kayla F.",
"role": "OWNER",
"thumbnail": "https://s3-media0.fl.yelpcdn.com/buphoto/podUt4nzIePyrReXIS-CpQ/90s.jpg"
}
}
],
"photos": [
{
"caption": "Here for Sunday funday drinks.",
"helpful": 0,
"id": "2EsUyPlJKgfDYKSYVyBGIw",
"link": "https://s3-media0.fl.yelpcdn.com/bphoto/2EsUyPlJKgfDYKSYVyBGIw/o.jpg",
"thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/2EsUyPlJKgfDYKSYVyBGIw/348s.jpg"
}
],
"position": 1,
"rating": 5,
"reactions": [
{
"count": 38,
"label": "Helpful",
"type": "HELPFUL"
}
],
"user": {
"address": "Austin, TX",
"elite_year": "26",
"friends": 5000,
"link": "https://www.yelp.com/user_details?userid=jT-pOXB4mpUA5N9Lu0ZN-g",
"name": "Shannon G.",
"photos": 14036,
"reviews": 1073,
"thumbnail": "https://s3-media0.fl.yelpcdn.com/photo/CkN3QEuWbjsATCyDPCDaXg/180s.jpg"
}
}
],
"search_information": {
"business": "Cosmic",
"rating": 4.6,
"rating_distribution": [
{
"count": 22,
"rating": 1
}
],
"total_results": 744
}
}
| Field | Meaning |
|---|---|
search_information.business / rating / total_results | Business name, its average star rating and the total number of reviews. |
search_information.rating_distribution[] | Number of reviews (count) for each star rating. |
review_languages[].hl / count | Language code and the number of reviews written in that language. |
reviews[].id / link | Review ID and a link to the review on Yelp. |
reviews[].rating | Star rating given in the review. |
reviews[].comment.text / language | Review text and its language code. Long text may be cut. |
reviews[].date / local_date | Time the review was posted, in UTC (date) and with a local offset (local_date). |
reviews[].feedback.useful / funny / cool | Number of votes the review received in each category. |
reviews[].owner_replies[] | Replies from the business owner, each with comment, date and the owner name and role. |
reviews[].user.name / reviews / friends / elite_year | Reviewer name, how many reviews and friends they have, and their Elite year. |
place_id with Yelp Business Search.start (offset) and num (1 through 49). reviews[].position shows the order within the result.pagination came back empty in this response, so track the offset yourself and compare it to search_information.total_results.q and not_recommended are not supported and return an error.$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/yelp/reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hl": "en",
"num": 10,
"start": 0,
"sortby": "relevance_desc",
"place_id": "dDz2erKJ_Z2HMur0tQ_iJA",
"not_recommended": false
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
place_idstring필수Encoded Yelp business ID: letters, numbers, underscores, and hyphens.
yelp_domainstringSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
hlstringReview language: a two-letter code with an optional two-letter region, such as en or fr-FR.
기본값: "en"
qstringNot supported: Yelp does not offer review text filtering. Any value returns 422 unsupported_parameter.
sortbystringReview order.
기본값: "relevance_desc"
가능한 값: relevance_desc, date_desc, date_asc, rating_desc, rating_asc, elites_desc
ratingstringComma-separated star ratings to include, each from 1 through 5.
not_recommendedbooleanNot supported: Yelp does not expose its not-recommended reviews. true returns 422 unsupported_parameter.
기본값: false
startintegerReview offset from 0 through 10,000.
기본값: 0
numintegerNumber of reviews, 1 through 49.
기본값: 49
not_recommended_startintegerNot supported, because not_recommended is not supported. Any value returns 400.
timeoutnumberOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true an
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Yelp Reviews이 API Yelp | $0.00015 / 호출 | JSON |
Yelp | $0.01 / 호출 | JSON |
Yelp | $0.00015 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/yelp/reviews에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.00015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: place_id (string). 선택: yelp_domain (string), hl (string), q (string), sortby(relevance_desc, date_desc, date_asc, rating_desc, rating_asc, elites_desc 중 하나), rating (string) 및 not_recommended (boolean) 외 4개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Yelp Reviews은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Yelp API 액세스를 별도로 신청할 필요는 없습니다.