---
title: "Price Comparison Across Stores by Price per Unit"
description: "Price comparison with your AI agent: find one product across stores, filter by pack size, then sort by price per unit. Six jobs, one real run for $0.4188."
canonical: "https://dev.monid.ai/tutorial/how-to-monid-price-compare"
---

# Which store is cheapest per unit?

> Price comparison with your AI agent: find one product across stores, filter by pack size, then sort by price per unit. Six jobs, one real run for $0.4188.

- Web page: https://dev.monid.ai/tutorial/how-to-monid-price-compare
- Tools for this job: [Ecommerce](https://dev.monid.ai/tools/ecommerce.md)

## Set up

Paste this to your agent once. It installs the Monid skill and asks for an API key from app.monid.ai.

```text
set up https://monid.ai/SKILL.md
```

## Jobs

Each job is a sentence to paste into your agent. Replace the parts in angle brackets.

### 1. What this exact item costs everywhere

Ask your agent:

```text
find <product> with litescrape google shopping on monid and open the product page endpoint. read pack size off the OFFER titles rather than the search results, and put any offer whose title carries no size into a third pile rather than dropping it: one merchant's title omits the size entirely, so a strict filter can throw away the cheapest matching pack. check that pile before you name a winner. most search titles carry no size at all, and filtering there throws away the right row and keeps the wrong battery
```

Listed price: $0.0003 15 offers, two calls.

Endpoints for this job:

- [`litescrape /google/shopping`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`litescrape /google/shopping-product`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`apify /damilo/google-shopping-apify`](https://dev.monid.ai/tools/apify.md), $0.0035 / result (the one this guide ran)
- [`apify /burbn/google-shopping-scraper`](https://dev.monid.ai/tools/apify.md), $0.005 / result (the one this guide ran)

What a real run returned:

- **the spread**: $4.12 between the cheapest and the dearest shelf, which is 27.7%, on one identical pack in one country on one day
- **what it cost**: $0.0003 for fifteen merchant offers with direct store links, which is $0.00002 an offer
- **per unit instead**: $0.929 a cell at the bottom against $1.187 at the top, which is the number that actually decides the purchase
- **the two that had no price**: one big grocer's own page carried the product markup with its offers field set to null; one big hardware chain does not stock this size at all
- **where not to filter**: on the search list 12 of 20 titles carried no pack size at all, the correct top result among them, and one row that survived the filter was a different battery size entirely

### 2. Why the cheapest row is the worst deal

Ask your agent:

```text
when you rank the offers for <product>, print the pack size next to every price and the price per unit. do not trust the product's own count field: it came back reading '8 pack, 16 pack' for a single product, so the list mixes two sizes
```

Listed price: $0.00 read the title, not the field.

Endpoints for this job:

- [`litescrape /google/shopping-product`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`litescrape /google/shopping`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`apify /burbn/google-shopping-scraper`](https://dev.monid.ai/tools/apify.md), $0.005 / result (the one this guide ran)

What a real run returned:

- **what happened**: the top row after sorting by price is 38% cheaper on the shelf and 23.6% more expensive per battery, because it is half the pack
- **why nothing caught it**: the record carries no pack-size field; the only signal is free text in the offer title, and the product's own count spec reads "8 pack, 16 pack"
- **eight spellings of one number**: the same pack size arrived as ( 16 -Pack), 8pk, Pack Of 8, 8/Pack, 16 X Aa Type, 8Ctbattery and 16 pk., and one merchant's title carried no size at all; a first-pass pattern missed three offers in fifteen
- **the spec sheet is not safe either**: the same product record gives the voltage of a 1.5 V cell as 9 V, and do not reach for the part number instead: it returned a powersport battery, a coin cell and a lantern battery

### 3. The same answer for a fraction of the price

Ask your agent:

```text
get the google shopping results for <product> with litescrape on monid rather than an apify actor. they scrape the same page and cover the same shops, and the cheap one is a fraction of the price. do not expect a merchant link from either search route: open the product endpoint for those
```

Listed price: $0.00015 40 rows, one call.

Endpoints for this job:

- [`litescrape /google/shopping`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`apify /damilo/google-shopping-apify`](https://dev.monid.ai/tools/apify.md), $0.0035 / result (the one this guide ran)
- [`apify /burbn/google-shopping-scraper`](https://dev.monid.ai/tools/apify.md), $0.005 / result (the one this guide ran)

What a real run returned:

- **how identical**: 36 of the expensive endpoint's 40 rows matched the cheap one exactly on store and price
- **on coverage, a tie**: two runs hours apart put the cheap one at 37 stores then 33, and the expensive one at 34 then 33; the counts move with the SERP, so buy the parity, not a lead
- **the multiple**: 1,400x per row, $0.00000375 against $0.00525, for the same page scraped the same day, and the cheap one echoes every resolved parameter back while the actors echo nothing
- **neither search route links out**: 23 of the cheap route's 40 rows carried no link at all and the rest pointed at google; the actor always has a link and it also points at google. Merchant links live on the product endpoint only
- **the limit that is not a limit**: the pricier actor counts limit in pages, so asking for one returned forty records and billed $0.21; it does return on_sale and discount_percent as typed fields, which the cheap one does not

### 4. Go to the store itself

Ask your agent:

```text
scrape <store>'s own page for <product> with mrscraper on monid. send a zipCode only if the store rejects the call without one, because the largest store 500s every time you include it. expect raw HTML rather than parsed fields, and read the price out of the embedded state rather than the json-ld
```

Listed price: $0.04 four stores, two usable prices.

Endpoints for this job:

- [`mrscraper /walmart/product`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /meijer/product`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /kroger/product`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /homedepot/product`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /amazon/product`](https://dev.monid.ai/tools/mrscraper.md), $0.05

What a real run returned:

- **what you actually get**: raw page HTML with none of the documented parsed fields, on all three endpoints that worked; the pricing notes say so and the run bills either way
- **the zip code**: two endpoints require it at runtime while leaving it out of their published required list, one 400s without it while documenting it as optional, and the one that documents it 500s every time you send it, three attempts out of three
- **the hit rate**: two usable prices for $0.04, which is $0.02 a price, against $0.00002 an offer through the shopping route
- **the parsed alternative**: a generic detail scraper in the same aisle billed $0.016 against this endpoint's $0.01 and returned a parsed pack size and price, which this one does not; cheaper per unit in the catalog, dearer per call in practice

### 5. Cheapest in a whole category

Ask your agent:

```text
search <category> with litescrape google shopping on monid with sort_by set to '1' for price ascending, and do not believe the ranking: single cells sort above every multipack. the count refinement will not save you either, so compute the price per unit yourself and rank on that
```

Listed price: $0.00015 30 rows plus 11 facets.

Endpoints for this job:

- [`litescrape /google/shopping`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`apify /axesso_data/amazon-search-scraper`](https://dev.monid.ai/tools/apify.md), $0.0001 / result
- [`mrscraper /autozone/category`](https://dev.monid.ai/tools/mrscraper.md), $0.012
- [`mrscraper /lazada/category`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)

What a real run returned:

- **what sorting gives you**: the top four rows were a single cell at $0.44, a 60-pack listed at $0.46, another single at $0.49, and an industrial cell at $0.63; only one of those is a pack price
- **the fix that is not one**: the count facet is five ranges with no bucket for a specific pack size, the 8-to-24 bucket leaked single cells and a 60-pack, it disappears entirely on a branded query, and its own suggested links drop your sort order
- **the enum nobody can guess**: sort_by is a string, and '1' means price ascending; nothing about the value says so
- **the field that poisons a table**: old_price is often a unit price rather than an old price, $1.06/ct next to a $16.98 price, in the same field with no marker; a discount computed from those reports a 1,500% rise

### 6. The same product in another country

Ask your agent:

```text
get the offers for <product> with litescrape on monid again, this time with gl, hl and google_domain set for <country>. do not use the country's own store endpoint: use the shopping route with a locale
```

Listed price: $0.00015 a different market, not a conversion.

Endpoints for this job:

- [`litescrape /google/shopping-product`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`mrscraper /lazada/product`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /zepto/product`](https://dev.monid.ai/tools/mrscraper.md), $0.009 (the one this guide ran)
- [`mrscraper /shein/product`](https://dev.monid.ai/tools/mrscraper.md), $0.03 (the one this guide ran)
- [`mrscraper /1688/category`](https://dev.monid.ai/tools/mrscraper.md), $0.029 (the one this guide ran)

What a real run returned:

- **it is real, not cosmetic**: the same product id with a UK locale returned five offers in pounds from UK merchants, none of them the US sellers; that is a different market, not a currency conversion
- **what the country endpoints did**: two answered a JSON request with HTML and crashed the client, one validator demands a hostname the retailer does not use, and one 404'd; all of them billed $0.0000
- **the one that billed**: a 200 whose entire body was the url we sent it, charged $0.009, with the extra parameter we passed silently dropped from the echo
- **what thins out abroad**: fifteen offers became five, the related products disappeared, a reviews field the summary promises was absent in both countries, and the offers arrive in the shopping engine's order rather than by price
- **the caveat on the cheap price**: the pack-size trap crossed the border with us: the cheapest UK offer is an 8-pack, so check the size on both sides before you call it a saving

## More

- [Every how-to guide](https://dev.monid.ai/tutorial.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
