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

# Local Pack Search

> Return Google Local Pack business listings ranked for a SERP query with local intent.



## OpenAPI

````yaml GET /v1/google/local/search
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/local/search:
    get:
      tags:
        - Google Local
      summary: Google Local Pack search
      description: >-
        Return Google Local Pack listings for a query.


        Unlike ``/v1/google/maps/search`` (which targets the Maps Protobuf API
        and

        is keyed by ``data_id``), this endpoint follows the Web SERP ``tbm=lcl``

        mode — the same data that populates the "Places" block inside regular

        search results. Use it when you care about ranking relative to a SERP

        query (e.g. SEO/local-SEO research), not when you need full place

        metadata.
      operationId: local_search_api_v1_local_search_get
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            description: Search query (e.g. 'pizza in New York')
            title: Q
          description: Search query (e.g. 'pizza in New York')
        - name: gl
          in: query
          required: false
          schema:
            type: string
            description: Country code
            default: us
            title: Gl
          description: Country code
        - name: hl
          in: query
          required: false
          schema:
            type: string
            description: Language code
            default: en
            title: Hl
          description: Language code
        - name: domain
          in: query
          required: false
          schema:
            type: string
            description: Google domain
            default: google.com
            title: Domain
          description: Google domain
        - name: location
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: City-level geo-targeting (e.g. 'New York, USA')
            title: Location
          description: City-level geo-targeting (e.g. 'New York, USA')
        - name: uule
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: UULE encoded location
            title: Uule
          description: UULE encoded location
        - name: num
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Results per page
            default: 20
            title: Num
          description: Results per page
        - name: start
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Pagination offset
            default: 0
            title: Start
          description: Pagination offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleLocalResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GoogleLocalResponse:
      properties:
        search_information:
          $ref: '#/components/schemas/SearchInformation'
        local_results:
          items:
            $ref: '#/components/schemas/LocalResult'
          type: array
          title: Local Results
      type: object
      required:
        - search_information
      title: GoogleLocalResponse
      description: Response for GET /api/v1/local/search.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SearchInformation:
      properties:
        query_displayed:
          type: string
          title: Query Displayed
        total_results:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Results
        time_taken:
          anyOf:
            - type: number
            - type: 'null'
          title: Time Taken
        organic_results_state:
          anyOf:
            - type: string
            - type: 'null'
          title: Organic Results State
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
      type: object
      required:
        - query_displayed
      title: SearchInformation
      description: Metadata about the search query.
    LocalResult:
      properties:
        title:
          type: string
          title: Title
        place_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Place Id
        rating:
          anyOf:
            - type: number
            - type: 'null'
          title: Rating
        reviews:
          anyOf:
            - type: integer
            - type: 'null'
          title: Reviews
        address:
          anyOf:
            - type: string
            - type: 'null'
          title: Address
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        gps_coordinates:
          anyOf:
            - $ref: '#/components/schemas/GpsCoordinates'
            - type: 'null'
      type: object
      required:
        - title
      title: LocalResult
      description: Local pack result.
    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
    GpsCoordinates:
      properties:
        lat:
          type: number
          title: Lat
        lng:
          type: number
          title: Lng
      type: object
      required:
        - lat
        - lng
      title: GpsCoordinates
      description: GPS coordinates.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````