{"operation":"products/search","version":"1.0.0","status":"pilot","title":"Search products","summary":"One page of a Google Shopping search, about 40 products, with their price, store and rating, as the tab shows them.","use_when":"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`.","categories":["E-commerce"],"icon":"lens","source":"google_shopping","input":{"type":"object","required":[],"additionalProperties":false,"properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"What you would type in Google's search box: \"office chair\", \"running shoes nike\". Products are those Google Shopping shows in `country` (default us), its words in `language` (default en). Give `query` or `url`.","examples":["office chair","running shoes"]},"url":{"type":"string","format":"uri","pattern":"^https://(www\\.)?google\\.[a-z.]{2,7}/search\\?.+$","description":"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. Its `hl` and `gl` say the language and the country; without them Google picks the country of the IP, the US. Give `query` or `url`.","examples":["https://www.google.com/search?q=office+chair&udm=28&hl=en&gl=us"]},"language":{"type":"string","pattern":"^[a-z]{2}(-[A-Z]{2})?$","default":"en","description":"The language of Google's words (badges, delivery, returns), with `query`, as Google's `hl`.","examples":["en"]},"country":{"type":"string","pattern":"^[a-z]{2}$","default":"us","description":"The country Google lists products and prices for, with `query`, as Google's `gl` (ISO 3166-1 alpha-2, lower case): its stores, its currency.","examples":["us"]},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_=-]{40,8000}$","description":"Where to go on, from `next` in an answer, as it is: opaque, and only for the search it was given with (otherwise `invalid_cursor`). Leave it out to start at the first page."}}},"pagination":{"style":"cursor","page_size":40,"next":{"query":"<query as it was written>","cursor":"<opaque>"}},"record":{"type":"object","additionalProperties":false,"required":["object","id","position","title","brand","price","former_price","typical_price","has_more_prices","condition","store","has_more_stores","delivery","returns","rating","badge","review_highlight","specs","has_360_view","has_3d_model","section","photo_url","ids","source_url","observed_at"],"properties":{"object":{"const":"product","description":"The kind of record: a product, whichever site it comes from."},"id":{"type":"string","description":"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.","examples":["PC_3384149979276376969"]},"position":{"type":"integer","minimum":1,"description":"Its rank among the products of the search, across pages: the first of page 2 follows the last of page 1."},"title":{"type":"string","description":"The product's name as the card shows it."},"brand":{"type":["string","null"],"description":"The brand Google gives the product; null when it gives none."},"price":{"type":["object","null"],"additionalProperties":false,"required":["amount","currency","text"],"description":"The price the card shows: `amount`, `currency` (ISO 4217) and `text` as Google wrote it. null when the card shows none.","properties":{"amount":{"type":["number","null"]},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"text":{"type":"string"}}},"former_price":{"type":["object","null"],"additionalProperties":false,"required":["amount","currency","text"],"description":"The price struck through beside it (\"Was $1,055\"), on sale; null otherwise.","properties":{"amount":{"type":["number","null"]},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"text":{"type":"string"}}},"typical_price":{"type":["object","null"],"additionalProperties":false,"required":["amount","currency","text"],"description":"The price Google says the product usually costs (\"Typically\", \"Prix habituel\"), when the card says it; null otherwise.","properties":{"amount":{"type":["number","null"]},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"text":{"type":"string"}}},"has_more_prices":{"type":"boolean","description":"true when the card says other prices are available (\"More prices\", \"et plus de prix\")."},"condition":{"type":["string","null"],"description":"The condition the card states, in `language` (\"Refurbished\", \"Reconditionné\"); null for a new product, which the card does not state."},"store":{"type":["string","null"],"description":"The store of the price shown."},"has_more_stores":{"type":"boolean","description":"true when other stores sell it (\"& more\"): products/get lists them."},"delivery":{"type":["string","null"],"description":"Delivery as the card says it, in `language` (\"Free delivery by Sat\")."},"returns":{"type":["string","null"],"description":"Returns as the card says it, in `language` (\"30-day returns\")."},"rating":{"type":["object","null"],"additionalProperties":false,"required":["value","scale","count"],"description":"The product's average rating, to two decimals, and how many reviews make it (exact, where the card rounds to 1.5K); null when it has none.","properties":{"value":{"type":"number"},"scale":{"const":5,"description":"The best possible value: ratings from other sites compare once divided by it."},"count":{"type":["integer","null"]}}},"badge":{"type":["string","null"],"description":"The badge on the photo, as Google writes it: \"30% OFF\", \"SALE\", \"PROMOTION\", \"PRIX BAS\"."},"review_highlight":{"type":["object","null"],"additionalProperties":false,"required":["label","mentions"],"description":"What reviews praise, as the card says it under some products: \"Comfortable (395 user reviews)\" is {label: Comfortable, mentions: 395}.","properties":{"label":{"type":"string"},"mentions":{"type":["integer","null"]}}},"specs":{"type":"array","items":{"type":"string"},"description":"The main specs the card lists under some products, in order: [\"Leather\", \"Executive\", \"350 lb max weight\"]; [] when it lists none."},"has_360_view":{"type":"boolean","description":"true when Google shows the product in a 360° view."},"has_3d_model":{"type":"boolean","description":"true when Google shows the product as a 3D model."},"section":{"type":["string","null"],"description":"The group Google shows the product in apart from its list: a carousel (\"Ergonomic Chairs with Lumbar Support\"), a price range (\"Under $200\"); null in the list itself."},"photo_url":{"type":["string","null"],"format":"uri","description":"The product's photo as the card shows it."},"ids":{"type":"object","additionalProperties":false,"required":["cluster_id","catalog_id","product_id","offer_id","image_id"],"description":"Every id Google gives the card: the one another call or another tool may need.","properties":{"cluster_id":{"type":["string","null"],"description":"The product's cluster (Google's PC_ id, digits), the same across its colors, sizes and stores."},"catalog_id":{"type":["string","null"],"description":"Its entry in Google Shopping\\'s catalog."},"product_id":{"type":"string","description":"The product id of this card (Google's product docid)."},"offer_id":{"type":["string","null"],"description":"The offer the card shows: its price and its store."},"image_id":{"type":["string","null"],"description":"The photo the card shows."}}},"source_url":{"type":"string","format":"uri","description":"The search these values were read from."},"observed_at":{"type":"string","format":"date-time","description":"When they were read","UTC.":null}}},"price":{"credits_per_call":40,"description":"40 credits a call, whatever the page holds. An empty search and a failed call are free.","free":["empty","failed"]},"deadline":{"default_s":60,"max_s":120},"errors":[{"code":"invalid_search","status":422,"retryable":false,"message":"The search is not one Google Shopping reads (no query, or an address that is not a Shopping search); not charged."},{"code":"site_unavailable","status":503,"retryable":true,"message":"Google did not answer in time or answered its check instead of the search; retry later (not charged)."},{"code":"unexpected_answer","status":424,"retryable":false,"message":"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."}],"examples":[{"request":{"query":"office chair"},"records":[{"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"}],"next":{"query":"office chair","cursor":"<opaque>"}}],"health":{"canaries":[{"query":"office chair","min_records":40},{"url":"https://www.google.com/search?q=running+shoes&udm=28&hl=en&gl=us","min_records":30}],"required_fields":["id","title","price.amount","ids.product_id"]},"changelog":[{"version":"1.0.0","date":"2026-11-24","notes":"First version on the API v2."}],"object":"operation","id":"google_shopping/products/search","site":{"title":"Google Shopping","domain":"google.com/shopping","color":"#4285F4"}}