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

# Scrape Google Shopping product listings

> Runs the Google Shopping vertical (`udm=28`) for `q` and returns the product cards as JSON: `title`, `price`, `currency`, `originalPrice`, `discount`, `merchant`, `rating` and `reviewCount`. Set `proxy_country`/`gl` to target a market (prices/merchants are region-specific) and `min_price`/`max_price` to filter. One render returns the first page of products (v1). Note: Google Shopping exposes no per-product URL, so `url` is omitted and `image` is best-effort.



## OpenAPI

````yaml /api-reference/openapi.json post /goods/google-shopping
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: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /goods/google-shopping:
    post:
      tags:
        - Plugins
      summary: Scrape Google Shopping product listings
      description: >-
        Runs the Google Shopping vertical (`udm=28`) for `q` and returns the
        product cards as JSON: `title`, `price`, `currency`, `originalPrice`,
        `discount`, `merchant`, `rating` and `reviewCount`. Set
        `proxy_country`/`gl` to target a market (prices/merchants are
        region-specific) and `min_price`/`max_price` to filter. One render
        returns the first page of products (v1). Note: Google Shopping exposes
        no per-product URL, so `url` is omitted and `image` is best-effort.
      operationId: google_shopping_goods_google_shopping_post
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            description: Product search term, e.g. 'wireless headphones'.
            title: Q
          description: Product search term, e.g. 'wireless headphones'.
        - name: gl
          in: query
          required: false
          schema:
            type: string
            description: Market of search, ISO-2, e.g. 'us', 'de'. Sets prices/merchants.
            default: us
            title: Gl
          description: Market of search, ISO-2, e.g. 'us', 'de'. Sets prices/merchants.
        - name: min_price
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Minimum price filter (whole units, gl currency).
            title: Min Price
          description: Minimum price filter (whole units, gl currency).
        - name: max_price
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Maximum price filter (whole units, gl currency).
            title: Max Price
          description: Maximum price filter (whole units, gl currency).
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: 'How many products to return (v1: first page).'
            default: 60
            title: Max Results
          description: 'How many products to return (v1: first page).'
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Exit-IP country (ISO-2). Prices/merchants are market-specific.
            title: Proxy Country
          description: Exit-IP country (ISO-2). Prices/merchants are market-specific.
      responses:
        '200':
          description: JSON with a `products` array plus the query and count.
          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 products collected (upstream block or no matches).
        '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.

````