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

# Search products

> Search products



## OpenAPI

````yaml GET /v1/google/shopping/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/shopping/search:
    get:
      tags:
        - Google Shopping
      summary: Search Google Shopping
      description: |-
        Search Google Shopping for products.

        Requires browser rendering due to dynamic JS-loaded content.
      operationId: shopping_search_api_v1_shopping_search_get
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            description: Product search query
            title: Q
          description: Product search query
        - 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: min_price
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Minimum price
            title: Min Price
          description: Minimum price
        - name: max_price
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Maximum price
            title: Max Price
          description: Maximum price
        - name: sort_by
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: 'Sort: price_low, price_high, rating, reviews'
            title: Sort By
          description: 'Sort: price_low, price_high, rating, reviews'
        - name: free_shipping
          in: query
          required: false
          schema:
            type: boolean
            description: Free shipping filter
            default: false
            title: Free Shipping
          description: Free shipping filter
        - name: on_sale
          in: query
          required: false
          schema:
            type: boolean
            description: On sale filter
            default: false
            title: On Sale
          description: On sale filter
        - 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/ShoppingSearchResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ShoppingSearchResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/ShoppingProductResult'
          type: array
          title: Results
        filters:
          items:
            $ref: '#/components/schemas/ShoppingFilter'
          type: array
          title: Filters
        ads:
          items:
            $ref: '#/components/schemas/ShoppingProductResult'
          type: array
          title: Ads
        pagination:
          $ref: '#/components/schemas/Pagination'
      type: object
      required:
        - pagination
      title: ShoppingSearchResponse
      description: Response for GET /api/v1/shopping/search.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ShoppingProductResult:
      properties:
        position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Position
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
        title:
          type: string
          title: Title
        price:
          anyOf:
            - $ref: '#/components/schemas/ShoppingPrice'
            - type: 'null'
        old_price:
          anyOf:
            - type: string
            - type: 'null'
          title: Old Price
        old_price_extracted:
          anyOf:
            - type: number
            - type: 'null'
          title: Old Price Extracted
        on_sale:
          type: boolean
          title: On Sale
          default: false
        tag:
          anyOf:
            - type: string
            - type: 'null'
          title: Tag
        rating:
          anyOf:
            - type: number
            - type: 'null'
          title: Rating
        reviews:
          anyOf:
            - type: string
            - type: 'null'
          title: Reviews
        reviews_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Reviews Count
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
        source_icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Icon
        thumbnail:
          anyOf:
            - type: string
            - type: 'null'
          title: Thumbnail
        link:
          anyOf:
            - type: string
            - type: 'null'
          title: Link
        click_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Click Link
        page_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Page Token
        delivery:
          anyOf:
            - type: string
            - type: 'null'
          title: Delivery
        return_policy:
          anyOf:
            - type: string
            - type: 'null'
          title: Return Policy
        extensions:
          items:
            type: string
          type: array
          title: Extensions
      type: object
      required:
        - title
      title: ShoppingProductResult
      description: A single product from search results.
    ShoppingFilter:
      properties:
        name:
          type: string
          title: Name
        options:
          items:
            $ref: '#/components/schemas/ShoppingFilterOption'
          type: array
          title: Options
      type: object
      required:
        - name
      title: ShoppingFilter
      description: A shopping filter group.
    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
    ShoppingPrice:
      properties:
        value:
          anyOf:
            - type: number
            - type: 'null'
          title: Value
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
        extracted:
          anyOf:
            - type: string
            - type: 'null'
          title: Extracted
      type: object
      title: ShoppingPrice
      description: Product price.
    ShoppingFilterOption:
      properties:
        label:
          type: string
          title: Label
        value:
          anyOf:
            - type: string
            - type: 'null'
          title: Value
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        aria_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Aria Label
      type: object
      required:
        - label
      title: ShoppingFilterOption
      description: A single filter option.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````