OverviewProductsPlatformsAPI ReferenceResources
Google Business Profile

Get location details

GEThttps://zernio.com/api/v1/accounts/{accountId}/gmb-location-details

Returns detailed Google Business Profile location info (hours, description, phone, website, categories, services). Use readMask to request specific fields.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired

The Zernio account ID (from /v1/accounts)

Query parameters

Optional
locationIdstring

Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.

readMaskstring

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.

location is a derived response field, not a Google readMask value: passing it returns 400.

Responses

Success· the request worked

Errors· the request failed

GET/v1/accounts/{accountId}/gmb-location-details
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"      }    ]  }}
OpenAPI specification
Was this page helpful?