{"uid":"cap_tb2a1AOz7ceAJg7iCSylU","slug":"grundpreis-pack-comparator-c76bf73a","name":"Grundpreis Pack Comparator","description":"Compare supplied packs within the same mass or volume basis. Example: 500 g at EUR 1.49 versus 1 kg at EUR 2.69. Unknown quantities and incompatible units are marked rather than silently compared.","url":"https://grundpreis.halowerk.com/v1/pack-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"packs":{"type":"array","items":{"type":"object","required":["price_eur"],"properties":{"ean":{"type":"string","maxLength":14,"minLength":8},"label":{"type":"string","maxLength":80},"quantity":{"type":"string","maxLength":40},"price_eur":{"type":"number","maximum":100000,"exclusiveMinimum":0}},"additionalProperties":false},"maxItems":20,"minItems":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cJ8YHQS0adxbtDApks_nB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two or more product packs on a normalized price-per-unit basis, flagging incompatible or unknown quantities rather than silently miscomparing them.","exampleAgentPrompt":"Compare these two packs for me: a 500g option at EUR 1.49 and a 1kg option at EUR 2.69 — which one is cheaper per kilogram, and flag it if they can't actually be compared on the same basis?","exampleUseCases":[{"title":"Grocery shopping unit price check","prompt":"I'm at the supermarket and I see yogurt in a 400g pot for EUR 0.99 and a 1kg tub for EUR 2.19 — which one is better value per 100g?"},{"title":"Own-brand vs name-brand comparison","prompt":"Can you compare these three pasta packs: the 500g store brand at EUR 0.79, the 1kg name-brand at EUR 1.89, and a 750g organic option at EUR 1.65 — rank them by price per kilogram?"},{"title":"Mixed units incompatibility detection","prompt":"Tell me if I can meaningfully compare a 330ml can of olive oil at EUR 2.50 against a 500g bottle at EUR 3.10 — and flag it if the units are incompatible."}],"resultDescription":"Returns a ranked list of the submitted packs with their normalized unit prices (e.g. price per kg or per litre), a best-value indicator, and explicit flags for any packs whose quantity was unrecognizable or whose units are incompatible with the others in the comparison set.","failureModes":["Quantity string cannot be parsed — pack is flagged as unknown rather than silently dropped","Units are incompatible across packs (e.g. grams vs millilitres) — comparison is flagged rather than forced","Fewer than 2 packs supplied — request rejected per minItems constraint","Price is zero or negative — rejected by exclusiveMinimum validation","EAN not found in Open Food Facts — quantity falls back to supplied quantity string or unknown flag"],"whenToPreferThis":"Choose this endpoint when you need to compare multiple product packs on a normalized per-unit basis and want incompatible or ambiguous quantities explicitly flagged rather than silently ignored. It is purpose-built for grocery and retail price-per-unit comparison (Grundpreis in German law sense) and handles mixed quantity strings gracefully. Prefer it over generic math when unit parsing and incompatibility detection matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:18:51.603Z","isFirstParty":false,"canonicalSlug":"grundpreis-pack-comparator-c76bf73a"}