Google Maps API. Scrape live data from any public Google Maps link.
Get public places and reviews by link, with places in the same fields as on Facebook Marketplace and Instagram. We handle the proxies, blocks and platform changes.
GET socialtap.dev/v1/googlemaps/place
Live data from 39 platforms.
What Google Maps data can you get?
Places from Google Maps: a business, landmark or area by its Maps link, place ID or CID, with its address, coordinates, phone, website, categories, rating and star counts, opening hours, photos and whether it is claimed or closed, and its reviews with their exact dates, stars, photos and the owner's replies.
Call the Google Maps API from your code.
Copy the request for your language, or hand it to your agent.
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
url: "https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429",
});
const res = await fetch(`https://socialtap.dev/v1/googlemaps/place?${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, 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.place.get(url="https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429")
print(res.data)
print(res.credits.charged, res.meta.request_id)require "json"
require "net/http"
uri = URI("https://socialtap.dev/v1/googlemaps/place")
uri.query = URI.encode_www_form('url' => 'https://www.google.com/maps/place/Katz\'s+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429')
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([
'url' => 'https://www.google.com/maps/place/Katz\'s+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429',
]);
$ch = curl_init('https://socialtap.dev/v1/googlemaps/place?' . $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.Place.Get(ctx, socialtap.GoogleMapsPlaceParams{URL: "https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429"})
if err != nil {
log.Fatal(err)
}
fmt.Println(res.Data)
fmt.Println(res.Credits.Charged, res.Meta.RequestID)
}curl -G 'https://socialtap.dev/v1/googlemaps/place' \
--data-urlencode 'url=https://www.google.com/maps/place/Katz'\''s+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429' \
-H "x-api-key: $SOCIALTAP_API_KEY"GET https://socialtap.dev/v1/googlemaps/placeDocs // Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
sort: "relevance",
url: "https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429",
});
const res = await fetch(`https://socialtap.dev/v1/googlemaps/place_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.place_reviews.list(url="https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429", sort="relevance")
print(res.data)
print(res.credits.charged, res.meta.request_id)require "json"
require "net/http"
uri = URI("https://socialtap.dev/v1/googlemaps/place_reviews")
uri.query = URI.encode_www_form('sort' => 'relevance', 'url' => 'https://www.google.com/maps/place/Katz\'s+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429')
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([
'sort' => 'relevance',
'url' => 'https://www.google.com/maps/place/Katz\'s+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429',
]);
$ch = curl_init('https://socialtap.dev/v1/googlemaps/place_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.PlaceReviews.List(ctx, socialtap.GoogleMapsPlaceReviewsParams{URL: "https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429", Sort: socialtap.Ptr(socialtap.GoogleMapsPlaceReviewsSortRelevance)})
if err != nil {
log.Fatal(err)
}
fmt.Println(res.Data)
fmt.Println(res.Credits.Charged, res.Meta.RequestID)
}curl -G 'https://socialtap.dev/v1/googlemaps/place_reviews' \
--data-urlencode 'sort=relevance' \
--data-urlencode 'url=https://www.google.com/maps/place/Katz'\''s+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429' \
-H "x-api-key: $SOCIALTAP_API_KEY"GET https://socialtap.dev/v1/googlemaps/place_reviewsDocs Other platforms, same key.
Posts and profiles come back in the same fields wherever they're from.
- 32 endpoints
TikTok
Posts, profiles, comments, hashtags and 8 more
- 29 endpoints
Instagram
Posts, profiles, comments, hashtags and 9 more
- 14 endpoints
Facebook
Posts, comments, profiles, transcripts and 2 more
- 21 endpoints
YouTube
Posts, playlists, profiles, comments and 3 more
- 13 endpoints
Reddit
Posts, comments, profiles, subreddits and 2 more
- 6 endpoints
Threads
Posts, profiles and comments
- 20 endpoints
GitHub
Profiles, repositories, issues, comments and 4 more
- 19 endpoints
LinkedIn
Posts, profiles, jobs, comments and 3 more
- 17 endpoints
X
Posts, profiles, comments, transcripts and 5 more
- 12 endpoints
Spotify
Tracks, artists, playlists, albums and 1 more
- 11 endpoints
Hacker News
Stories, comments, users and jobs
- 10 endpoints
Amazon
Products, profiles, posts, playlists and 2 more
- 10 endpoints
Apple Music
Tracks, albums, artists and playlists
- 10 endpoints
Fandom
Posts, wiki pages, comments, wikis and 1 more
- 10 endpoints
Pinterest
Pins, boards, profiles, topics and 2 more
- 8 endpoints
Cosmos
Posts, collections and profiles
- 7 endpoints
Rumble
Posts, profiles, comments, transcripts and 1 more
- 5 endpoints
Bluesky
Posts, profiles and comments
- 5 endpoints
Twitch
Videos, profiles, transcripts and livestreams
- 4 endpoints
Telegram
Posts and channels
- 4 endpoints
TikTok Shop
Products and reviews
- 3 endpoints
Kwai
Posts and profiles
- 3 endpoints
Snapchat
Spotlights, profiles and comments
- 3 endpoints
SoundCloud
Tracks and artists
- 3 endpoints
Truth Social
Posts and profiles
- 2 endpoints
Kick
Posts and transcripts
- 1 endpoint
Komi
Pages
- 1 endpoint
Lnk.Bio
Profiles
- 1 endpoint
Linkme
Profiles
- 1 endpoint
Linktree
Profiles
- 1 endpoint
Pillar
Pages
- 1 endpoint
Yelp
Web results
- 3 endpoints
TikTok Ad Library
Ads
- 6 endpoints
Facebook Ad Library
Ads, advertisers and transcripts
- 4 endpoints
Facebook Events
Events
- 3 endpoints
Facebook Marketplace
Listings and places
- 6 endpoints
Google Ads Transparency Center
Ads and advertisers
- 2 endpoints
LinkedIn Ad Library
Ads
Can I look up a place by its place ID or CID?
Can I get every review of a place?
What do I send?
Is the data live?
What does null mean in a response?
Are the fields the same on every platform?
What happens when a platform changes its pages?
Do you read private or logged-in content?
Can my AI agent use it?
Try it on a Google Maps link you have.
Get a key and send your first request in a minute. The same key works on every platform.
- No credit card
- Failed requests are free
- Works on all 313 endpoints