Skip to content

Get location details

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

GET /v1/accounts/{accountId}/gmb-location-details

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

Parameters

  • accountId (path, string) required — The Zernio account ID (from /v1/accounts)

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

  • readMask (query, string) — 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 includ...

Responses

200 — Location details fetched successfully

  • success (boolean)
  • accountId (string)
  • locationId (string)
  • location (object) — Compact public-facing summary derived from Google's metadata. Useful for surfacing the "leave a review" URL (e.g. behind a QR code) without parsing the raw block. Always populated regardless of read...
  • title (string) — Business name
  • regularHours (object)
  • specialHours (object)
  • profile (object)
  • websiteUri (string)
  • phoneNumbers (object)
  • categories (object) — Business categories (returned when readMask includes 'categories')
  • serviceItems (array) — Services offered (returned when readMask includes 'serviceItems')

400 — Invalid request. Most commonly raised when the readMask query includes a value that is not a valid Google Business Information field (e.g. location, which is a response-only derived field).

  • error (string)
  • details (object)

401 — Unauthorized or token expired

  • error (string)
  • details (object)

404