Get location details
Returns detailed GBP location info (hours, description, phone, website, categories, services). Use readMask to request specific fields.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The Zernio account ID (from /v1/accounts)
Query Parameters
Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, serviceItems, profile, openInfo, metadata, moreHours.
title and metadata are always included in the response so the location summary block can be populated, even if you omit them here.
Note: location is a derived response field, not a Google readMask value, passing it returns 400.
Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.gmblocationdetails.getGoogleBusinessLocationDetails({ path: { accountId: 'account_abc123', },});console.log(data);{
"success": true,
"accountId": "64e1f0a9e2b5af0012ab34cd",
"locationId": "9281089117903930794",
"location": {
"name": "Joe's Pizza",
"placeId": "ChIJExampleJoesPizzaPlaceId",
"reviewUrl": "https://search.google.com/local/writereview?placeid=ChIJExampleJoesPizzaPlaceId",
"mapsUri": "https://maps.google.com/maps?cid=1234567890123456789",
"isVerified": true
},
"title": "Joe's Pizza",
"regularHours": {
"periods": [
{
"openDay": "MONDAY",
"openTime": "11:00",
"closeDay": "MONDAY",
"closeTime": "22:00"
},
{
"openDay": "TUESDAY",
"openTime": "11:00",
"closeDay": "TUESDAY",
"closeTime": "22:00"
}
]
},
"specialHours": {
"specialHourPeriods": [
{
"startDate": {
"year": 2026,
"month": 12,
"day": 25
},
"closed": true
}
]
},
"profile": {
"description": "Authentic New York style pizza since 1985"
},
"websiteUri": "https://joespizza.com",
"categories": {
"primaryCategory": {
"name": "categories/gcid:pizza_restaurant",
"displayName": "Pizza restaurant"
},
"additionalCategories": [
{
"name": "categories/gcid:italian_restaurant",
"displayName": "Italian restaurant"
}
]
}
}{
"error": "Request contains an invalid argument.",
"code": "gbp_bad_request"
}{
"error": "string",
"details": {}
}{
"error": "Not found"
}Update food menus PUT
Updates food menus for a GBP location. Send the full menus array. Use updateMask for partial updates.
Update location details PUT
Updates GBP location details. The updateMask field is required and specifies which fields to update. This endpoint proxies Google's Business Information API locations.patch, so any valid updateMask field is supported. Common fields: regularHours, specialHours, profile.description, websiteUri, phoneNumbers, categories, serviceItems.