GET /google-maps/business_details

Business Details

Retrieve comprehensive details for a specific business on Google Maps.

Google Maps Scraper API

Retrieve comprehensive details for a specific business using its unique business ID. Returns all available information including name, address, contact details, hours, ratings, categories, and more. The business ID can be obtained from any search endpoint.

HTTP Request

1
GET /google-maps/business_details

Parameters

ParameterTypeRequiredDefaultDescription
business_idstringYesUnique business identifier in hex format (0x...:0x...) or place ID
languagestringNo"en"Language code for the response
countrystringNo"us"Country code for regional context

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "status": "OK",
  "data": {
    "business_id": "0x89c259a9aeb1c6b5:0x35b1cfbc380cb867",
    "name": "Joe's Coffee",
    "address": "514 Columbus Ave, New York, NY 10024",
    "phone": "+1 212-555-0100",
    "website": "https://joescoffee.com",
    "rating": 4.5,
    "reviews_count": 342,
    "category": "Coffee shop",
    "categories": ["Coffee shop", "Cafe", "Breakfast restaurant"],
    "latitude": 40.7851,
    "longitude": -73.9754,
    "hours": {
      "Monday": "7:00 AM - 7:00 PM",
      "Tuesday": "7:00 AM - 7:00 PM",
      "Wednesday": "7:00 AM - 7:00 PM",
      "Thursday": "7:00 AM - 7:00 PM",
      "Friday": "7:00 AM - 7:00 PM",
      "Saturday": "8:00 AM - 6:00 PM",
      "Sunday": "8:00 AM - 6:00 PM"
    },
    "price_level": "$$",
    "description": "Cozy neighborhood coffee shop serving specialty drinks and pastries since 2003.",
    "google_maps_url": "https://maps.google.com/?cid=3876543210987654321",
    "photos_count": 128,
    "amenities": {
      "dine_in": true,
      "takeout": true,
      "delivery": false,
      "wheelchair_accessible": true
    }
  }
}

Response Fields

FieldTypeDescription
statusstringRequest status
dataobjectFull business details
data.business_idstringUnique business identifier
data.namestringBusiness name
data.addressstringFull address
data.phonestringPhone number
data.websitestringBusiness website URL
data.ratingnumberAverage rating (1-5)
data.reviews_countintegerTotal number of reviews
data.categorystringPrimary business category
data.categoriesarrayAll business categories
data.latitudenumberBusiness latitude
data.longitudenumberBusiness longitude
data.hoursobjectOperating hours by day
data.price_levelstringPrice level indicator
data.descriptionstringBusiness description
data.google_maps_urlstringDirect Google Maps URL
data.photos_countintegerNumber of available photos
data.amenitiesobjectAvailable amenities and features

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import requests

url = "https://google-maps-extractor2.p.rapidapi.com/google-maps/business_details"

querystring = {
    "business_id": "0x89c259a9aeb1c6b5:0x35b1cfbc380cb867",
    "language": "en",
    "country": "us"
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "google-maps-extractor2.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=querystring)
data = response.json()

biz = data["data"]
print(f"{biz['name']}")
print(f"Rating: {biz['rating']} ({biz['reviews_count']} reviews)")
print(f"Address: {biz['address']}")
print(f"Phone: {biz['phone']}")
print(f"Website: {biz['website']}")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const url = "https://google-maps-extractor2.p.rapidapi.com/google-maps/business_details";

const params = new URLSearchParams({
  business_id: "0x89c259a9aeb1c6b5:0x35b1cfbc380cb867",
  language: "en",
  country: "us",
});

const response = await fetch(`${url}?${params}`, {
  method: "GET",
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "google-maps-extractor2.p.rapidapi.com",
  },
});

const data = await response.json();
const biz = data.data;

console.log(biz.name);
console.log(`Rating: ${biz.rating} (${biz.reviews_count} reviews)`);
console.log(`Address: ${biz.address}`);
console.log(`Phone: ${biz.phone}`);
console.log(`Website: ${biz.website}`);
1
2
3
4
5
6
curl -G "https://google-maps-extractor2.p.rapidapi.com/google-maps/business_details" \
  --data-urlencode "business_id=0x89c259a9aeb1c6b5:0x35b1cfbc380cb867" \
  --data-urlencode "language=en" \
  --data-urlencode "country=us" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: google-maps-extractor2.p.rapidapi.com"
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI