Read Yelp reviews
litescrape.yelp.business.reviewsReturns public reviews for one Yelp business in `reviews`
- Price
- $0.00015/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/29Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.yelp.business.reviews?num=10&place_id=dDz2erKJ_Z2HMur0tQ_iJAPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
q | 文字列 | 任意 | Not supported: Yelp does not offer review text filtering. Any value returns 422 unsupported_parameter. | |
hl | 文字列 | 任意 | Review language: a two-letter code with an optional two-letter region, such as en or fr-FR. | en |
num | 整数 | 任意 | Number of reviews, 1 through 49. | 10 |
start | 整数 | 任意 | Review offset from 0 through 10,000. | |
rating | 文字列 | 任意 | Comma-separated star ratings to include, each from 1 through 5. | 5,4 |
sortby | 文字列 | 任意 | Review order. | |
timeout | 数値 | 任意 | 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 call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
place_id | 文字列 | 必須 | Encoded Yelp business ID: letters, numbers, underscores, and hyphens. | dDz2erKJ_Z2HMur0tQ_iJA |
yelp_domain | 文字列 | 任意 | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. | www.yelp.com |
not_recommended | 真偽値 | 任意 | Not supported: Yelp does not expose its not-recommended reviews. true returns 422 unsupported_parameter. | |
not_recommended_start | 整数 | 任意 | Not supported, because not_recommended is not supported. Any value returns 400. | |
- クエリパラメータ
q文字列任意Not supported: Yelp does not offer review text filtering. Any value returns 422 unsupported_parameter.
hl文字列任意Review language: a two-letter code with an optional two-letter region, such as en or fr-FR.
例:
ennum整数任意Number of reviews, 1 through 49.
例:
10start整数任意Review offset from 0 through 10,000.
rating文字列任意Comma-separated star ratings to include, each from 1 through 5.
例:
5,4sortby文字列任意Review order.
timeout数値任意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 call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
place_id文字列必須Encoded Yelp business ID: letters, numbers, underscores, and hyphens.
例:
dDz2erKJ_Z2HMur0tQ_iJAyelp_domain文字列任意Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
例:
www.yelp.comnot_recommended真偽値任意Not supported: Yelp does not expose its not-recommended reviews. true returns 422 unsupported_parameter.
not_recommended_start整数任意Not supported, because not_recommended is not supported. Any value returns 400.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.yelp.business.reviews?num=10&place_id=dDz2erKJ_Z2HMur0tQ_iJA' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.yelp.business.reviews?num=10&place_id=dDz2erKJ_Z2HMur0tQ_iJA",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.yelp.business.reviews?num=10&place_id=dDz2erKJ_Z2HMur0tQ_iJA", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00015/success です。サービス料を含みます。