{"slug":"grundpreis-halowerk-com-v1-unit-price-931f6d","title":"Computes the unit price (German Grundpreis) of a grocery pack","host":"grundpreis.halowerk.com","method":"POST","resource":"https://grundpreis.halowerk.com/v1/unit-price","category":"market","description":"Computes the unit price (German Grundpreis) of a grocery pack. Pass the price in EUR and either a quantity text (e.g. \"500 g\", \"1,5 l\", \"6 x 0,33 l\", \"4x125g\") or an EAN; with an EAN the pack size is taken from Open Food Facts. Returns the parsed quantity, the normalised base quantity in kg or l, th","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":931,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"price_eur":2.49,"quantity":"6 x 0,33 l"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"ean":{"description":"Alternative to quantity: pack size from Open Food Facts.","maxLength":14,"minLength":8,"type":"string"},"price_eur":{"exclusiveMinimum":0,"maximum":100000,"type":"number"},"quantity":{"description":"Pack quantity text, e.g. \"500 g\", \"6 x 0,33 l\".","maxLength":40,"minLength":1,"type":"string"}},"required":["price_eur"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":931,"error":null}],"description_full":"Computes the unit price (German Grundpreis) of a grocery pack. Pass the price in EUR and either a quantity text (e.g. \"500 g\", \"1,5 l\", \"6 x 0,33 l\", \"4x125g\") or an EAN; with an EAN the pack size is taken from Open Food Facts. Returns the parsed quantity, the normalised base quantity in kg or l, the price per kg or l and per 100 g or 100 ml, and where the quantity came from. If the quantity cannot be determined the unit price is null and the reason is given; nothing is estimated.","last_updated":"2026-10-20T08:37:57.967Z","schemes":["exact"]}