Pack Size & Unit Price Comparator avatar

Pack Size & Unit Price Comparator

Pricing

Pay per usage

Go to Apify Store
Pack Size & Unit Price Comparator

Pack Size & Unit Price Comparator

Compare pack sizes and unit prices in product pairs. Parse multipacks, normalize units and flag ambiguous comparisons. Bring your own product data.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Роман Стружков

Роман Стружков

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 days ago

Last modified

Categories

Share

Compare pack sizes and unit prices in product pairs you already collected. Use it after an Amazon, Walmart or other retailer export to check quantity-based comparisons before reviewing prices.

Supply pairs, a list of objects with a unique id and left/right offers. Each offer needs a positive price, a matching three-letter uppercase currency, and a separate packSize string. Choose the product pairs yourself: this Actor does not establish that two products have the same brand, model, quality or intended use.

Supported pack expressions are unambiguous quantities in grams/kilograms, milliliters/liters, or counts, including multipacks such as 6 x 500 ml. Put only the pack expression in packSize, not a full product title. Ambiguous units, mixed bundles, ranges and missing information require review instead of a guessed conversion.

Each pair produces a status, reason codes and parsed quantities. SAME_PACK means equal total quantity in the same dimension; it does not mean identical physical packaging or identical products. UNIT_COMPARABLE means different quantities can be compared in the same dimension. NOT_COMPARABLE covers incompatible dimensions or currencies. NEEDS_REVIEW identifies invalid or ambiguous input.

Prices per canonical unit use grams, milliliters or individual pieces. Multiply a per-gram price by 1000 to obtain a per-kilogram price, or a per-milliliter price by 1000 for a per-liter price. Decimal strings preserve financial precision; repeating divisions are rounded for display. The cheaper-side decision uses exact cross multiplication rather than the displayed rounded value.

The Actor processes at most 1000 pairs in one run. A malformed top-level input or duplicate pair ID fails the run. A malformed offer is reported in its pair's output so the remaining pairs can still be checked.

This is a data-processing Actor, not a website scraper. It does not open product URLs, fetch missing fields, convert currencies, include shipping or tax automatically, or change marketplace listings. Include the same cost components on both sides when supplying prices.

No external AI service or product-data provider is called. Input and output use Apify's run storage; the Actor does not send them to another service. Do not submit secrets or personal customer information. Apify account access and storage-retention settings still apply.

Launch pricing: no additional developer fee. Apify platform usage charges may apply according to your plan; check the Pricing tab before running. This initial release tests usefulness and does not establish future pricing or merchant demand.

If a comparison is wrong or an expression is rejected unexpectedly, open an issue with the pack strings, expected result and a redacted input example. Do not include tokens, private account links or confidential supplier data. Review the output before changing prices; the Actor provides quantity calculations, not pricing advice.

Try the example

The input form contains these synthetic examples. Replace them with your own pack expressions and prices. Both sides of each pair must already represent products you intend to compare.

{
"pairs": [
{
"id": "detergent-example",
"left": {
"price": "12.50",
"currency": "USD",
"packSize": "6 x 500 ml"
},
"right": {
"price": "4.20",
"currency": "USD",
"packSize": "1 L"
}
},
{
"id": "paper-example",
"left": {
"price": "9.00",
"currency": "USD",
"packSize": "12 pcs"
},
"right": {
"price": "4.50",
"currency": "USD",
"packSize": "6 pcs"
}
},
{
"id": "manual-review-example",
"left": {
"price": "5.00",
"currency": "USD",
"packSize": "12 oz"
},
"right": {
"price": "6.00",
"currency": "USD",
"packSize": "500 g"
}
}
]
}