google business profile
Get attributes
Returns GBP location attributes (amenities, services, accessibility, payment types). Available attributes vary by business category.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
Query Parameters
locationId?string
Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
Response Body
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.gmbattributes.getGoogleBusinessAttributes({ path: { accountId: 'account_abc123', },});console.log(data);{
"success": true,
"attributes": [
{
"name": "has_delivery",
"valueType": "BOOL",
"values": [
true
]
},
{
"name": "has_takeout",
"valueType": "BOOL",
"values": [
true
]
},
{
"name": "has_outdoor_seating",
"valueType": "BOOL",
"values": [
true
]
},
{
"name": "pay_credit_card_types_accepted",
"valueType": "REPEATED_ENUM",
"repeatedEnumValue": {
"setValues": [
"visa",
"mastercard",
"amex"
]
}
}
]
}{
"error": "string",
"details": {}
}{
"error": "string",
"details": {}
}