Network API

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.

A scheduled Google Business Profile What's New post for Harbor Street Café on Nov 3 at 15:00, reading 'Extended weekend hours start this Saturday' with a photo and a Learn more button, 82 of 1,500 characters used, beside a 'Publish to Google Business' location card, a five-star review from Priya N. with a reply through POST /reviews, a note that the button is attached through gmbOptions.callToAction, and a 7-day directions chart at 418, up 22%

One integration, 14+ networks, 30M+ API calls a day.

X
Facebook
Instagram
TikTok
Bluesky
YouTube
LinkedIn
Pinterest
Telegram
Reddit
Threads
Snapchat
Google Business
WhatsApp

>99.99%

API uptime

30M+

API calls per day

14+

Social media networks

AI-Native

Native MCP server for any AI agent

>99.99%

API uptime

30M+

API calls per day

14+

Social media networks

AI-Native

Native MCP server for any AI agent

Before you build

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.

Linking a Google Business Profile location on yourapp.com with Google sign-in on Ayrshare's approved project, the Harbor Street Café location picked, claimed, verified and public, and a Continue with Google button, next to the hurdles of going direct: a quota of 0 until approved, no review timeline, several Business Profile APIs, and 10 edits a minute per profile, with a 'Location linked' status and token refresh handled

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.

# 1. Publish now: a What's New post with a call-to-action buttoncurl -X POST https://api.ayrshare.com/api/post \  -H "Authorization: Bearer $AYRSHARE_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "post": "Our new seasonal menu is here. Come by this week to try it.",    "platforms": ["gmb"],    "mediaUrls": ["https://example.com/seasonal-menu.jpg"],    "gmbOptions": {      "callToAction": {        "actionType": "learn_more",        "url": "https://example.com/menu"      }    }  }'
# 2. Schedule for later (ISO 8601, UTC)curl -X POST https://api.ayrshare.com/api/post \  -H "Authorization: Bearer $AYRSHARE_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "post": "Live music on the patio, 7 to 10 pm. No cover charge.",    "platforms": ["gmb"],    "mediaUrls": ["https://example.com/patio.jpg"],    "gmbOptions": {      "event": {        "title": "Patio live music night",        "startDate": "2026-11-14T19:00:00Z",        "endDate": "2026-11-14T22:00:00Z"      }    },    "scheduleDate": "2026-11-06T17:00:00Z"  }'
The fine print

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 and the Google Business Profile publishing options.

Post types

4post types

What's New updates, events, offers, and photo or video uploads to the Photos section, all from the same endpoint.

Accounts

1location per profile

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.

Images

5 MBper image

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.

Video

30 secmax length

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.

Characters

1,500post 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.

Call-to-action buttons

6button types

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.

Photo categories

12categories

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.

Scheduling and limits

300API calls per 5 min

Pass a scheduleDate to publish any post type later. Ayrshare allows 300 API calls per 5 minutes per profile.

Beyond the basic post

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.

Skip the setup

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.

See the Google Business Profile Publishing Options
  1. Step 1

    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.

  2. Step 2

    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.

  3. Live

    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.

After you publish

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.

Google Business Profile analytics for Harbor Street Café (12.4K impressions on Search and Maps, 418 direction requests, 276 website clicks, 93 call clicks) with a daily impressions chart, beside the location's reviews with an owner reply sent through POST /reviews, a verification check before publishing, the local post ID and postUrl, and routing to What's New, Events, Offers or Photos from one gmbOptions object

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

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

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

History

List and filter the posts published to the location through Ayrshare, with their IDs and URLs.

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

See every network you can reach with the same integration on the supported networks page.

Common questions

FAQs About the Google Business Profile 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.

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.

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 shows the one request you need instead.

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 for every field.

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.

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 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.