Catalog ID and URL

Every Shop Light request needs exactly one product identity: catalog_id or url. Do not send both.

Send JSON with Content-Type: application/json. Put your key in the X-Api-Key header.

catalog_id

Google's catalog ID for the product.

RuleDetail
Typestring
Pattern5 to 25 digits
FormatQuote it as a string so long IDs stay exact
With urlGive this or url, not both
catalog_id.json
{
  "catalog_id": "11018290803738983204",
  "more_stores": 3
}

url

A Google Shopping product link that includes a catalog ID.

RuleDetail
Typestring
Max length2048
Must containprds=catalogid:<id> (the colon may appear as %3A)
With catalog_idGive this or catalog_id, not both
What the API readsOnly the catalog ID from the link
url.json
{
  "url": "https://www.google.com/search?ibp=oshop&q=+&prds=catalogid%3A11018290803738983204"
}

The lookup still runs as a US buyer in English, even when you pass a full product URL.

Common mistakes

  • Sending both catalog_id and url
  • Sending neither
  • Sending a long ID as a number (precision can drop digits). Always use a string.

Next

Was this page helpful?

On this page