Read Google Maps reviews
litescrape.google.maps.reviewsReturns reviews for one place identified by place_id or data_id; Google Maps responses include both, plus a ready-made reviews_link
- Price
- $0.00015/successAu prix du fournisseur
- Success rate
- 87 %Last 30 days · 629 155 calls
- Latency p50
- 5.6 sp95 20 s
- Last verified
- 29 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.reviews?num=5&place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8sPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
gl | chaîne | Facultatif | Two-letter country code used to localize results, normalized to lowercase. Defaults to us. | us |
hl | chaîne | Facultatif | Review language code such as en, en-GB, or de. | en |
num | entier | Facultatif | Number of reviews to return. An initial unfiltered request returns 8 by default and accepts 1 through 100; requests with topic_id, query or next_page_token return 10 by default and accept 1 through 20. | 5 |
query | chaîne | Facultatif | Free-text filter that returns reviews mentioning these words. Mutually exclusive with topic_id. | parking |
data_id | chaîne | Facultatif | Hexadecimal Google Maps feature ID, such as the data_id in a Google Maps response. Exactly one of place_id or data_id is required. | 0x89c258e28c304997:0xfcafe4e7ce35ee8c |
sort_by | chaîne | Facultatif | Review order: qualityScore (most relevant), newestFirst, ratingHigh or ratingLow. | |
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 | Facultatif | Google Place ID. Exactly one of place_id or data_id is required. | ChIJT2h1HKZZwokR0kgzEtsa03k |
topic_id | chaîne | Facultatif | Return only reviews about one topic. Use a topics[].id from a previous response. Mutually exclusive with query. | |
next_page_token | chaîne | Facultatif | Opaque token from a previous response. Send it with the same place, language, country, sort and filters, or follow pagination.next. Tokens expire after 30 minutes. | |
source_metadata | booléen | Facultatif | Set to true to include each review source's icon and rating scale. | |
- Paramètres de requête
glchaîneFacultatifTwo-letter country code used to localize results, normalized to lowercase. Defaults to us.
Exemple :
ushlchaîneFacultatifReview language code such as en, en-GB, or de.
Exemple :
ennumentierFacultatifNumber of reviews to return. An initial unfiltered request returns 8 by default and accepts 1 through 100; requests with topic_id, query or next_page_token return 10 by default and accept 1 through 20.
Exemple :
5querychaîneFacultatifFree-text filter that returns reviews mentioning these words. Mutually exclusive with topic_id.
Exemple :
parkingdata_idchaîneFacultatifHexadecimal Google Maps feature ID, such as the data_id in a Google Maps response. Exactly one of place_id or data_id is required.
Exemple :
0x89c258e28c304997:0xfcafe4e7ce35ee8csort_bychaîneFacultatifReview order: qualityScore (most relevant), newestFirst, ratingHigh or ratingLow.
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îneFacultatifGoogle Place ID. Exactly one of place_id or data_id is required.
Exemple :
ChIJT2h1HKZZwokR0kgzEtsa03ktopic_idchaîneFacultatifReturn only reviews about one topic. Use a topics[].id from a previous response. Mutually exclusive with query.
next_page_tokenchaîneFacultatifOpaque token from a previous response. Send it with the same place, language, country, sort and filters, or follow pagination.next. Tokens expire after 30 minutes.
source_metadatabooléenFacultatifSet to true to include each review source's icon and rating scale.
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.maps.reviews?num=5&place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.maps.reviews?num=5&place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s",
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.google.maps.reviews?num=5&place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s", {
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.