SerpBase
Back to Blog

Google Maps Place Details API: Hours, Phone and Website as JSON

Look up one Google Maps place by feature ID or place ID: address, phone, website, opening hours, open-now status, rating, coordinates and photos. Tested request.

November 27, 2026
By SerpBase Team3 min read

Short answer: send a place's feature_id (or its Google place_id as id) to /google/maps/detail and you get that one business as JSON — name, address parts, phone, website, opening hours for every day, open-now status, rating, coordinates, categories and photos.

Use it when you already know which place you want: refreshing hours for the locations you track, enriching a CRM row that stores a place ID, checking that a client's listing shows the right phone number.

The request

curl -X POST 'https://api.serpbase.dev/google/maps/detail' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"feature_id":"0x54906ab2f0c61d05:0x771b2a7dce963d58","gl":"us","hl":"en"}'

The feature_id comes from a Maps search result. We got this one by searching coffee shops in Seattle on /google/maps/search, which returned 20 places, each with a feature_id and a place_id.

What comes back

We ran this on 27 November 2026. The place was Storyville Coffee Pike Place:

"place": {
  "name": "Storyville Coffee Pike Place",
  "rating": 4.6,
  "address": "Storyville Coffee Pike Place, 94 Pike St Top floor Suite 34, Seattle, WA 98101",
  "address_components": {"street": "94 Pike St Top floor Suite 34", "city": "Seattle", "postal_code": "98101", "country_code": "US"},
  "phone": "(206) 780-5777",
  "phone_international": "+12067805777",
  "website": "https://storyville.com/pages/pike-place-market",
  "hours": {"Monday": "6:59 AM–5 PM", "Thursday": "Closed", "Friday": "6:59 AM–6 PM"},
  "open_status": {"status": "Closed", "text": "Closed · Opens 6:59 AM Fri"},
  "latitude": 47.6089633,
  "longitude": -122.3404978,
  "timezone": "America/Los_Angeles",
  "types": ["Coffee shop", "Bakery", "Cafe", "Coffee roastery", "Coffee store", "Espresso bar"],
  "place_id": "ChIJBR3G8LJqkFQRWD2Wzn0qG3c"
}

(shortened: hours had all seven days.) The same answer also had short_description, description, plus_code, cid, google_maps_url, 10 photos with their sizes, three accessibility attributes and one related_places entry (Pike Place Market).

By place ID. {"id":"ChIJ8boKXI8VkFQRb9MzyCoZY_4"} returned Mintish Coffee House with rating 5, phone and website, and the matching feature_id in the answer. So a stored Google place ID works as the key.

Python: refresh hours and phone for the places you track

import time, requests

PLACES = [
    "0x54906ab2f0c61d05:0x771b2a7dce963d58",
    "0x54906b88c68b6ae9:0x675e801f4206257f",
]

for fid in PLACES:
    r = requests.post(
        "https://api.serpbase.dev/google/maps/detail",
        headers={"X-API-Key": "YOUR_API_KEY"},
        json={"feature_id": fid, "gl": "us", "hl": "en"},
        timeout=60,
    ).json()
    if r["status"] != 0:
        print(fid, "failed:", r.get("error"))
        continue
    p = r["place"]
    print(p["name"], "|", p.get("rating"), "|", p.get("phone"), "|", p.get("website"))
    print("  now:", p.get("open_status", {}).get("text"))
    for day, hours in p.get("hours", {}).items():
        print("  ", day, hours)
    time.sleep(1)

Things that trip people up

  • The search result may already have what you need. In our test each place in the Maps search answer carried hours, phone, website and coordinates too. Call detail for a place you hold only an ID for, or to refresh one place without re-running the search.
  • hours reflects the current week. Thursday came back Closed because 26 November was Thanksgiving in Seattle. Do not store one reading as the regular schedule.
  • open_status is a snapshot at the moment of the request, in the place's own timezone.
  • Fields are left out when Google has nothing. The second place returned no accessibility attributes and one category. Use .get().
  • Reviews are not in this answer. rating is; the review texts come from the reviews endpoint.
  • A wrong ID fails and is not charged. A made-up feature_id returned a non-zero status and credits_charged: 0.

Related endpoints

Google Maps search finds places for a keyword and gives you the IDs. Google Maps reviews returns the review texts for a place.

Cost and limits

Each detail request costs 2 credits; failed requests are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.