Google Maps Contributor Reviews API. Reviews, page by page.
A reviewer's latest reviews with each place. We handle the proxies, blocks and platform changes.
Google Maps Contributor Reviews API at a glance
Returns a Google Maps contributor's latest reviews from their contributor link or ID. Each review has the place it is about, with its address and coordinates, the exact time, stars, text, Google's translation, photos and videos, and the owner's reply. When the contributor hides their reviews, it returns private_or_unavailable.
GET /v1/googlemaps/contributor_reviews
- 1 credit per page, $0.75–$1.97 per 1,000 pages
- 21 typed fields null when unknown
- 10 reviews per page, most recently written or edited first
handleis all it needs, e.g.https://www.google.com/maps/contrib/103582353305368112798
Send one request. Get up to 10 reviews back.
Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.
$ npm install socialtaphandle = https://www.google.com/maps/contrib/103582353305368112798// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
handle: "https://www.google.com/maps/contrib/103582353305368112798",
});
const res = await fetch(`https://socialtap.dev/v1/googlemaps/contributor_reviews?${params}`, {
headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);from socialtap import SocialTap
client = SocialTap() # api_key defaults to os.environ["SOCIALTAP_API_KEY"]
res = client.googlemaps.contributor_reviews.list(handle="https://www.google.com/maps/contrib/103582353305368112798")
print(res.data)
print(res.credits.charged, res.meta.request_id)import os
import requests
res = requests.get(
"https://socialtap.dev/v1/googlemaps/contributor_reviews",
params={"handle": "https://www.google.com/maps/contrib/103582353305368112798"},
headers={"x-api-key": os.environ["SOCIALTAP_API_KEY"]},
)
body = res.json()
if not res.ok:
raise RuntimeError(f"{body['error']['code']}: {body['error']['message']}")
data, page, meta = body["data"], body["page"], body["meta"]
print(data, meta["credits_charged"])require "json"
require "net/http"
uri = URI("https://socialtap.dev/v1/googlemaps/contributor_reviews")
uri.query = URI.encode_www_form('handle' => 'https://www.google.com/maps/contrib/103582353305368112798')
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = ENV.fetch("SOCIALTAP_API_KEY")
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
body = JSON.parse(res.body)
raise "#{body["error"]["code"]}: #{body["error"]["message"]}" unless res.is_a?(Net::HTTPSuccess)
pp body["data"]
puts body["meta"]["credits_charged"]<?php
$query = http_build_query([
'handle' => 'https://www.google.com/maps/contrib/103582353305368112798',
]);
$ch = curl_init('https://socialtap.dev/v1/googlemaps/contributor_reviews?' . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: ' . getenv('SOCIALTAP_API_KEY')],
]);
$body = json_decode(curl_exec($ch), true);
if (curl_getinfo($ch, CURLINFO_RESPONSE_CODE) >= 400) {
throw new RuntimeException($body['error']['code'] . ': ' . $body['error']['message']);
}
print_r($body['data']);
echo $body['meta']['credits_charged'], PHP_EOL;package main
import (
"context"
"fmt"
"log"
socialtap "socialtap.dev/sdk/go"
)
func main() {
ctx := context.Background()
client, err := socialtap.NewClient() // the API key defaults to $SOCIALTAP_API_KEY
if err != nil {
log.Fatal(err)
}
res, err := client.GoogleMaps.ContributorReviews.List(ctx, socialtap.GoogleMapsContributorReviewsParams{Handle: "https://www.google.com/maps/contrib/103582353305368112798"})
if err != nil {
log.Fatal(err)
}
fmt.Println(res.Data)
fmt.Println(res.Credits.Charged, res.Meta.RequestID)
}package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
"os"
)
func main() {
q := url.Values{}
q.Set("handle", "https://www.google.com/maps/contrib/103582353305368112798")
req, err := http.NewRequest("GET", "https://socialtap.dev/v1/googlemaps/contributor_reviews?"+q.Encode(), nil)
if err != nil {
log.Fatal(err)
}
req.Header.Set("x-api-key", os.Getenv("SOCIALTAP_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer res.Body.Close()
var body struct {
Data json.RawMessage `json:"data"`
Page json.RawMessage `json:"page"`
Meta map[string]any `json:"meta"`
Error *struct {
Code string `json:"code"`
Message string `json:"message"`
} `json:"error"`
}
if err := json.NewDecoder(res.Body).Decode(&body); err != nil {
log.Fatal(err)
}
if body.Error != nil {
log.Fatalf("%s: %s", body.Error.Code, body.Error.Message)
}
fmt.Println(string(body.Data), body.Meta["credits_charged"])
}curl -G 'https://socialtap.dev/v1/googlemaps/contributor_reviews' \
--data-urlencode 'handle=https://www.google.com/maps/contrib/103582353305368112798' \
-H "x-api-key: $SOCIALTAP_API_KEY"{
"data": [
{
"approximate_fields": [],
"author": {
"avatar_url": "https://lh3.googleusercontent.com/a-/ALV-UjV3LwcfY5_QIehwLIcpF-qRqtkEv6Y5xScQOBMtjpgoAdnDsemTIg=s120-c-rp-mo-ba12-br100",
"display_name": "Mert E. Zurnalı",
"id": "103582353305368112798",
"is_verified": null,
"url": "https://www.google.com/maps/contrib/103582353305368112798",
"username": null
},
"country_code": null,
"id": "Ci9DQUlRQUNvZENodHljRjlvT2pGdFVHMXJNakZqTjJ4c2VHWjVUMFp1UkhwUldIYxAB",
"is_incentivized": null,
"is_verified_purchase": null,
"language": "en",
"media": [
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 5712,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLf9MumaQAHfXywwgo4aGVMKKsHL-8aM69G8swUbfUfAiUOp3nHoUKiN-FC6Y7TNWwHM8sG-36J9I9RI1SimffzXz5jFPHnAp7TznXbIOi0yw1tlRp7iGPHfFZntr2KMoCdJAJTzRNSwcrE=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLf9MumaQAHfXywwgo4aGVMKKsHL-8aM69G8swUbfUfAiUOp3nHoUKiN-FC6Y7TNWwHM8sG-36J9I9RI1SimffzXz5jFPHnAp7TznXbIOi0yw1tlRp7iGPHfFZntr2KMoCdJAJTzRNSwcrE=w4284-h5712-k-no",
"width": 4284
},
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 4032,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLdMRsfayomo4jlaKAJoffnA6M2ft7HIgkb3NrIbvW83yEb4vt4_KwafNq3VTESmAckmrJwjVnbQo1ADUo-DP1j-AE5NH9Gm8VoZ6YTMFoHJka2FOYVSj67vpcCSTffZ0JWN8t59DRPmzG4Z=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLdMRsfayomo4jlaKAJoffnA6M2ft7HIgkb3NrIbvW83yEb4vt4_KwafNq3VTESmAckmrJwjVnbQo1ADUo-DP1j-AE5NH9Gm8VoZ6YTMFoHJka2FOYVSj67vpcCSTffZ0JWN8t59DRPmzG4Z=w3024-h4032-k-no",
"width": 3024
},
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 4032,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeMzV6RST4Vq1hWpaSJyzHarJ4OuGQ54u0tKQY51_5coQzhVLLNTDYxcXtTIuqrCCA0UHI536X3iCQ0_p89cg-d0B7xO7IdSTPgJvHCid8I5vIVoy5rPiqm4wceEvVvvBeDk8BSZuG7jzgL=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeMzV6RST4Vq1hWpaSJyzHarJ4OuGQ54u0tKQY51_5coQzhVLLNTDYxcXtTIuqrCCA0UHI536X3iCQ0_p89cg-d0B7xO7IdSTPgJvHCid8I5vIVoy5rPiqm4wceEvVvvBeDk8BSZuG7jzgL=w3024-h4032-k-no",
"width": 3024
}
],
"metrics": {
"helpful_count": 0
},
"place": {
"address": "125 Ken Pratt Blvd, Longmont, CO 80501",
"city": "Longmont",
"country_code": null,
"id": "ChIJG7efq8_5a4cRA2GJqvu9RVo",
"latitude": 40.1519139,
"longitude": -105.0943877,
"name": "Nana's Dim Sum & Dumplings",
"url": "https://www.google.com/maps?cid=6504814125402120451"
},
"platform": "googlemaps",
"platform_specific": {
"googlemaps": {
"aspect_ratings": [
{
"key": "GUIDED_DINING_FOOD_ASPECT",
"name": "Food",
"rating": 5
},
{
"key": "GUIDED_DINING_SERVICE_ASPECT",
"name": "Service",
"rating": 5
},
{
"key": "GUIDED_DINING_ATMOSPHERE_ASPECT",
"name": "Atmosphere",
"rating": 5
}
],
"author": {
"is_local_guide": true,
"local_guide_level": 7,
"photo_count": 356,
"review_count": 102
},
"edited_at": null,
"origin": "Google",
"translated_reply_text": null,
"translated_text": null,
"visit_details": [
{
"key": "GUIDED_DINING_MEAL_TYPE",
"name": "Meal type",
"values": [
"Lunch"
]
},
{
"key": "GUIDED_DINING_PRICE_RANGE",
"name": "Price per person",
"values": [
"$20–30"
]
},
{
"key": "GUIDED_DINING_NOISE_LEVEL",
"name": "Noise level",
"values": [
"Quiet, easy to talk"
]
}
]
}
},
"product_id": null,
"published_at": "2026-11-11T15:35:55Z",
"rating": 5,
"replies": [
{
"author": {
"avatar_url": null,
"display_name": null,
"id": null,
"is_verified": null,
"url": null,
"username": null
},
"published_at": "2026-11-16T02:03:05Z",
"text": "Thank you so much, Mert — this genuinely made our day! We put a lot of love into every detail of this place, so hearing that it all came together into a memorable experience means everything to us. We’re so glad our team made you feel so welcome. Can’t wait to have you back! 🥟❤️"
}
],
"text": "Absolutely loved this place! Everything from the food to the service and atmosphere was exceptional. Every dish we tried was delicious, and the entire dining experience was fantastic.\n\nThe interior is absolutely stunning! The traditional Chinese decorations, the incredible dragon…",
"title": null,
"unknown_fields": [],
"url": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2pGdFVHMXJNakZqTjJ4c2VHWjVUMFp1UkhwUldIYxAB!2m1!1s0x0:0x5a45bdfbaa896103!3m1!1s2@1:CAIQACodChtycF9oOjFtUG1rMjFjN2xseGZ5T0ZuRHpRWHc%7C%7C?hl=en-US",
"variant_id": null,
"variant_title": null
},
{
"approximate_fields": [],
"author": {
"avatar_url": "https://lh3.googleusercontent.com/a-/ALV-UjV3LwcfY5_QIehwLIcpF-qRqtkEv6Y5xScQOBMtjpgoAdnDsemTIg=s120-c-rp-mo-ba12-br100",
"display_name": "Mert E. Zurnalı",
"id": "103582353305368112798",
"is_verified": null,
"url": "https://www.google.com/maps/contrib/103582353305368112798",
"username": null
},
"country_code": null,
"id": "Ci9DQUlRQUNvZENodHljRjlvT2xWUWRWSm9WSEl3TTJaWlYwcEJhRU5vTW1VNVJYYxAB",
"is_incentivized": null,
"is_verified_purchase": null,
"language": "en",
"media": [
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 4032,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfad3lZkW-ajrOz-YciczCzIXP0Sp_h_ULTxJIo_fQQMUKTmNOXgIgOGHcJ8QkEHEoygL3D8SawkY_aAcM9BZMsFE803OXujCooXzdJsQgEdrRxcFQDEAy_KsRpZEyXZS4AVFmL2Rp_jYhY=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfad3lZkW-ajrOz-YciczCzIXP0Sp_h_ULTxJIo_fQQMUKTmNOXgIgOGHcJ8QkEHEoygL3D8SawkY_aAcM9BZMsFE803OXujCooXzdJsQgEdrRxcFQDEAy_KsRpZEyXZS4AVFmL2Rp_jYhY=w3024-h4032-k-no",
"width": 3024
},
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 4032,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLc2uEAJm4rM6kQ71fig7x4F_8C1sCITDrikWT4ft8qFltVxBKdk2PWl-QCiiZwoFlvxddIGJc6oreB-Gd17rcTuyayy0gpVNpgmvrN7bDCrsI1SvIbqRqdmpv8xeRORRpu840xrb1dtrMCe=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLc2uEAJm4rM6kQ71fig7x4F_8C1sCITDrikWT4ft8qFltVxBKdk2PWl-QCiiZwoFlvxddIGJc6oreB-Gd17rcTuyayy0gpVNpgmvrN7bDCrsI1SvIbqRqdmpv8xeRORRpu840xrb1dtrMCe=w3024-h4032-k-no",
"width": 3024
}
],
"metrics": {
"helpful_count": 0
},
"place": {
"address": "314 W 58th St, New York, NY 10019",
"city": "New York",
"country_code": null,
"id": "ChIJbVtD_4BZwokRVJcC9hll1l8",
"latitude": 40.767654199999996,
"longitude": -73.9832955,
"name": "Broad Nosh Bagels",
"url": "https://www.google.com/maps?cid=6905818240795187028"
},
"platform": "googlemaps",
"platform_specific": {
"googlemaps": {
"aspect_ratings": [
{
"key": "GUIDED_DINING_FOOD_ASPECT",
"name": "Food",
"rating": 5
},
{
"key": "GUIDED_DINING_SERVICE_ASPECT",
"name": "Service",
"rating": 5
},
{
"key": "GUIDED_DINING_ATMOSPHERE_ASPECT",
"name": "Atmosphere",
"rating": 5
}
],
"author": {
"is_local_guide": true,
"local_guide_level": 7,
"photo_count": 356,
"review_count": 102
},
"edited_at": null,
"origin": "Google",
"translated_reply_text": null,
"translated_text": null,
"visit_details": [
{
"key": "GUIDED_DINING_MODE",
"name": "Order type",
"values": [
"Take out"
]
},
{
"key": "GUIDED_DINING_MEAL_TYPE",
"name": "Meal type",
"values": [
"Breakfast"
]
},
{
"key": "GUIDED_DINING_PRICE_RANGE",
"name": "Price per person",
"values": [
"$20–30"
]
}
]
}
},
"product_id": null,
"published_at": "2026-10-08T18:03:04Z",
"rating": 5,
"replies": [
{
"author": {
"avatar_url": null,
"display_name": null,
"id": null,
"is_verified": null,
"url": null,
"username": null
},
"published_at": "2026-10-08T19:01:23Z",
"text": "Mert, that is exactly what we love to hear! We put a lot of heart into that salmon bagel, so knowing it lived up to your vision of a real New York bagel experience is genuinely rewarding. So glad it was a highlight of your time in the city, and we hope to see you back at the coun…"
}
],
"text": "This is what a real New York bagel should taste like!\n\nI ordered the salmon bagel, and it was absolutely delicious. Everything tasted fresh, the flavors worked perfectly together, and the bagel itself was just fantastic. Honestly, this is exactly what I imagined an authentic New …",
"title": null,
"unknown_fields": [],
"url": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2xWUWRWSm9WSEl3TTJaWlYwcEJhRU5vTW1VNVJYYxAB!2m1!1s0x0:0x5fd66519f6029754!3m1!1s2@1:CAIQACodChtycF9oOlVQdVJoVHIwM2ZZV0pBaENoMmU5RXc%7C%7C?hl=en-US",
"variant_id": null,
"variant_title": null
},
{
"approximate_fields": [],
"author": {
"avatar_url": "https://lh3.googleusercontent.com/a-/ALV-UjV3LwcfY5_QIehwLIcpF-qRqtkEv6Y5xScQOBMtjpgoAdnDsemTIg=s120-c-rp-mo-ba12-br100",
"display_name": "Mert E. Zurnalı",
"id": "103582353305368112798",
"is_verified": null,
"url": "https://www.google.com/maps/contrib/103582353305368112798",
"username": null
},
"country_code": null,
"id": "Ci9DQUlRQUNvZENodHljRjlvT2pKb1pVZHdlVWRCZDBwb2JVaGphRVpFV1UxR2IyYxAB",
"is_incentivized": null,
"is_verified_purchase": null,
"language": "en",
"media": [
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 5712,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLdxwodoWf9oY93g2wro7TCYl--EftYAKHNYWkOcujLX-AeWhfIBTwnw4lYbNpYqvG80qLjmUBecx401GgbnPLjnIWzQSHY2lMJaavi6IZkfcj8BRlCAt4TLtf5UEpjlRTCaYFeyPzGJZmB_=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLdxwodoWf9oY93g2wro7TCYl--EftYAKHNYWkOcujLX-AeWhfIBTwnw4lYbNpYqvG80qLjmUBecx401GgbnPLjnIWzQSHY2lMJaavi6IZkfcj8BRlCAt4TLtf5UEpjlRTCaYFeyPzGJZmB_=w4284-h5712-k-no",
"width": 4284
},
{
"alt_text": null,
"duration_ms": null,
"expires_at": null,
"height": 4032,
"thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfTytghcbRXruFRLhCEb2fQ9egSdKzKfgZQHOTc4dtUX2Bpq_pNdaj8cmVLZbI_ErBv0wG5FTpgAYMDLzgvVr6TYiRgeGxpHASIM77JZEOCZss7zkNGLGySOMhTGnYLQTL6VUYJQDfkwzHe=k-no",
"type": "image",
"url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfTytghcbRXruFRLhCEb2fQ9egSdKzKfgZQHOTc4dtUX2Bpq_pNdaj8cmVLZbI_ErBv0wG5FTpgAYMDLzgvVr6TYiRgeGxpHASIM77JZEOCZss7zkNGLGySOMhTGnYLQTL6VUYJQDfkwzHe=w3024-h4032-k-no",
"width": 3024
}
],
"metrics": {
"helpful_count": 0
},
"place": {
"address": "321 W 44th St, New York, NY 10036",
"city": "New York",
"country_code": null,
"id": "ChIJnxEXkVNYwokRITzoANd2S14",
"latitude": 40.7593949,
"longitude": -73.9900238,
"name": "Miss Nellie's",
"url": "https://www.google.com/maps?cid=6794655128623791137"
},
"platform": "googlemaps",
"platform_specific": {
"googlemaps": {
"aspect_ratings": [
{
"key": "GUIDED_DINING_FOOD_ASPECT",
"name": "Food",
"rating": 5
},
{
"key": "GUIDED_DINING_SERVICE_ASPECT",
"name": "Service",
"rating": 4
},
{
"key": "GUIDED_DINING_ATMOSPHERE_ASPECT",
"name": "Atmosphere",
"rating": 5
}
],
"author": {
"is_local_guide": true,
"local_guide_level": 7,
"photo_count": 356,
"review_count": 102
},
"edited_at": null,
"origin": "Google",
"translated_reply_text": null,
"translated_text": null,
"visit_details": [
{
"key": "GUIDED_DINING_MEAL_TYPE",
"name": "Meal type",
"values": [
"Dinner"
]
},
{
"key": "GUIDED_DINING_PRICE_RANGE",
"name": "Price per person",
"values": [
"$20–30"
]
},
{
"key": "GUIDED_DINING_DISH_RECOMMENDATION",
"name": "Recommended dishes",
"values": [
"Smoked French Dip"
]
}
]
}
},
"product_id": null,
"published_at": "2026-10-08T17:28:40Z",
"rating": 5,
"replies": [
{
"author": {
"avatar_url": null,
"display_name": null,
"id": null,
"is_verified": null,
"url": null,
"username": null
},
"published_at": "2026-10-09T16:38:19Z",
"text": "Your review made our team happy — glad the French Dip, sauces, burger and lively atmosphere hit the spot, Mert. Hope to see you again!"
}
],
"text": "We found Miss Nellie’s while searching for the best French Dip sandwiches in New York City, and I’m really glad we decided to give it a try!\n\nI ordered the French Dip, and it definitely lived up to my expectations. The sandwich was delicious, and I especially appreciated the pres…",
"title": null,
"unknown_fields": [],
"url": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2pKb1pVZHdlVWRCZDBwb2JVaGphRVpFV1UxR2IyYxAB!2m1!1s0x0:0x5e4b76d700e83c21!3m1!1s2@1:CAIQACodChtycF9oOjJoZUdweUdBd0pobUhjaEZEWU1Gb2c%7C%7C?hl=en-US",
"variant_id": null,
"variant_title": null
}
],
"page": {
"has_more": false,
"next_cursor": null,
"next_cursor_expires_at": null,
"end_reason": "platform_limit"
},
"meta": {
"request_id": "req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f",
"platform": "googlemaps",
"source": "browser",
"is_cached": false,
"credits_charged": 1,
"latency_ms": 1000,
"fetched_at": "2026-10-25T12:00:00Z",
"input": {
"kind": "profile",
"id": "103582353305368112798",
"url": "https://www.google.com/maps/contrib/103582353305368112798"
},
"credits_remaining": 9999,
"client_request_id": null,
"warnings": []
}
}// Save this as app.mjs (an ES module) and run: node app.mjs
import { SocialTap } from "socialtap";
const client = new SocialTap(); // apiKey defaults to process.env.SOCIALTAP_API_KEY
const res = await client.googlemaps.contributorReviews.list({ handle: "https://www.google.com/maps/contrib/103582353305368112798" });
console.log(res.data);
console.log(res.credits.charged, res.meta.request_id);import java.net.URI;
import java.net.URLEncoder;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws Exception {
String query = "handle=" + encode("https://www.google.com/maps/contrib/103582353305368112798");
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://socialtap.dev/v1/googlemaps/contributor_reviews?" + query))
.header("x-api-key", System.getenv("SOCIALTAP_API_KEY"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
// An error is {"error": {"code", "message", ...}}; success is {data, meta}, meta.credits_charged its price.
if (response.statusCode() >= 400) throw new RuntimeException(response.body());
System.out.println(response.body());
}
static String encode(String value) {
return URLEncoder.encode(value, StandardCharsets.UTF_8);
}
}using System.Text.Json;
using var http = new HttpClient();
http.DefaultRequestHeaders.Add("x-api-key", Environment.GetEnvironmentVariable("SOCIALTAP_API_KEY"));
var query = string.Join("&",
"handle=" + Uri.EscapeDataString("https://www.google.com/maps/contrib/103582353305368112798"));
var res = await http.GetAsync("https://socialtap.dev/v1/googlemaps/contributor_reviews?" + query);
using var body = JsonDocument.Parse(await res.Content.ReadAsStringAsync());
if (!res.IsSuccessStatusCode)
{
var error = body.RootElement.GetProperty("error");
throw new Exception($"{error.GetProperty("code")}: {error.GetProperty("message")}");
}
Console.WriteLine(body.RootElement.GetProperty("data"));
Console.WriteLine(body.RootElement.GetProperty("meta").GetProperty("credits_charged"));// Cargo.toml: reqwest = { version = "0.12", features = ["blocking", "json"] }, serde_json = "1"
use std::env;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let res = reqwest::blocking::Client::new()
.get("https://socialtap.dev/v1/googlemaps/contributor_reviews")
.query(&[("handle", "https://www.google.com/maps/contrib/103582353305368112798")])
.header("x-api-key", env::var("SOCIALTAP_API_KEY")?)
.send()?;
let ok = res.status().is_success();
let body: serde_json::Value = res.json()?;
if !ok {
return Err(format!("{}: {}", body["error"]["code"], body["error"]["message"]).into());
}
println!("{} {}", body["data"], body["meta"]["credits_charged"]);
Ok(())
}200 OK · GET https://socialtap.dev/v1/googlemaps/contributor_reviewsLong arrays and strings are shortened here. Real responses are complete.Docs One schema on 3 platforms.
The response reference lists every field, its type and when it is null. See the full schema.
Null means unknown
A field Google Maps doesn't show is null, never zero or an empty string, so a real zero always means zero.
What it accepts
A Google Maps contributor: their profile link (google.com/maps/contrib/<id>, with /reviews, /photos or a map after it, on any Google country domain) or the 21-digit contributor ID.
Write one parser
Google Maps, Amazon and TikTok Shop answer in these fields, so the code that reads one reads them all.
platformstring- Platform ID (tiktokshop, …).
- In the example
"googlemaps" idstring- Platform-native review ID (string).
- In the example
"Ci9DQUlRQUNvZENodHljRjlvT2pGdFVHMXJNakZqTjJ4c2VHWjVUMFp1UkhwUldIYxAB" product_idstring- ID of the product reviewed (equals product.id); null for a review of a place (see place).
- In the example
null placeobject- The place reviewed: its id (equals place.id), and on a reviewer's list of reviews its name, address and coordinates; null for a review of a product.
- In the example
address: "125 Ken Pratt Blvd, Longmont, CO 80501", city: "Longmont", id: "ChIJG7efq8_5a4cRA2GJqvu9RVo", … urlstring- Permalink, when the platform has one (TikTok Shop reviews have none).
- In the example
"https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQU…" ratinginteger- Star rating, 1 to 5; null when the review gives none.
- In the example
5 titlestring- The review's headline; null when it has none.
- In the example
null textstring- Review body as plain text, as its author wrote it (never a machine translation); null for a rating without text.
- In the example
"Absolutely loved this place! Everything from the food to the service an…"
Live data from 39 platforms.
What teams build with the Google Maps Contributor Reviews API.
Check a reviewer before trusting a review
Send the author link of a review from a place and read where else they reviewed and with what stars, to tell a local regular from an account that rates one business.
Follow what a local expert recommends
Read a Local Guide's reviews each week and store place.name, place.address and rating, to build a list of the places they rate highest.
Spot coordinated reviews
Compare the place.id and published_at of several reviewers' latest reviews, to find accounts that review the same businesses within hours.
Good to know before you build.
- Google shows logged-out visitors a contributor's latest ten reviews and ratings and no next page, so a longer list ends at platform_limit.
- Reviews come most recently written or edited first, so an old review edited today comes before one written yesterday.
- A rating without words is a review with rating set and text null.
1 credit per page. Failed requests are free.
Buy credits once and spend them on any endpoint, on any platform.
| Source | Price per successful page | Per 1,000 pages |
|---|---|---|
Rendered page browser | 1 credit | $0.75–$1.97 |
- Cache hits are free.
- Credits from packs and top-ups never expire.
- A monthly plan's credits are spent first, and what is left of them ends at each renewal.
- Prices exclude tax: sales tax is added at checkout where it applies.
- Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.
Questions about the Google Maps Contributor Reviews API.
More in the API reference.
Can I get every review a contributor has written?
Does each review say which place it is about?
What if the contributor hides their reviews?
How much does the Google Maps Contributor Reviews API cost?
How do I get the next page?
Try it on a link you already have.
Paste it in the playground, or copy the request into your code.
- No credit card
- Failed requests are free
- Works on all 319 endpoints