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

# Scrape Google Local business listings

> Runs a Google Local (`tbm=lcl`) search for `keyword` and returns up to ~20 businesses as JSON: `name`, `rating`, `reviews`, `price`, `category`, `address`, `hours`, and a top `review_snippet`. Local results are location-sensitive - set `proxy_country` (and optionally `gl`/`hl`) to target a market.



## OpenAPI

````yaml /api-reference/openapi.json post /maps/google-local
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 1.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /maps/google-local:
    post:
      tags:
        - Plugins
      summary: Scrape Google Local business listings
      description: >-
        Runs a Google Local (`tbm=lcl`) search for `keyword` and returns up to
        ~20 businesses as JSON: `name`, `rating`, `reviews`, `price`,
        `category`, `address`, `hours`, and a top `review_snippet`. Local
        results are location-sensitive - set `proxy_country` (and optionally
        `gl`/`hl`) to target a market.
      operationId: google_local_maps_google_local_post
      parameters:
        - name: keyword
          in: query
          required: true
          schema:
            type: string
            description: >-
              Search phrase, e.g. 'coffee shops in chicago' or 'plumbers near
              SW1A'.
            title: Keyword
          description: >-
            Search phrase, e.g. 'coffee shops in chicago' or 'plumbers near
            SW1A'.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Exit-IP country (ISO-2, e.g. 'US', 'GB'). Local results are
              location-sensitive, so pick the country you want results for.
            title: Proxy Country
          description: >-
            Exit-IP country (ISO-2, e.g. 'US', 'GB'). Local results are
            location-sensitive, so pick the country you want results for.
        - name: hl
          in: query
          required: false
          schema:
            type: string
            description: Google UI language, e.g. 'en', 'de', 'fr'.
            default: en
            title: Hl
          description: Google UI language, e.g. 'en', 'de', 'fr'.
        - name: gl
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Google country of search, ISO-2 lowercase, e.g. 'us', 'de'.
            title: Gl
          description: Google country of search, ISO-2 lowercase, e.g. 'us', 'de'.
      responses:
        '200':
          description: JSON with a `results` array of local businesses.
          content:
            application/json:
              schema: {}
        '403':
          description: Blocked by Google CAPTCHA after retries - try another proxy_country.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: No local results collected (upstream block or proxy failure).
        '504':
          description: Fetch timed out.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````