Read Yelp reviews
litescrape.yelp.business.reviewsReturns public reviews for one Yelp business in `reviews`
- Price
- $0.00015/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 29 sept. 2026Verified 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
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
q | chaîne | Facultatif | Not supported: Yelp does not offer review text filtering. Any value returns 422 unsupported_parameter. | |
hl | chaîne | Facultatif | Review language: a two-letter code with an optional two-letter region, such as en or fr-FR. | en |
num | entier | Facultatif | Number of reviews, 1 through 49. | 10 |
start | entier | Facultatif | Review offset from 0 through 10,000. | |
rating | chaîne | Facultatif | Comma-separated star ratings to include, each from 1 through 5. | 5,4 |
sortby | chaîne | Facultatif | Review order. | |
timeout | nombre | Facultatif | 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 | chaîne | Obligatoire | Encoded Yelp business ID: letters, numbers, underscores, and hyphens. | dDz2erKJ_Z2HMur0tQ_iJA |
yelp_domain | chaîne | Facultatif | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. | www.yelp.com |
not_recommended | booléen | Facultatif | Not supported: Yelp does not expose its not-recommended reviews. true returns 422 unsupported_parameter. | |
not_recommended_start | entier | Facultatif | Not supported, because not_recommended is not supported. Any value returns 400. | |
- Paramètres de requête
qchaîneFacultatifNot supported: Yelp does not offer review text filtering. Any value returns 422 unsupported_parameter.
hlchaîneFacultatifReview language: a two-letter code with an optional two-letter region, such as en or fr-FR.
Exemple :
ennumentierFacultatifNumber of reviews, 1 through 49.
Exemple :
10startentierFacultatifReview offset from 0 through 10,000.
ratingchaîneFacultatifComma-separated star ratings to include, each from 1 through 5.
Exemple :
5,4sortbychaîneFacultatifReview order.
timeoutnombreFacultatifOptional 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_idchaîneObligatoireEncoded Yelp business ID: letters, numbers, underscores, and hyphens.
Exemple :
dDz2erKJ_Z2HMur0tQ_iJAyelp_domainchaîneFacultatifSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
Exemple :
www.yelp.comnot_recommendedbooléenFacultatifNot supported: Yelp does not expose its not-recommended reviews. true returns 422 unsupported_parameter.
not_recommended_startentierFacultatifNot supported, because not_recommended is not supported. Any value returns 400.
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.