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.
| Rule | Detail |
|---|---|
| Type | string |
| Pattern | 5 to 25 digits |
| Format | Quote it as a string so long IDs stay exact |
With url | Give this or url, not both |
{
"catalog_id": "11018290803738983204",
"more_stores": 3
}url
A Google Shopping product link that includes a catalog ID.
| Rule | Detail |
|---|---|
| Type | string |
| Max length | 2048 |
| Must contain | prds=catalogid:<id> (the colon may appear as %3A) |
With catalog_id | Give this or catalog_id, not both |
| What the API reads | Only the catalog ID from the link |
{
"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_idandurl - Sending neither
- Sending a long ID as a number (precision can drop digits). Always use a string.
Next
Was this page helpful?