List customer reviews on your business listing
google-business-profile.reviewsRead the reviews customers left on your Google Business Profile listing
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/google-business-profile.reviewsPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
HOST OVERRIDE: mybusiness.googleapis.com — reviews are the one job never migrated off the legacy v4 API, so v4 here is correct rather than stale. Response carries averageRating and totalReviewCount alongside reviews[]; starRating is the WORD ("FIVE"), not a number, and a review already answered carries a reviewReply object
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
account_id | 文字列 | 必須 | 123456789 | |
location_id | 文字列 | 必須 | digits from the location resource name (locations/987654321) | 987654321 |
| クエリパラメータ | ||||
orderBy | 文字列 | 任意 | updateTime desc | rating | rating desc | updateTime desc |
pageSize | 整数 | 任意 | max 50 | 50 |
pageToken | 文字列 | 任意 | ||
- パスパラメータ
account_id文字列必須例:
123456789location_id文字列必須digits from the location resource name (locations/987654321)
例:
987654321- クエリパラメータ
orderBy文字列任意updateTime desc | rating | rating desc
例:
updateTime descpageSize整数任意max 50
例:
50pageToken文字列任意
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/google-business-profile.reviews' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/google-business-profile.reviews",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-business-profile.reviews", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。