API Reference

Google Business API

Post updates, offers, and events to Google Search and Maps with a single API call.

Quick Start

Get started in 3 steps

1

Get API Key

Sign up for free and get your API key in seconds.

2

Connect Account

Use our OAuth flow to connect Google Business accounts.

3

Start Posting

Make API calls to post content to Google Business.

Post to Google Business
JavaScript
const response = await fetch('https://getlate.dev/api/v1/posts', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    content: 'New menu items available! Visit us today 🍽️',
    mediaItems: [{ type: 'image', url: 'https://example.com/menu.jpg' }],
    platforms: [{
      platform: 'googlebusiness',
      accountId: 'loc_abc123'
    }],
    googleBusinessOptions: {
      callToAction: 'LEARN_MORE',
      callToActionUrl: 'https://example.com/menu'
    },
    publishNow: true
  })
});

const post = await response.json();
console.log(post.post._id); // '65f1c0a9e2b5af0012ab34cd'

Endpoints

Google Business Endpoints

POST/v1/posts

Create or schedule a Google Business post with optional CTA

GET/v1/posts/{id}

Get status and details of a Google Business post

DELETE/v1/posts/{id}

Cancel a scheduled Google Business post

GET/v1/profiles

List all connected Google Business locations

Media Specs

Media Requirements

TypeFormatMax SizeNotes
ImageJPEG, PNG5 MB1200x900 px recommended
VideoMP475 MBUp to 30 seconds

Late automatically transcodes and optimizes media for Google Business's requirements.

Rate Limits

API Limits

Google Business Profile API has quota limits per project. Late manages all request pacing and automatic retries.

Late handles all rate limiting automatically. We queue and retry requests as needed.

Capabilities

Features

  • Post updates, offers, and events
  • Add call-to-action buttons (Book, Order, Learn More)
  • Schedule posts for optimal times
  • Multi-location management
  • Photo and video support
  • Webhook notifications for post status
  • Automatic CTA button formatting

Response

Response Example

Response
200 OK
{
  "post": {
    "_id": "65f1c0a9e2b5af0012ab34cd",
    "status": "published",
    "content": "New menu items available! Visit us today 🍽️",
    "platforms": [{
      "platform": "googlebusiness",
      "accountId": { "_id": "loc_abc123", "name": "Your Business Name" },
      "status": "published",
      "platformPostId": "xyz789"
    }],
    "publishedAt": "2025-01-10T10:30:00Z"
  },
  "message": "Post published successfully"
}

Start building with Google Business API

Skip Google Cloud Console complexity. Late handles OAuth, location management, and call-to-action buttons so you can ship faster.

Free tier available • No credit card required • 99.97% uptime