Skip to main content

Shopping Offers by Barcode or Catalog ID

/v1/google/shopping/offers returns a product’s Google Shopping seller offers — one entry per merchant source, each with its own price and merchant link. Identify the product one of two ways (exactly one is required):
  • barcode — Google Shopping no longer matches raw GTIN/UPC/EAN codes, so the barcode is first resolved to a product via a Google web search, then the Shopping seller list is fetched.
  • catalog_id — Google’s own Shopping catalog identifier: what a Google Shopping product URL carries as prds=catalogid:<id>, and the catalog_id field on Shopping Search tiles when Google exposes it there (for example https://www.google.com/search?ibp=oshop&prds=catalogid:762120719996356571&gl=de&hl=de). The seller list is read straight off Google’s product page, every page of sellers fetched in parallel, so there is no resolve hop and no ambiguity about which product you get.

Offers by Catalog ID

total_offers is the number of sellers Google lists for the catalog entry; up to 60 are returned.
The most reliable way to get a catalog_id is from a Google Shopping product URL (prds=catalogid:<id>). Shopping Search tiles carry it as catalog_id only when Google ships the identifier block on that SERP, so treat that field as optional.

How Barcode Lookup Works

  1. The barcode is validated (length + check digit). GTIN-8, UPC-A, EAN-13, and GTIN-14 are accepted.
  2. A Google web search resolves the barcode to a product (the matched product name is returned as resolved_query / product_title).
  3. A Google Shopping fetch for that product returns the per-merchant offers.
Because this performs two Google fetches, each call costs 14 credits.

Query Parameters

string
Product barcode to look up. Accepts GTIN-8, UPC-A (12 digits), EAN-13, or GTIN-14. The check digit is validated — a malformed or checksum-failing barcode returns 422. Exactly one of barcode / catalog_id is required.Example: 0711719541028
string
Google Shopping catalog ID — prds=catalogid:<id> in a Google Shopping product URL (or the catalog_id on a Shopping Search tile when present). Exactly one of barcode / catalog_id is required.Example: 762120719996356571
string
Country to run the search and Shopping fetch in, as an ISO-3166 alpha-2 code. Controls which merchants and currency you see.Examples: us, au, gb, de
string
default:"en"
Language code for the search and results.Examples: en, de, fr

Example

Pass gl to scope to a regional marketplace — for example, an Australian Woolworths grocery barcode:

Response Shape

Pricing

Each call costs 14 credits, whichever identifier you pass.

Errors

Why This Exists

Google Shopping indexes by product, not by barcode — a GTIN/UPC/EAN typed directly into Shopping yields no matches. Resolving the barcode through a normal Google web search first finds the product page, and only then does a Shopping fetch return the seller offers. This endpoint packages that two-step flow into a single call so you can go straight from a barcode to live multi-seller prices.