Google Shopping API
Google's Shopping tab as JSON: products with their price, store, rating, reviews and delivery, and the tab's own filters. Then, for any product, every store that sells it and what it asks. Without sponsored products.
Products, then every store's offer
Search the tab with /v1/shopping. Each product carries a product_id: give it to /v1/shopping/product for the stores that sell it, with price, delivery and condition.
curl -G https://api.serpbit.com/v1/shopping \ -H "Authorization: Bearer $SERPBIT_API_KEY" \ --data-urlencode "q=running shoes" { "shopping": [{ "position": 1, "title": "Brooks Women's Glycerin Max 2", "product_id": "10327006607387456741", "source": "Fitness Sports", "price": "$149.95", "extracted_price": 149.95, "rating": 4.4, "reviews": 407 }], "filters": [{ "type": "Price", "options": [ { "text": "Under $100", "shoprs": "CAESFhIU…" } ] }] }
What comes back
The products
Title, store, price and the price as a number, the old price when on sale, rating, reviews, delivery and thumbnail.
The tab's filters
Price, Brand and the rest, by group. Send an option's
shoprswith itsqto search with it applied.Every store's offer
/v1/shopping/product: each store's name, link, price, currency, condition, delivery and total price.The whole list or not
completesays whether the stores are all of them.more_storespresses "More stores" up to 15 times.From where you ask
glandhlfor a country and language,locationfor a city,devicefor the phone's page.
The same calls in Python and JavaScript
Search the tab, then ask for every store that sells the first product. The clients read the key from SERPBIT_API_KEY and retry a failed call without billing it twice. Any HTTP client works too.
# pip install serpbit from serpbit import Serpbit sb = Serpbit() # reads SERPBIT_API_KEY answer = sb.shopping("running shoes", gl="us") for p in answer["shopping"]: print(p["position"], p["title"], p.get("source"), p.get("extracted_price")) # every store that sells the first product with an id first = next(p for p in answer["shopping"] if p.get("product_id")) offers = sb.shopping_product(first["product_id"], more_stores=5) for s in offers["sellers"]: print(s["name"], s.get("total_price"), s.get("currency")) print("whole list:", offers["complete"])
// npm install serpbit import Serpbit from "serpbit"; const sb = new Serpbit(); // reads SERPBIT_API_KEY const answer = await sb.shopping("running shoes", { gl: "us" }); for (const p of answer.shopping) { console.log(p.position, p.title, p.source, p.extracted_price); } // every store that sells the first product with an id const first = answer.shopping.find((p) => p.product_id); const offers = await sb.shoppingProduct(first.product_id, { more_stores: 5 }); for (const s of offers.sellers) console.log(s.name, s.total_price, s.currency); console.log("whole list:", offers.complete);
Response fields
The main fields of both answers. Most are left out when Google shows nothing for them. The reference has every parameter.
| Field | Type | What it holds |
|---|---|---|
| The search | ||
| shopping[] | array | The products, in the tab's order, without sponsored ones. |
| position | integer | The product's place, counted on across pages. |
| title | string | The product's name as the card shows it. |
| product_id | string | Google's catalog id: what /v1/shopping/product takes. Absent for the odd product Google gives none. |
| product_link | string | The product's own Google page, for the search's country and language. |
| source | string | The store the card names. |
| price | string | The price as Google writes it: "$149.95". |
| extracted_price | number | The same price as a number. |
| old_price, extracted_old_price | string, number | The price before a sale, as written and as a number. |
| tag | string | Google's badge on the card: "20% OFF". |
| delivery | string | What the card says about delivery: "Free delivery". |
| rating, reviews | number, integer | The product's rating out of 5, and its number of reviews. |
| thumbnail | string | The product's picture. |
| category | string | The heading of the row Google shows the product in: "Trail Running Shoes". |
| filters[] | array | The tab's filters by group: type ("Price", "Brand"…) and options, each with text, q and shoprs. |
| pagination.next_start | integer or null | Where the next page starts; null when Google has no more. |
| A product's stores | ||
| product | object | The product: catalog_id, title, brand and images. |
| sellers[] | array | The stores that sell it, in Google's order. |
| name, domain | string | The store's name, and its own domain, never Google's. |
| link | string | The store's page for the product, with no Google redirect to follow. |
| price, currency | number, string | The store's price and its currency: "USD". |
| delivery_price | number | What delivery costs; 0 when it is free, absent when Google does not say. |
| total_price | number | The price with delivery, when both are known. |
| condition | string | "Pre-owned" or "Refurbished"; absent on a new one. |
| store_rating, store_reviews | number, integer | The store's rating with Google, not the product's. |
| sellers_count | integer | How many stores sellers holds. |
| complete | boolean | Whether sellers is the product's whole list. |
| Both answers | ||
| meta.credits | integer | The credits the call spent. |
| request_id | string | The call's id, to quote to support. |
What it is used for
Track where a product's price lands
Search your product's name each day and keep position, source and extracted_price. You see which stores show it, in what order, and at what price.
Compare every store's offer
Give a product_id to /v1/shopping/product and sort the stores by total_price: the cheapest offer with delivery comes first.
Watch a category's sales
Search a category, such as "trail running shoes". old_price and tag show which products are on sale today, and by how much.
See prices by country
Ask the same search with another gl and hl, or a location. The product's stores are for US buyers, in English.
What 1,000 cost
2 credits a page of products, on the same key and credits as every other API. A call that fails is free, and so is the same call again within the hour.
| Plan | Price a month | Pages a month | Per 1,000 |
|---|---|---|---|
| Free | $0 | 500 | free |
| Starter | $25 | 12,500 | $2.00 |
| Developer | $75 | 50,000 | $1.50 |
| Production | $150 | 150,000 | $1.00 |
| Scale | $350 | 400,000 | $0.88 |
In US dollars before tax. All plans and credit packs are on the pricing page.
Questions
Are sponsored products included?
No. The answer is the Shopping tab's own listings, without the sponsored ones.
What does a product's offers call cost?
1 credit a product. A product Google does not know answers 404 and is free. The stores are for US buyers, in English.
Can I filter by price or brand?
Yes, with Google's own filters: every answer lists them in filters[], and an option's shoprs token sent with its q gives the filtered page.
Can I get more than one page at once?
Yes. pages=3 returns pages 1 to 3 in one call as one list; each page is billed.
Can an AI agent use it?
Yes. Our MCP server has it as the google_shopping and google_shopping_product tools: add https://api.serpbit.com/mcp as a connector in Claude, ChatGPT or Cursor and sign in.
Is Serpbit part of Google?
No. Serpbit is not affiliated with Google; Google is a trademark of Google LLC.
Start with 1,000 free credits.
Every month. No card.