Attention: There will be major changes to the API soon that will require migration work. Please check our upcoming releases page frequently for updates.
v4.9 of the API has released! See change log.


The Google My Business API client libraries support the functionality of the Google My Business API. They provide functionality that's common to all Google APIs, such as HTTP transport, error handling, authentication, JSON parsing, and support for protocol buffers.

If you are new to the Google My Business API, check out the Get Started guides and code samples. For additional information on the client libraries, see Google API Client Libraries.

API Client library Client library reference Code samples
Account Management API
Discovery doc
Java Reference docs View on GitHub
Python View on GitHub
.NET Reference docs View on GitHub
PHP View on GitHub
Lodging API
Discovery doc
Java Reference docs
.NET Reference docs


The following client libraries for Java and PHP are available for you to download:

Download Java client library (with source)

Download PHP client library

To generate the C# library, please see instructions available at our

Github Repo

To learn how to integrate the Java client library in to your application, see How to work with client libraries.

You can use Gradle to prepare the Java sample application for use in the Eclipse IDE. See Eclipse Plugins to learn more.

Discovery document

The Google My Business API discovery document is a JSON document that describes the surface for a particular version of the API. You use the discovery document in conjunction with the Google API Discovery Service.

Download discovery document

Detailed error responses

To enable more detailed error messages in responses, such as absent required fields, add the following additional header to your requests:


For additional information on error message responses, see the ErrorCode, ErrorDetail, InternalError, and ValidationError pages in the Shared.Types section.