Google Shopping: Search products
One page of a Google Shopping search, about 40 products, with their price, store and rating, as the tab shows them.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "google_shopping", "operation": "products/search", "options": { "query": "office chair" } }'
An example answer, from the contract. Run it on your own input with your API key.
{ "object": "run", "id": "run_ookinh56tgtg26drvlnk2d6jg4", "livemode": true, "source": "google_shopping", "operation": "products/search", "version": "1.0.0", "schema_url": "https://api.lobstr.io/v2/catalog/google_shopping/products/search", "options": { "query": "office chair" }, "fields": null, "status": "succeeded", "count": 1, "has_more": true, "next": { "source": "google_shopping", "operation": "products/search", "options": { "query": "office chair", "cursor": "gAAAAABpNWd0x2kQ8vZr3TfYc1LmRb7uHsE9wA4jXoKqDn6yPiGt5" } }, "cost": { "credits": 40 }, "results": [ { "object": "product", "id": "PC_1000000000000000001", "position": 1, "title": "Acme Ergonomic Mesh Task Chair", "brand": "Acme", "price": { "amount": 125.99, "currency": "USD", "text": "$125.99" }, "former_price": { "amount": 300, "currency": "USD", "text": "$300" }, "typical_price": null, "has_more_prices": false, "condition": null, "store": "Acme Store", "has_more_stores": true, "delivery": "Free next-day delivery", "returns": "14-day returns", "rating": { "value": 4.43, "scale": 5, "count": 12281 }, "badge": "58% OFF", "review_highlight": { "label": "Comfortable", "mentions": 395 }, "specs": [], "has_360_view": false, "has_3d_model": false, "section": "Ergonomic Chairs with Lumbar Support", "photo_url": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:example", "ids": { "cluster_id": "1000000000000000001", "catalog_id": "2000000000000000002", "product_id": "3000000000000000003", "offer_id": "4000000000000000004", "image_id": "5000000000000000005" }, "source_url": "https://www.google.com/search?q=office+chair&udm=28&hl=en&gl=us", "observed_at": "2026-11-24T14:20:00Z" } ] }
38 fields per product
Every call returns them for each record, in the results of its JSON answer.
Search products
38 fields- object
- text
- The kind of record: a product, whichever site it comes from.
- product
- id
- id
- The product as Google names it: PC_<cluster> for a product whose offers Google groups (most), CID_<catalog> for one in its catalog alone, and, for a store's offer Google has not matched to a product, its product id (digits). The same product shown twice (a carousel and the list) has the same id; google_shopping/products/get takes it.
PC_1000000000000000001- position
- number
- Its rank among the products of the search, across pages: the first of page 2 follows the last of page 1.
- 1
- title
- text
- The product's name as the card shows it.
- Acme Ergonomic Mesh Task Chair
- brand
- text
- The brand Google gives the product; null when it gives none.
- Acme
What it costs
Billed by the call: 40 credits, whatever the page holds (up to 40 products). Pick how many calls a month.
40 credits a call
Calls a month
100
Frequently asked questions
What people ask before calling google_shopping/products/search.
Search products
When do I use it?
You need the products Google Shopping lists for a search such as "office chair" or "running shoes": title, brand, price and former price, the first store and whether others sell it, delivery, returns, rating and review count, photo, and Google's ids. Set the search up on Google Shopping (filters, sort, price range) and pass its address, or pass a query. Follow next for the following products. For one product whole, every store's offer included, use google_shopping/products/get with a record's id.
What do I give it?
query: What you would type in Google's search box: "office chair", "running shoes nike". Products are those Google Shopping shows incountry(default us), its words inlanguage(default en). Givequeryorurl.url: A Google Shopping search as the browser shows it once set up (the Shopping tab,udm=28; its filters, sort and price range kept as they are written,shoprs,tbs). What only marks a visit (sei,ved,biw...) is left out. Itshlandglsay the language and the country; without them Google picks the country of the IP, the US. Givequeryorurl.language: The language of Google's words (badges, delivery, returns), withquery, as Google'shl.country: The country Google lists products and prices for, withquery, as Google'sgl(ISO 3166-1 alpha-2, lower case): its stores, its currency.
What does it return?
One page of a Google Shopping search, about 40 products, with their price, store and rating, as the tab shows them. Every record has the same fields, empty ones included: they are all listed above.
How do I get the next page?
Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 40 records at most.
Pricing
What does a call cost?
40 credits a call, whatever the page holds. An empty search and a failed call are free.
When is a call free?
- an empty page (past the end, or nothing found)
- a call that fails
Errors
What can go wrong?
invalid_search(422): The search is not one Google Shopping reads (no query, or an address that is not a Shopping search); not charged.site_unavailable(503, retry): Google did not answer in time or answered its check instead of the search; retry later (not charged).unexpected_answer(424): Google answered in a shape we do not read yet; we are told and fix it, and it is not charged. Retrying now gives the same.
How long can a call take?
60 seconds at most by default, up to 120 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.
API and agents
Can my AI agent run it?
Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs google_shopping/products/search. Its page for agents, in Markdown: google_shopping/products/search.md.
Where is its full description?
The contract, as JSON: https://api.lobstr.io/v2/catalog/google_shopping/products/search: every option, every field, the price and the errors. This page is drawn from it.
Ready to call it?
An API key in a minute, then the call above, from your code or your agent.