List Google Business Profile categories
Changed onLists the business categories Google accepts for a region, localized to languageCode. Use the returned name (e.g. categories/gcid:afghani_restaurant) as the primary category when creating or updating a location.
Not location-scoped: works for a Google Business Profile account that has no location yet.
query matches only the START of the display name in languageCode (Restaurante returns Restaurante afgano, but afgano returns nothing). Results are paginated with nextPageToken, 100 per page.
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Zernio account ID (from /v1/accounts)
Query parameters
CLDR region code the categories are relevant for (e.g. "US", "ES").
BCP-47 language code the category names are returned in (e.g. "en", "es").
Prefix of the localized category display name.
Pagination token from a previous response's nextPageToken field.
Response
Categories fetched successfully
Changes
- info
endpoint added
- info