> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Google Business location analytics

> Returns performance metrics for a single Google Business location over a date range programmatically via Posttu's Google Business API and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/google-business/analytics/location
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/google-business/analytics/location:
    post:
      tags:
        - Google Business
      summary: Get Google Business location analytics
      description: >-
        Returns performance metrics for a single Google Business location over a
        date range.

        Requires API key scope: `google-business:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleBusinessGetLocationAnalyticsInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleBusinessLocationAnalyticsResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GoogleBusinessGetLocationAnalyticsInput:
      type: object
      properties:
        channelId:
          type: string
          description: Google Business Profile channel ID
          example: ch_gbp123
        locationResourceName:
          type: string
        startDate:
          type: string
        endDate:
          type: string
      required:
        - channelId
        - locationResourceName
        - startDate
        - endDate
    GoogleBusinessLocationAnalyticsResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/GoogleBusinessLocationMetrics'
      required:
        - success
        - data
    GoogleBusinessLocationMetrics:
      type:
        - object
        - 'null'
      properties:
        locationId:
          type: string
        businessBookings:
          type: number
        businessConversations:
          type: number
        businessDirectionRequests:
          type: number
        businessFoodOrders:
          type: number
        businessImpressionsDesktopMaps:
          type: number
        businessImpressionsDesktopSearch:
          type: number
        businessImpressionsMobileMaps:
          type: number
        businessImpressionsMobileSearch:
          type: number
        callClicks:
          type: number
        websiteClicks:
          type: number
      required:
        - locationId
        - businessBookings
        - businessConversations
        - businessDirectionRequests
        - businessFoodOrders
        - businessImpressionsDesktopMaps
        - businessImpressionsDesktopSearch
        - businessImpressionsMobileMaps
        - businessImpressionsMobileSearch
        - callClicks
        - websiteClicks
      additionalProperties: {}
      description: The GoogleBusinessLocationMetrics.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.