---
title: "Google Business Profile API"
description: "Use Ayrshare's Google Business Profile API to publish events and offers, schedule them, and get analytics for your users, without waiting on Google's approval."
canonical: https://www.ayrshare.com/google-business-profile-api/
lastModified: 2026-11-05
pageType: landing
---

# Google Business Profile API

> Use Ayrshare's Google Business Profile API to publish events and offers, schedule them, and get analytics for your users, without waiting on Google's approval.

## Google Business Profile API for Posting, Reviews, and Analytics

Ayrshare's Google Business Profile API lets developers publish What's New updates, events, offers, photos, and videos to verified Google Business Profile locations via a single REST endpoint. It supports scheduling, call-to-action buttons, review replies, profile analytics, and history across 14+ social networks through one integration.

Your users link a claimed, verified Google Business Profile location through an OAuth flow inside your product, on Ayrshare's approved Google project. You don't need to apply for Business Profile API access or wait for a quota.

[Read the Google Business Profile Docs](/docs/apis/post/social-networks/google)
[Get Your API Key](/pricing/)

- **>99.99%** — API uptime
- **30M+** — API calls per day
- **14+** — Social media networks
- **AI-Native** — Native MCP server for any AI agent

## What Do You Need to Use the Google Business Profile API?

You need one API key and a user who links a claimed, verified Business Profile location with Google sign-in. Ayrshare runs an approved Google project, so there is no access request, no Cloud project to set up, and no quota wait before your first post.

After that, Ayrshare keeps the integration running: token refresh, image conversion, verification checks, routing each post type, and Google's changes across its Business Profile APIs.

- **Access**: Your users sign in with the Google account that manages their profile and pick a location. Ayrshare's project is already approved, so they can post the same day and revoke access any time.
- **Ongoing maintenance**: Google has split Business Profile into several APIs and moves endpoints between them. Ayrshare tracks those changes and refreshes tokens, so your integration keeps working without a sprint.
- **Account types**: Claimed, verified, public Business Profile locations, linked by an owner or manager of the profile. Each Ayrshare user profile links one location.
- **Media handling**: Send WebP, HEIC, HEIF, or AVIF images and Ayrshare converts them to JPEG for Google. Ayrshare also checks that a location is verified before it publishes, so posts don't fail later.

## Post and Schedule to Google Business Profile in Your Language

Each sample publishes a What's New post with a Learn More button now, then schedules an event for later. Same endpoint, same JSON, in Node.js, Python, PHP, Java, Go, Ruby, C#, or plain cURL. Add a Profile-Key header to post for one of your users' locations.

[Full Post API Reference](/docs/apis/post/overview)

- **cURL**
- **Node.js**
- **Python**
- **PHP**
- **Java**
- **Go**
- **Ruby**
- **C#**

## Google Business Profile API Limits: Post Types, Media, and Characters

Google's rules in one place. The full list lives in the [Google Business Profile media guidelines](/docs/media-guidelines/google_business_profile) and the [Google Business Profile publishing options](/docs/apis/post/social-networks/google).

- **4 post types (Post types)**: What's New updates, events, offers, and photo or video uploads to the Photos section, all from the same endpoint.
- **1 location per profile (Accounts)**: Business Profile locations that are claimed, verified, and public, linked by a Google account that's an admin of the profile. Each Ayrshare user profile links one location.
- **5 MB per image (Images)**: JPG or PNG from 10 KB to 5 MB, one per post. 720 x 720 px is recommended and 250 x 250 px is the minimum. Landscape works best.
- **30 sec max length (Video)**: One video per post, 1 to 30 seconds, up to 26 MB, at 720p or higher. Video goes to the Photos section, while What's New posts, events, and offers take images.
- **1,500 post characters (Characters)**: Up to 1,500 characters of post text. Event titles and coupon codes are capped at 58 characters, and Google rejects posts that contain phone numbers.
- **6 button types (Call-to-action buttons)**: Add a book, order, shop, learn_more, sign_up, or call button to a What's New post or an event. Offers get a View offer button automatically.
- **12 categories (Photo categories)**: Tag an upload as cover, profile, logo, exterior, interior, product, at_work, food_and_drink, menu, common_area, rooms, or teams so it lands in the right Photos tab.
- **300 API calls per 5 min (Scheduling and limits)**: Pass a scheduleDate to publish any post type later. Ayrshare allows 300 API calls per 5 minutes per profile.

## What Else Can You Do With the Google Business Profile API?

- **Read reviews and reply to them**: Read every review on the linked location, with the rating from ONE to FIVE, the reviewer, and any existing reply, then post a reply with the reviewId. This works on reviews left before your integration existed too.
- **Add a button to a What's New post**: A standard post lands in the What's New section with an optional image and button. actionType takes book, order, shop, learn_more, sign_up, or call, and every type except call needs a url, since call uses the phone number on the profile.
- **Publish an event with dates**: Events need a title of up to 58 characters and start and end dates. The post text becomes the event details, an image is optional, and a call-to-action button can ride along.
- **Publish an offer with a coupon code**: Offers need a title, start and end dates, and a coupon code of up to 58 characters, with a redemption URL and terms. Google adds a View offer button on its own.
- **Upload to the Photos tab**: Set isPhotoVideo to send one image or one 30-second video to the location's Photos tab, and add an optional category. The endpoint needs post text, but Google doesn't show it, and video can take extra time to process.

## Why Use Ayrshare Instead of the Google Business Profile API Directly?

Ayrshare runs the approved Google project, so your product sends one request with a gmbOptions object and gets back the Google local post ID and URL. Ayrshare handles Google sign-in and token refresh, converts WebP, HEIC, HEIF, and AVIF images to JPEG, routes each post to What's New, Events, Offers, or Photos, and checks that a location is verified before publishing.

When Google moves an endpoint between its Business Profile APIs, the fix ships on our side, not in your sprint.

If a location isn't verified yet, read [Google Business API Error 403: Location Not Verified & How to Fix It](/solutions/google-business-api-error-403-location-not-verified-how-to-fix-it/).

[See the Google Business Profile Publishing Options](/docs/apis/post/social-networks/google)

- **One simple endpoint**: Just send a single POST request with your text, one image or video, a gmbOptions object for the button, event, or offer, and the user's Profile-Key. We keep the integration lean so your team can launch faster.
- **We run the approved Google project**: Google sign-in, token refresh, image conversion, verification checks, and routing to What's New, Events, Offers, or Photos. None of it reaches your code.
- **Reviews and analytics on every location**: Get the Google local post ID and URL right away. The same connection reads reviews, posts replies, and returns impressions, direction requests, website clicks, and call clicks, in the same JSON format as every other network.

## Beyond Posting: The Rest of the Google Business Profile Lifecycle

A Business Profile is a local listing, not a feed, so reviews and profile analytics matter more than comments. Here is what runs on the same connection.

See every network you can reach with the same integration on the [supported networks page](/supported-networks/).

- **Reviews**: Read every review on the location with rating, reviewer, and reply status, and reply to any of them, including reviews left before you integrated.
  - [Reviews API docs](/docs/apis/reviews/overview)
- **Analytics**: Profile impressions on Google Search and Maps split by desktop and mobile, direction requests, website clicks, call clicks, bookings, and conversations, as totals or a daily time series.
  - [Analytics API](/social-media-analytics-api/)
- **Location details**: Read the place ID, Maps URL, and review link for the linked location, and update its phone number, website, and map location.
  - [Update user docs](/docs/apis/user/update-user)
- **History**: List and filter the posts published to the location through Ayrshare, with their IDs and URLs.
  - [History API](/history-api/)
- **Pre-publish checks**: Check text against the 1,500-character limit before you send it, with weighted counts for emoji and accented characters.
  - [Post length docs](/docs/apis/validate/check-post-length)

## FAQs About the Google Business Profile API

### Can I post to Google Business Profile through an API?

Yes, you can post to Google Business Profile through an API. Ayrshare's Google Business Profile API lets developers publish What's New updates, events, offers, photos, and videos to verified Google Business Profile locations via a single REST endpoint. It supports scheduling, call-to-action buttons, review replies, profile analytics, and history across 14+ social networks through one integration. Start with the [Google Business Profile publishing options](/docs/apis/post/social-networks/google).
### Is the Google Business Profile API free?

Yes, the Google Business Profile API is free: Google says it's available to registered users at no charge. The catch is getting registered, since every Business Profile API starts at a quota of 0 until Google approves your access request. Ayrshare's plans include Business Profile posting, reviews, and analytics on Ayrshare's approved project, so you skip the wait. [Compare Ayrshare plans](/pricing/).
### How do I get access to the Google Business Profile API?

To get access to the Google Business Profile API, create a Google Cloud project, then submit the GBP API contact form for Basic API Access with your project number. You need a verified profile that's been active for 60 days or more and lists a website. Approval shows as a 300 QPM quota. With Ayrshare, the [Post API reference](/docs/apis/post/overview) shows the one request you need instead.
### Can I publish events and offers to Google Business Profile with an API?

Yes, you can publish events and offers to Google Business Profile with an API. Send an event object in gmbOptions with a title and start and end dates, or an offer object with a title, dates, coupon code, redemption URL, and terms. Both take one image, and both can be scheduled. See the [Google Business Profile docs](/docs/apis/post/social-networks/google) for every field.
### How can an app manage GBP reviews?

An app can manage GBP reviews through the reviews endpoint: GET /reviews with platform set to gmb returns every review on the location with its rating, reviewer, and any reply, and POST /reviews with a reviewId posts your reply. It covers reviews left before you integrated, on the same connection you post with. See the [Reviews API docs](/docs/apis/reviews/overview).
### Why does the Google Business Profile API return a 403 error?

The Google Business Profile API returns a 403 error most often because the location isn't verified, so Google blocks posts to it. The owner has to finish verification in Google Business Profile, and the listing must be public. Ayrshare checks verification before publishing so the post doesn't fail later. Read [Google Business API Error 403](/solutions/google-business-api-error-403-location-not-verified-how-to-fix-it/) for the fix.

## Your Users Are on Google Business Profile. Your Product Can Be Too.

Get an API key, publish your first What's New post to a location, and turn on reviews, analytics, and the other networks with the same connection when you need them.

[Get Your API Key](/pricing/)
[Read the Google Business Profile Docs](/docs/apis/post/social-networks/google)
