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

# Resolve merchant URL for a product

> Resolve the direct merchant URL for a product from Google Shopping.



## OpenAPI

````yaml GET /v1/google/shopping/product/click
openapi: 3.1.0
info:
  title: ScrapeBadger Google Scraper API
  version: 1.0.0
  description: >-
    Structured JSON APIs for 16 Google product APIs: Search, Maps, News, Hotels,
    Trends, Jobs, Shopping, Patents, Scholar, Autocomplete, Images, Videos,
    Finance, AI Mode, Lens, Products.
servers:
  - url: https://scrapebadger.com
security: []
paths:
  /v1/google/shopping/product/click:
    get:
      tags:
        - Google Shopping
      summary: Resolve merchant URL for a product
      description: |-
        Resolve the direct merchant URL for a product from Google Shopping.

        Google has removed merchant links from organic Shopping HTML, so this
        per-product enrichment endpoint uses an "I'm Feeling Lucky" redirect
        (optionally scoped to the card's source merchant via `site:`) to
        return the real product page URL. Mirrors ScrapingDog's
        `scrapingdog_immersive_product_link` pattern.
      operationId: shopping_product_click_v1_google_shopping_product_click_get
      parameters:
        - name: title
          in: query
          required: true
          schema:
            type: string
            description: Exact product title from a search result
            title: Title
          description: Exact product title from a search result
        - name: source
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Merchant source name (e.g. 'Walmart', 'Best Buy')
            title: Source
          description: Merchant source name (e.g. 'Walmart', 'Best Buy')
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Original search query
            title: Q
          description: Original search query
        - name: product_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Stable product_id
            title: Product Id
          description: Stable product_id
        - 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
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Shopping Product Click V1 Google Shopping Product
                  Click Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````