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

# Get business posts

> Get business posts



## OpenAPI

````yaml GET /v1/google/maps/posts
openapi: 3.1.0
info:
  title: ScrapeBadger Google Scraper
  description: >-
    Dedicated API for scraping Google products (SERP, Maps, News, Hotels,
    Trends, Jobs, Shopping, Patents, Scholar, Autocomplete, Images, Videos,
    Finance, AI Mode, Lens, Products).
  version: 1.0.0
servers:
  - url: https://scrapebadger.com
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/google/maps/posts:
    get:
      tags:
        - Google Maps
      summary: Get business posts
      description: |-
        Get Google Business posts / updates for a Maps place.

        **Approach**: searches the Google SERP for the business by ``ludocid``
        (derived from the ``data_id``'s low hex part) and parses the knowledge
        panel's ``data-attrid="kc:/local:any posts"`` and
        ``kc:/local:merchant_description`` sections. This is the same data
        surface and other SERP-based scrapers use.

        The Maps protobuf endpoints (``localposts``, ``batchexecute Qt4aBe``)
        return empty for virtually all businesses even when they have posts
        in the knowledge panel — Google deprecated those endpoints in favor
        of the SERP knowledge panel.

        Requires ``data_id`` (``0x...:0x...``), available from ``/maps/search``
        results.
      operationId: maps_posts_api_v1_maps_posts_get
      parameters:
        - name: data_id
          in: query
          required: false
          schema:
            type: string
            description: Google Maps data ID (0x...:0x...) — from /maps/search results
            title: Data Id
          description: Google Maps data ID (0x...:0x...) — from /maps/search results
        - name: place_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Google place ID (ChIJ...)
            title: Place Id
          description: Google place ID (ChIJ...)
        - name: hl
          in: query
          required: false
          schema:
            type: string
            description: Language code
            default: en
            title: Hl
          description: Language code
        - name: gl
          in: query
          required: false
          schema:
            type: string
            description: Country code
            default: us
            title: Gl
          description: Country code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MapsPostsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MapsPostsResponse:
      properties:
        location_details:
          anyOf:
            - $ref: '#/components/schemas/MapsLocationDetails'
            - type: 'null'
        post_data:
          items:
            $ref: '#/components/schemas/MapsPost'
          type: array
          title: Post Data
        has_updates:
          type: boolean
          title: Has Updates
          description: True when the SERP knowledge panel shows an 'Updates from' section
          default: false
        merchant_description:
          anyOf:
            - type: string
            - type: 'null'
          title: Merchant Description
          description: The 'From the business' description text set by the business owner
        pagination:
          $ref: '#/components/schemas/Pagination'
      type: object
      required:
        - pagination
      title: MapsPostsResponse
      description: Response for GET /api/v1/maps/posts.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MapsLocationDetails:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        logo:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo
      type: object
      title: MapsLocationDetails
      description: Business identity shown alongside posts (matches shape).
    MapsPost:
      properties:
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        date:
          anyOf:
            - type: string
            - type: 'null'
          title: Date
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
        link:
          anyOf:
            - type: string
            - type: 'null'
          title: Link
      type: object
      title: MapsPost
      description: A business post or update.
    Pagination:
      properties:
        current:
          anyOf:
            - type: integer
            - type: string
          title: Current
          default: 1
        next:
          anyOf:
            - type: string
            - type: 'null'
          title: Next
        total_results:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Results
        total_pages:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Pages
        page_no:
          additionalProperties:
            type: string
          type: object
          title: Page No
      type: object
      title: Pagination
      description: Pagination metadata.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````