Skip to content

google-business-profile-api

Use when working with Google Business Profile API - managing business listings, reviews, posts, photos, local business data, or performance metrics. Also use when working with GBP federated APIs for reviews, Q&A, or business information.

ModelSource
sonnetpack: google-apis
Full Reference

┏━ πŸ”§ google-business-profile-api ━━━━━━━━━━━━━━━┓ ┃ Use when working with Google Business Profile … ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Google Business Profile API uses a federated model β€” 8 separate specialized APIs replaced the original monolithic mybusinessbusinessinformation API. Reviews, Posts, and Media remain on the legacy v4.9 endpoint.

APIPurposeBase URL
My Business Business Information v1Locations, attributes, categoriesmybusinessbusinessinformation.googleapis.com/v1/
My Business Account Management v1.1Accounts, adminsmybusinessaccountmanagement.googleapis.com/v1/
Business Profile Performance v1Insights, metrics, search keywordsbusinessprofileperformance.googleapis.com/v1/
My Business Notifications v1.2Pub/Sub review alertsmybusinessnotifications.googleapis.com/v1/
My Business Verifications v1Verify listingsmybusinessverifications.googleapis.com/v1/
My Business Place Actions v1Links (menu, order, book)mybusinessplaceactions.googleapis.com/v1/
My Business Lodging v1.2Hotel-specific datamybusinesslodging.googleapis.com/v1/
Google My Business API v4.9Reviews, Posts, Media (not yet v1)mybusiness.googleapis.com/v4/

Auth: OAuth 2.0 only β€” scope https://www.googleapis.com/auth/business.manage. No service accounts.

API Access: Requires approval via GBP API request form before APIs appear in Cloud Console.

FileWhat’s inside
reference/architecture.mdFederated model overview, all base URLs, endpoint tables for all 8 APIs
reference/auth.mdOAuth 2.0 setup, token exchange, Python + Node.js auth examples
reference/locations.mdBusiness Information API β€” get, list, create, update, filter locations
reference/reviews.mdReviews β€” list, reply, batch get (v4.9 endpoint, not v1)
reference/posts.mdLocal posts β€” standard, event, offer post types
reference/insights.mdPerformance API β€” daily metrics, search keyword impressions
reference/notifications.mdPub/Sub setup, notification types, webhook handlers
reference/accounts.mdAccount Management API β€” accounts, admins
reference/quotas.mdRate limits, quota increase process, best practices
reference/errors.mdHTTP status codes, exponential backoff, validateOnly
reference/deprecations.mdDiscontinued APIs, migration paths from v4 to v1

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.