E-commerce and prices

How to find the real lowest price with a Google Shopping API

Updated · 1ToolRing team

A Google Shopping API returns the offers different stores list for a product, with price, store and link, so your agent can find the lowest price you can act on. With 1ToolRing it collects offers with serpapi/google/shopping, then lists each seller with price and shipping through dataforseo/google-shopping/sellers. Filter out other conditions and look-alike products before taking the minimum. You pay per call from one prepaid balance.

The quick way to "find the cheapest" is to sort a shopping result by price and read the top row. That row is often the wrong answer: an open-box unit, a refurbished one, an accessory with a matching name, or a different model that shares half the title.

The lowest price that matters is the lowest for the same product, in the same condition, from a store you would buy from, with shipping added. Collect offers, filter them on those terms, and take the minimum last.

Paste this into your agent

Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.

Set up 1ToolRing from 1toolring.com/install, then find the lowest US price for "Example Audio X100 wireless headphones" with serpapi/google/shopping. Inspect the price first and stop after 3 calls. Drop open-box, refurbished, used and accessory listings and other models, add shipping where it is shown, and return the 5 cheapest new offers with store, price, shipping, total and link, plus the rows you dropped and why.

First time? Set up takes one command or one connector URL:

set up 1ToolRing - https://1toolring.com/llms.txt

Paste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.

Tools this workflow uses

Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.

ToolWhat it does herePrice
serpapi/google/shoppingSearches Google Shopping and returns offers across stores, the base list the agent filters.$0.020 / callRp353 / call
anyapi/google_shopping.searchReturns up to 10 offers per search with title, price, store, rating and link, localized by country and language.$0.0072 / unitRp130 / unit
dataforseo/google-shopping/sellersLists the sellers of one Google Shopping product with prices and shipping, which is where the totals come from.$0.0027 / callRp48 / call
dataforseo/google-shopping/product-infoReads a Google Shopping product page with specs, rating and price range, to confirm the model before comparing.$0.0027 / callRp48 / call

Step by step

  1. Identify the product exactly. Use the full model name or number and decide the condition you want, usually new. If you start from a UPC or barcode, resolve it to a product name first, since a shopping search for a bare number can match unrelated items.
  2. Collect offers. Have the agent inspect and run serpapi/google/shopping for the country you buy in. If the tool offers sort orders, pull a relevance-sorted page as well as a price-sorted one, because a low-to-high sort only reorders the rows you were given.
  3. Filter before taking the minimum. Drop rows whose title names another model, an accessory, a bundle or a case. Drop open-box, refurbished and used rows unless you want them. Flag any row priced far below the median of the rest for a manual look.
  4. Get seller and shipping detail. For the product you settled on, run dataforseo/google-shopping/sellers to list each store with its price and shipping. Add shipping to price for a total, because the cheapest item price is not always the cheapest total.
  5. Keep the stores you would buy from. Apply your own list of trusted stores, or at least mark marketplace sellers apart from the storefront they sell through. One marketplace can host several sellers at very different prices.
  6. Report the floor with its evidence. Return the lowest comparable total with store, condition, link and date, plus the dropped rows with reasons. A reader should be able to see why the top row of the raw result was not the answer.

Why is the cheapest Google Shopping result often the wrong one?

The cheapest offers are the ones most likely to differ from what you searched for. Open-box and refurbished units, spare parts, older models and cases with the model name in the title all sort to the top of a price-ordered list. Some of these rows carry no condition flag at all, so title checks and a sanity floor have to catch what a single filter misses.

Which rows should I drop before taking the minimum?

Write these rules into the prompt so the agent applies them the same way on every run.

Row typeHow to spot itKeep or drop
Open box, refurbished or usedA condition flag or those words in the titleDrop unless you want that condition
Accessory or spare partWords such as case, cable, pads or replacement in the titleDrop
Different modelThe model number differs from yoursDrop
BundleExtra items named in the titleDrop, or compare only with other bundles
Suspiciously low priceFar below the median of comparable rowsCheck by hand before trusting it
Other country or currencyA store or currency outside your marketDrop

How do I compare price with shipping and condition?

Compare total cost for the same condition. Store item price and shipping in separate columns, add them, and sort on the total. Where shipping is not shown, mark it unknown instead of assuming it is free. Keep condition in its own column too, because a new unit and a refurbished one at a similar total are different deals.

Which Google Shopping API tool should I use for the lowest price?

Use a search tool to find offers and a seller tool to price one product in detail. serpapi/google/shopping and anyapi/google_shopping.search both return offers across stores for a query, and the second returns up to 10 offers per search, localized by country and language. dataforseo/google-shopping/sellers gives per-seller price and shipping for one product, and dataforseo/google-shopping/product-info confirms specs and the price range. The free dataforseo/google-shopping/locations tool looks up location codes.

When is Google Shopping the wrong source?

If you want depth on one marketplace, such as every seller of an Amazon product, a marketplace tool like dataforseo/amazon/sellers returns more. A shopping row is the price shown to one search from one place on one day, so the total at checkout can differ. For changes over time, run the same check on a schedule, as in competitor price monitoring.

What does it cost?

One product: two searches with different sort orders, one seller list and one product page check.

CallToolCountUSDIDR
Searches, 2 sort ordersserpapi/google/shopping2$0.039Rp706
Seller list with shipping, 1 productdataforseo/google-shopping/sellers1$0.0027Rp48
Product page check, 1 productdataforseo/google-shopping/product-info1$0.0027Rp48
Total$0.044Rp802

Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.

Questions

Is there a Google Shopping API for prices?
Yes, through tools that read Google Shopping results. With 1ToolRing your agent calls serpapi/google/shopping or anyapi/google_shopping.search for offers and dataforseo/google-shopping/sellers for one product's sellers and shipping, all from one prepaid balance.
Can I find the lowest price from a UPC or barcode?
Resolve the barcode to a product name and model first, then search by that name. A shopping search for the bare number can match unrelated items, so check every title against the product before you trust a price.
Why does the price differ from what I see in my browser?
Shopping results depend on location, date and each store's own pricing. Set the country, and the location if the tool supports one, the same way on every run, and record the date. Treat a result as the price shown to that search at that time.
How many offers should I collect?
Enough to see more than one store for your condition, which for most products is one or two searches. Raise the count only when the filtered list is too short to trust.
Can the agent watch for a price drop?
Yes, if the same check runs on a schedule and the rows are kept. For one product, rerun the filtered search and compare the floor with last time; for a fixed list across stores, competitor price monitoring sets up the dated rows and a change rule.