The Google Maps place details API for one business at a time
Send one identifier and get a full business record. Contact details and hours arrive in one response. Pass a place_id and read the record below.
Google Maps Place API at a glance
This API returns one Google Maps place as JSON. Send a POST request with one identifier. Read the place object in the response. Run the example below to see the exact shape.
- Endpoint
POST /v1/data/google/maps/place- Authentication
- API key as
Authorization: Bearer wh_… - Stage
- Stable
- Output
- One place object with IDs, address, coordinates, phone, website, rating, star breakdown, hours and categories
- Lookup keys
- Send one of data_id, place_id or cid
- Localisation
- Set language for result text and country for the Google market
- Results per request
- One place per call
- Credit weight
- 1. See the pricing page for current rates.
One request, structured JSON.
This request fetches one coffee shop by its place_id. The response below is trimmed to the main fields. Copy the request to try it yourself.
curl -X POST "https://api.datablue.dev/v1/data/google/maps/place" \
-H "Authorization: Bearer wh_..." \
-H "Content-Type: application/json" \
-d '{
"place_id": "ChIJfbedxbZZwokRpbnR5BBdz1c",
"language": "en"
}'{
"success": true,
"time_taken": 0.745,
"place": {
"title": "787 coffee",
"place_id": "ChIJfbedxbZZwokRpbnR5BBdz1c",
"cid": "0x89c259b6c59db77d:0x57cf5d10e4d1b9a5",
"data_cid": "6327378328618645925",
"address": "245 W 46th St, New York, NY 10036, United States",
"gps_coordinates": { "latitude": 40.7597441, "longitude": -73.9875048 },
"website": "https://www.787coffee.com/",
"phone": "+1 646-596-7178",
"rating": 4.9,
"review_count": 3791,
"rating_summary": [
{ "stars": 1, "amount": 48 },
{ "stars": 2, "amount": 33 },
{ "stars": 3, "amount": 32 },
{ "stars": 4, "amount": 87 },
{ "stars": 5, "amount": 3591 }
],
"open_state": "Closed · Opens 7 AM",
"open_now": false,
"type": "Coffee shop",
"type_id": "coffee_shop",
"photo_count": 2197,
"operating_hours": {
"Saturday": "7 AM–4 PM",
"Sunday": "8 AM–4 PM",
"Monday": "7 AM–4 PM"
},
"attributes": ["Wheelchair-accessible entrance"],
"accessibility": { "wheelchair_accessible_entrance": true }
}
}What a place record returns.
The record arrives as one object with named fields.
Identifiers
The record carries a place_id and a cid. A data_id and a decimal data_cid come with them, so store whichever key your own systems use to match records later.
Address and coordinates
You get a street address and GPS coordinates. Plot the coordinates onto a map with no geocoding step.
Contact details
Phone and website come back when Google lists them. Treat each of them as optional in your own code.
Rating breakdown
The rating_summary array counts reviews at each star level. The sample shows 3591 five star reviews out of 3791 in total, so compare the counts to spot polarised ratings.
Opening hours
Hours arrive as a weekly map and as a list of day and hours pairs. The open_state string says whether the place is open right now, so show that string next to your own listings.
Category
The type field holds a label such as Coffee shop. A matching type_id gives you a stable key, so group your records by type_id whenever you count categories.
Photos and links
The photo_count field gives the size of the photo set. It also lists a thumbnail URL and a Maps link. Use Google Maps Photos to list the images themselves.
Accessibility and attributes
Attributes such as a wheelchair accessible entrance come back as a list and as a flat accessibility object. Filter your records on those flags before any site visit.
Options that shape your lookup.
Only one identifier is required to start a lookup. Add the others when you want to tune the output.
Identifier
Send exactly one of data_id, place_id or cid. A place_id looks like ChIJ9fZczEkVrjsR_E8O1PogkTs while a data_id has two hex halves joined by a colon.
Where identifiers come from
Maps search results carry a place_id and a cid. Run a search, then pass its place_id into this endpoint.
Language
Set language to choose the language of result text. The default is en, so leave it out for English. Pick the language that your users read.
Country
Set country to a two letter code to select the Google market for the lookup. Leave it out when you have no market preference.
One place per request
This endpoint has no result count or paging controls. Loop over your identifiers and send one call each.
What teams build with it.
Detail records suit enrichment jobs and monitoring more than discovery.
Enriching a lead list
Start from a place_id you already hold. Add the website and phone to each lead.
Listing quality checks
Compare the phone and website against your own records. Flag every mismatch for review each month.
Reputation snapshots
Store the rating and the star breakdown on a schedule. Track how the share of one star reviews moves.
Store locator content
Pull hours and coordinates for each location. Refresh the records so your locator shows current details.
Why call an API instead of scraping place pages yourself.
A Maps place page is built for visitors, not scripts. Its markup shifts over time and breaks hand built parsers, so a parser written today needs repairs later on.
DataBlue fetches the page and returns one flat object. The star breakdown and the hours map arrive already parsed, so your code reads named fields with no HTML parsing at all.
Search and detail work best as a pair, because Google Maps search finds places and returns their IDs. This API then fills in the record for each one. Run a search, then feed one ID into this endpoint.
Your first place lookup in a minute.
Sign up, grab a key and run one request.
Create an account
Sign up to get your API key.
Find an identifier
Run a Maps search and copy any place_id. Use a data_id or a cid if you hold one.
Send the lookup
Send a POST request to /v1/data/google/maps/place with your key. Then read the place object in the response.
Google Maps place details API questions.
Short answers about identifiers and billing before you start.
It returns one Google Maps place as a JSON record. You send an identifier and read back the business record.
Still have a question?Ask us anything
Send one identifier, either a data_id or a place_id. All three point at the same business. Use whichever one your own systems already store.
Search returns many places with summary fields for each. This API returns one place with the longer record, including the star breakdown and weekly hours.
It returns the rating and a count per star level. Use Google Maps Reviews for the review text itself.
It returns a photo count and one thumbnail URL. Use Google Maps Photos to page through the full set.
It looks up one business by identifier and returns JSON. Compare the sample response with the fields your project needs.
Phone and website appear only when Google lists them. Treat a missing value as a normal case.
This API is marked stable in the catalogue today. Build against the documented fields and read the changelog before you upgrade your integration in production.
This API has a credit weight of 1. Check the pricing page for current rates.
Look up one Google Maps place in a minute.
Create an account to get your key. Then paste the example request into your terminal.
Start free
