israeli-grocery-price-intelligence
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIsraeli Grocery Price Intelligence
以色列食品杂货价格情报
Instructions
使用说明
Preferred: Use the Supermarket Prices MCP Server
首选方案:使用超市价格MCP服务器
If the user has the supermarket-prices MCP server installed, use it instead of manually fetching XML feeds. The MCP handles authentication, CSRF tokens, SSL issues, and platform quirks automatically.
Install instructions: https://agentskills.co.il/he/mcp/supermarket-prices
Available MCP tools:
- -- list all ~35 chains with data source info (web / publishprice / FTP)
list_chains - -- search by product name or barcode
search_products - -- cross-chain price comparison, sorted cheapest first
compare_prices - -- current sales and promotions per chain
get_promotions - -- store locations, filterable by city
get_store_data - -- browse raw XML price files
get_chain_files - -- reference docs for the XML schema and fields
get_xml_schema_info
If the MCP is available, skip Steps 1-2 and use MCP tools directly for Steps 3-6. If the MCP is not installed, fall back to the manual XML feed approach below.
如果用户已安装supermarket-prices MCP服务器,请使用该服务器而非手动获取XML馈送。MCP会自动处理身份验证、CSRF令牌、SSL问题及平台特性。
可用MCP工具:
- -- 列出所有约35个连锁品牌及其数据源信息(网页/发布价格/FTP)
list_chains - -- 按产品名称或条形码搜索
search_products - -- 跨连锁价格比较,按价格从低到高排序
compare_prices - -- 各连锁品牌当前的促销活动
get_promotions - -- 门店位置,可按城市筛选
get_store_data - -- 浏览原始XML价格文件
get_chain_files - -- XML架构及字段的参考文档
get_xml_schema_info
如果MCP可用,请跳过步骤1-2,直接使用MCP工具执行步骤3-6。若未安装MCP,则使用以下手动XML馈送方案。
Step 1: Access Supermarket XML Feeds (Manual Fallback)
步骤1:访问超市XML馈送(手动备选方案)
Under the Promotion of Competition in the Food and Pharma Sector Law (חוק קידום התחרות בענפי המזון והפארם, 2014, in force since 2015), Israeli supermarket and pharmacy chains with 3+ stores must publish product prices as XML files. The "Pharma" in the law name is why Super-Pharm and Good Pharm publish too, but pharmacy feeds cover drugstore SKUs (toiletries, OTC, baby food) only, not fresh produce or dairy.
- Available data files per chain (filename prefixes per the government spec):
- PriceFull -- full snapshot of the product catalog with prices
- Price -- delta updates between full snapshots
- PromoFull + Promo -- full snapshot and deltas of current sales and promotions
- StoresFull + Stores -- store locations and details
- File naming format: where ChainId is the 13-digit Israeli EAN prefix and the timestamp is the file generation moment in Israel time
Price{Full}<ChainId>-<StoreId>-<yyyyMMddHHmm>.xml.gz - Full snapshots typically refreshed daily (overnight, 01:00-05:00 IL time); delta files may be pushed several times per day
- See for per-chain endpoints, access methods, and Cerberus authentication
references/chain-feeds.md
Chains publish through three platforms (not individual domains):
| Platform | URL | Chains |
|---|---|---|
| Shufersal Direct | https://prices.shufersal.co.il | Shufersal |
| Carrefour Israel Direct | https://prices.carrefour.co.il | Carrefour Israel (operates Carrefour, Mega, and Yeinot Bitan branded stores under one Electra franchise) |
| Cerberus (PublishedPrices) | https://url.publishedprices.co.il/login | Rami Levy, Yochananof, Victory, Osher Ad, Tiv Taam, Hazi Hinam, Mega (legacy feed), Dor Alon, Super-Pharm, Good Pharm, and ~20 more smaller chains. Total ~30 chains across this platform |
The previously separate "Nibit (Matrix)" platform at is no longer reachable (the host times out as of May 2026). Victory and other chains formerly published there now publish through the Cerberus platform.
matrixcatalog.co.ilCerberus requires real authentication, not just a URL fetch. A GET on the file directory without an active session returns the login HTML, not data. The flow is: GET → parse the value AND keep the response cookie → POST with , , → reuse the cookie for to list files and to download. See for the full flow and per-chain credentials.
/login<meta name="csrftoken">/loginusername=<chain-code>password=<password-or-empty>csrftoken=<value>/file/json/dir/file/d/<filename>references/chain-feeds.md根据《食品与制药行业竞争促进法》(希伯来语:חוק קידום התחרות בענפי המזון והפארם,2014年颁布,2015年生效),拥有3家及以上门店的以色列超市和药房连锁品牌必须以XML文件形式发布产品价格。法律名称中的“制药”一词是Super-Pharm和Good Pharm也需发布价格的原因,但药房馈送仅涵盖药店SKU(洗护用品、非处方药、婴儿食品),不包括新鲜农产品或乳制品。
- 各连锁品牌的可用数据文件(文件名前缀符合政府规范):
- PriceFull -- 产品目录及价格的完整快照
- Price -- 完整快照之间的增量更新
- PromoFull + Promo -- 当前促销活动的完整快照及增量更新
- StoresFull + Stores -- 门店位置及详细信息
- 文件命名格式:,其中ChainId为13位以色列EAN前缀,时间戳为以色列当地时间的文件生成时刻
Price{Full}<ChainId>-<StoreId>-<yyyyMMddHHmm>.xml.gz - 完整快照通常每日更新(夜间01:00-05:00以色列时间);增量文件可能每日推送多次
- 有关各连锁品牌的端点、访问方式及Cerberus身份验证信息,请参阅
references/chain-feeds.md
连锁品牌通过三个平台发布数据(而非独立域名):
| 平台 | URL | 覆盖连锁品牌 |
|---|---|---|
| Shufersal直连平台 | https://prices.shufersal.co.il | Shufersal |
| 以色列Carrefour直连平台 | https://prices.carrefour.co.il | 以色列Carrefour(由Electra特许经营,旗下运营Carrefour、Mega和Yeinot Bitan品牌门店) |
| Cerberus(PublishedPrices) | https://url.publishedprices.co.il/login | Rami Levy、Yochananof、Victory、Osher Ad、Tiv Taam、Hazi Hinam、Mega(旧馈送)、Dor Alon、Super-Pharm、Good Pharm及约20家其他小型连锁品牌。该平台共覆盖约30个连锁品牌 |
此前独立的“Nibit (Matrix)”平台()自2026年5月起已无法访问(主机超时)。Victory及其他曾在该平台发布数据的连锁品牌现已转至Cerberus平台。
matrixcatalog.co.ilCerberus需要真实身份验证,而非仅通过URL获取数据。 在无有效会话的情况下对文件目录发起GET请求,返回的是登录HTML而非数据。流程为:GET → 解析值并保留响应Cookie → 使用、、发起POST 请求 → 复用Cookie访问列出文件,访问下载文件。有关完整流程及各连锁品牌的凭据,请参阅。
/login<meta name="csrftoken">username=<chain-code>password=<password-or-empty>csrftoken=<value>/login/file/json/dir/file/d/<filename>references/chain-feeds.mdStep 2: Parse Chain-Specific Data Formats
步骤2:解析特定连锁品牌的数据格式
Each chain publishes in a slightly different XML schema. Major chains:
| Chain | Hebrew Name | Platform | Notes |
|---|---|---|---|
| Shufersal | שופרסל | Direct (prices.shufersal.co.il) | Largest chain (~400 stores across Shufersal Deal, Sheli, Yesh, and Express banners), most structured data |
| Rami Levy | רמי לוי | Cerberus | Known for low prices, 50+ stores |
| Yochananof | יוחננוף | Cerberus | Central Israel focus |
| Victory | ויקטורי | Cerberus | Independently owned (Ravid family, publicly traded VCTR.TA), 60+ stores; completely separate from Carrefour Israel |
| Carrefour Israel | קרפור ישראל | Direct (prices.carrefour.co.il) | Electra Consumer Products franchise; operates Carrefour, Mega, and Yeinot Bitan branded stores in parallel (not all stores converted to Carrefour) |
| Osher Ad | אושר עד | Cerberus (username: | Discount chain, 20+ large-format stores |
| Tiv Taam | טיב טעם | Cerberus | Non-kosher items available; merged with East & West Import & Marketing Dec 2024 |
Use to parse feeds into normalized JSON format.
Key fields: item_code, item_name, manufacturer, price, unit_price, quantity, unit_of_measure, is_weighted, update_date
scripts/parse_price_xml.pyWeighted-item math: when , is the price per kilogram, NOT the price of the package on the shelf. may be empty or fractional. Cross-chain comparisons must compare per-kg unit prices for these items, otherwise a 250g pack at 12 NIS/kg (= 3 NIS at the till) looks more expensive than a 1kg pack at 11 NIS/kg.
bIsWeighted=1ItemPriceQuantity每个连锁品牌发布的XML架构略有不同。主要连锁品牌如下:
| 连锁品牌 | 希伯来语名称 | 平台 | 说明 |
|---|---|---|---|
| Shufersal | שופרסל | 直连平台(prices.shufersal.co.il) | 以色列最大连锁品牌(旗下有Shufersal Deal、Sheli、Yesh和Express等门店类型,共约400家门店),数据结构最规范 |
| Rami Levy | רמי לוי | Cerberus | 以低价著称,拥有50多家门店 |
| Yochananof | יוחננוף | Cerberus | 聚焦以色列中部地区 |
| Victory | ויקטורי | Cerberus | 独立运营(Ravid家族,上市公司VCTR.TA),拥有60多家门店;与以色列Carrefour完全独立 |
| Carrefour Israel | קרפור ישראל | 直连平台(prices.carrefour.co.il) | Electra Consumer Products特许经营;同时运营Carrefour、Mega和Yeinot Bitan品牌门店(并非所有门店都已转为Carrefour品牌) |
| Osher Ad | אושר עד | Cerberus(用户名: | 折扣连锁品牌,拥有20多家大型门店 |
| Tiv Taam | טיב טעם | Cerberus | 提供非洁食产品;2024年12月与East & West Import & Marketing合并 |
使用将馈送解析为标准化JSON格式。
关键字段:item_code、item_name、manufacturer、price、unit_price、quantity、unit_of_measure、is_weighted、update_date
scripts/parse_price_xml.py称重商品计算规则:当时,为每公斤价格,而非货架上包装商品的价格。可能为空或为小数。跨连锁比较时,必须对比这些商品的每公斤单价,否则250克包装、单价12新谢克尔/公斤(结账时为3新谢克尔)的商品看起来会比1公斤包装、单价11新谢克尔/公斤的商品更贵。
bIsWeighted=1ItemPriceQuantityStep 3: Cross-Chain Price Comparison
步骤3:跨连锁价格比较
Match products across chains by:
- Barcode (most reliable, Israeli standard barcode prefix 729)
- Item name + manufacturer (fuzzy matching for naming differences)
- Item code (chain-specific, less reliable for cross-chain)
Generate comparison table for specific products:
- Calculate: cheapest chain, average price, price spread (max-min)
- Handle store-specific pricing (same chain may have different prices by location)
通过以下方式匹配不同连锁品牌的产品:
- 条形码(最可靠,以色列标准条形码前缀为729)
- 产品名称+制造商(针对命名差异使用模糊匹配)
- 产品代码(连锁品牌专属,跨连锁匹配可靠性较低)
生成特定产品的比较表格:
- 计算:价格最低的连锁品牌、平均价格、价格区间(最高价-最低价)
- 处理门店专属定价(同一连锁品牌不同门店价格可能不同)
Step 4: Optimize Shopping Lists
步骤4:优化购物清单
Given a shopping list, find the cheapest option:
- Single-store: cheapest store for entire basket
- Multi-store: optimal split across 2-3 nearby stores (minimize cost + travel)
Factor in current promotions from the feed. Each promotion has a that controls how the discount applies (1 = flat discounted price, 2 = fixed price for N units, 3 = Nth-item discount, etc.), plus / thresholds, an optional , and a . A non-zero means the discount applies only to chain club members (Shufersal Sofash, Rami Levy club, etc.) and should NOT be applied to a guest basket. Handle substitutions: suggest cheaper alternatives for similar products.
PromoFullRewardTypeMinQtyMaxQtyMinPurchaseAmntClubIdClubIdCalculate total basket cost per scenario. Consider user preferences: kosher requirements, organic options, brand preferences.
给定购物清单,找出最便宜的购买方案:
- 单门店方案:购买整个购物篮最便宜的门店
- 多门店方案:在2-3家附近门店之间进行最优拆分(最小化成本+出行成本)
需考虑馈送中的当前促销活动。每个促销活动包含字段,用于控制折扣应用方式(1=固定折扣价,2=N件商品固定总价,3=第N件商品折扣等),以及/阈值、可选的和。若非零,则折扣仅适用于连锁品牌会员(如Shufersal Sofash、Rami Levy俱乐部等),不应应用于非会员购物篮。处理替代方案:为相似产品推荐更便宜的替代品。
PromoFullRewardTypeMinQtyMaxQtyMinPurchaseAmntClubIdClubId计算各场景下的购物篮总成本。需考虑用户偏好:洁食要求、有机选项、品牌偏好。
Step 5: Track Price Trends
步骤5:跟踪价格趋势
Monitor prices over time for tracked products:
- Alert on significant changes (>10% increase or decrease)
- Weekly price trend report for tracked categories
- Track inflation patterns by food category
- Compare against CPI food component data
监控追踪产品的价格变化:
- 价格大幅变动时发出警报(涨幅或跌幅>10%)
- 生成追踪品类的每周价格趋势报告
- 按食品品类追踪通胀模式
- 与CPI食品成分数据进行对比
Step 6: Restaurant/Catering Ingredient Cost Analysis
步骤6:餐厅/餐饮食材成本分析
For restaurant owners: calculate ingredient costs from supermarket data.
- Input: recipe with ingredients and quantities
- Output: cost per serving based on cheapest available prices
- Track ingredient cost trends over time
- Alert when key ingredient prices spike
- Generate monthly cost report for menu pricing decisions
为餐厅经营者:利用超市数据计算食材成本。
- 输入:包含食材及用量的食谱
- 输出:基于最低可用价格的每份成本
- 跟踪食材成本随时间的变化趋势
- 关键食材价格飙升时发出警报
- 生成月度成本报告,用于菜单定价决策
Examples
示例
Example 1: Compare Milk Prices Across Chains
示例1:跨连锁品牌比较牛奶价格
User says: "What's the cheapest place to buy Tnuva 3% milk 1 liter?"
Actions:
- Query PricesFull feeds from all chains for item (barcode matching)
- Compile prices per chain and store location
- Apply any active promotions from PricesPromotions
- Generate comparison table sorted by price Result: Cheapest: Rami Levy at 5.90 NIS, Osher Ad at 6.10 NIS, Shufersal at 6.50 NIS (but 2-for-10 promo active). With Shufersal promo, buying 2 = 5.00 NIS each. Recommendation: Shufersal if buying 2+, Rami Levy for single.
用户提问:“在哪里买1升装Tnuva 3%牛奶最便宜?”
操作步骤:
- 查询所有连锁品牌的PricesFull馈送,匹配对应产品(通过条形码匹配)
- 整理各连锁品牌及门店位置的价格
- 应用PricesPromotions中的当前促销活动
- 生成按价格排序的比较表格 结果:最低价:Rami Levy 5.90新谢克尔,Osher Ad 6.10新谢克尔,Shufersal 6.50新谢克尔(但有买2付10新谢克尔的促销活动)。若参与Shufersal促销,买2件则每件5.00新谢克尔。建议:购买2件及以上选Shufersal,购买单件选Rami Levy。
Example 2: Optimize Weekly Shopping List
示例2:优化每周购物清单
User says: "Here's my shopping list for the week, find me the cheapest option near Ramat Gan"
Actions:
- Parse shopping list (15 items)
- Find prices at chains with stores near Ramat Gan
- Calculate: single-store (Rami Levy: 285 NIS, Shufersal: 310 NIS, Yochananof: 295 NIS)
- Calculate: optimal 2-store split (Rami Levy + Shufersal with promos: 262 NIS)
- Suggest 3 substitutions saving additional 18 NIS Result: Best single-store: Rami Levy at 285 NIS. Optimal split: Rami Levy (10 items, 195 NIS) + Shufersal (5 items with promos, 67 NIS) = 262 NIS. Total savings vs single-store: 23 NIS.
用户提问:“这是我的每周购物清单,帮我找到拉马特甘附近最便宜的购买方案”
操作步骤:
- 解析购物清单(15件商品)
- 查询拉马特甘附近有门店的连锁品牌的价格
- 计算单门店方案(Rami Levy:285新谢克尔,Shufersal:310新谢克尔,Yochananof:295新谢克尔)
- 计算最优双门店拆分方案(Rami Levy + 参与促销的Shufersal:262新谢克尔)
- 推荐3个替代产品,可额外节省18新谢克尔 结果:最佳单门店方案:Rami Levy 285新谢克尔。最优拆分方案:Rami Levy(10件商品,195新谢克尔)+ Shufersal(5件参与促销的商品,67新谢克尔)= 262新谢克尔。与单门店方案相比,总计节省23新谢克尔。
Example 3: Track Ingredient Costs for Restaurant Menu
示例3:跟踪餐厅菜单食材成本
User says: "Track the cost of ingredients for my shakshuka dish, tomatoes, eggs, onions, peppers, spices"
Actions:
- Identify matching products in price feeds (fresh tomatoes, eggs size L, yellow onions, bell peppers, cumin, paprika)
- Find cheapest per ingredient across chains
- Calculate cost per serving (2 eggs, 3 tomatoes, 1 onion, 1 pepper, spices)
- Set up weekly price monitoring for these ingredients
- Generate baseline cost report Result: Current cost per serving: 8.40 NIS (cheapest chain combination). Eggs are 32% of cost. Price alert configured, you'll be notified if any ingredient price changes >10%.
用户提问:“跟踪我制作沙卡舒卡所需食材的成本,包括番茄、鸡蛋、洋葱、辣椒、香料”
操作步骤:
- 在价格馈送中匹配对应产品(新鲜番茄、L号鸡蛋、黄洋葱、甜椒、孜然、辣椒粉)
- 找出各食材在所有连锁品牌中的最低价
- 计算每份成本(2个鸡蛋、3个番茄、1个洋葱、1个辣椒、香料)
- 为这些食材设置每周价格监控
- 生成基准成本报告 结果:当前每份成本:8.40新谢克尔(采用各食材最低价的连锁品牌组合)。鸡蛋占成本的32%。已配置价格警报,若任何食材价格变动超过10%,将通知您。
Bundled Resources
附带资源
References
参考资料
- -- Per-chain feed endpoints organized by platform (Shufersal Direct, Carrefour Direct, Cerberus / PublishedPrices). Includes XML schema documentation, update schedules, and known format variations. Consult when accessing chain data in Steps 1-2.
references/chain-feeds.md
- -- 按平台(Shufersal直连平台、Carrefour直连平台、Cerberus/PublishedPrices)整理的各连锁品牌馈送端点。包含XML架构文档、更新时间表及已知格式差异。执行步骤1-2访问连锁品牌数据时,请参考此文档。
references/chain-feeds.md
Scripts
脚本
- -- Parses Israeli supermarket XML price feeds into normalized JSON. Supports Shufersal, Rami Levy, and other chain formats. Handles gzipped XML files and character encoding. Run:
scripts/parse_price_xml.pypython scripts/parse_price_xml.py --help
- -- 将以色列超市XML价格馈送解析为标准化JSON格式。支持Shufersal、Rami Levy及其他连锁品牌的格式。可处理gzip压缩的XML文件及字符编码。运行方式:
scripts/parse_price_xml.pypython scripts/parse_price_xml.py --help
Recommended MCP Servers
推荐MCP服务器
| MCP | What It Adds |
|---|---|
| Israeli Supermarket Prices | Wraps the Price Transparency Law feeds across ~35 chains. Handles Shufersal direct, Carrefour publishprice, and Cerberus FTP transports automatically. Use it instead of the manual XML steps when available. |
| Shufersal MCP | Adds cart automation on shufersal.co.il (search, add to cart, recipe-to-cart). Complements price intelligence with the actual checkout flow. |
| MCP | 新增功能 |
|---|---|
| 以色列超市价格 | 封装了约35个连锁品牌的《价格透明法》馈送。自动处理Shufersal直连、Carrefour发布价格及Cerberus FTP传输。可用时请优先使用该服务器,而非手动XML步骤。 |
| Shufersal MCP | 在shufersal.co.il上添加购物车自动化功能(搜索、添加至购物车、食谱转购物车)。将价格情报与实际结账流程相结合。 |
Gotchas
注意事项
- Most chains do NOT have their own domain. Rami Levy, Yochananof, Victory, Osher Ad, Tiv Taam, and ~20 other chains all publish through the Cerberus platform at
prices.X.co.il. Agents that fabricate per-chain URLs will get connection errors. Always consulturl.publishedprices.co.ilfor verified endpoints.references/chain-feeds.md - Cerberus is NOT a static file server. A naive returns the login page (HTTP 200 with HTML, not the file). You must first GET
curl https://url.publishedprices.co.il/file/d/PriceFull...xml.gz, parse the/loginfrom thecsrftokentag, keep the response cookie, then POST<meta name="csrftoken">with the chain username, an empty password if the chain is public, and the csrftoken. Only then do file listing and download endpoints return data./login - The legacy "Nibit (Matrix)" platform at is no longer reachable as of May 2026 (curl times out after 10s). Victory and other chains that previously published there now use Cerberus. Skills or agents still pointing at matrixcatalog.co.il will fail.
matrixcatalog.co.il/NBCompetitionRegulations.aspx - Prices in Israel include VAT (18%) by default, unlike US prices which are pre-tax. The 18% rate has been in effect since 1 Jan 2025 (raised from 17%); a proposed Jan 2026 increase to 19% was rejected in the Knesset budget vote. Agents trained before 2025 may "correct" 18% back to 17% — they should not. Agents may also perform cost comparisons that double-count or ignore VAT depending on their training data assumptions.
- Israeli product barcodes use the 729 country prefix, but some imported products retain their original country barcode. Agents may fail cross-chain matching when the same product has different barcode formats across chains. Store-brand items often use internal codes starting with and cannot be cross-matched at all.
2 - Promotions with are restricted to chain club members (Shufersal Sofash, Rami Levy club, Yochananof Club, etc.) and should NOT be applied to a generic basket-cost estimate. Many naive agents ignore
ClubId != 0and report inflated savings.ClubId - "Mega" and "Yeinot Bitan" did not fully rebrand to Carrefour. The Electra Consumer Products franchise (April 2022, 20-year term) operates all three banners in parallel; some stores were converted to Carrefour, others retained the Mega or Yeinot Bitan banner. A legacy "Mega" feed still exists on Cerberus alongside the Carrefour Direct portal. "Victory" is a completely separate, independently owned company (Ravid family, VCTR.TA). Agents may still confuse these as related entities.
- Pharmacy chains (Super-Pharm, Good Pharm) ARE covered by the law and publish through Cerberus, but their SKU range is drugstore items (toiletries, OTC, baby food) without fresh produce, dairy, or meat. Don't try to price-compare milk at Super-Pharm.
- Promotions in Israeli supermarkets often have conditions agents miss: "buy 2 get discount" (2 b-X shekel) is with
RewardType=2; "buy 3 pay for 2" isMinQty=2; some haveRewardType=3thresholds; regional promotions apply only to specific store IDs.MinPurchaseAmnt
- 大多数连锁品牌没有自己的域名。Rami Levy、Yochananof、Victory、Osher Ad、Tiv Taam及约20家其他连锁品牌均通过Cerberus平台(
prices.X.co.il)发布数据。自行编造连锁品牌URL的Agent会遇到连接错误。请始终查阅url.publishedprices.co.il获取已验证的端点。references/chain-feeds.md - Cerberus不是静态文件服务器。直接执行会返回登录页面(HTTP 200,但内容为HTML而非文件)。必须先执行GET
curl https://url.publishedprices.co.il/file/d/PriceFull...xml.gz,从/login标签中提取<meta name="csrftoken">,保存响应Cookie,然后使用连锁品牌用户名、空密码(若连锁品牌为公开)和csrftoken发起POSTcsrftoken请求。只有这样,文件列表和下载端点才会返回数据。/login - 旧版“Nibit (Matrix)”平台()自2026年5月起已无法访问(curl请求10秒后超时)。Victory及其他曾在该平台发布数据的连锁品牌现已使用Cerberus平台。仍指向matrixcatalog.co.il的技能或Agent会执行失败。
matrixcatalog.co.il/NBCompetitionRegulations.aspx - 以色列的价格默认包含增值税(18%),与美国价格(税前)不同。18%的税率自2025年1月1日起生效(从17%上调);2026年1月拟上调至19%的提案在议会预算投票中被否决。2025年前训练的Agent可能会将18%“修正”回17%——请勿执行此操作。Agent还可能因训练数据假设的不同,在成本比较中重复计算或忽略增值税。
- 以色列产品使用729国家前缀条形码,但部分进口产品保留原产国条形码。同一产品在不同连锁品牌中使用不同条形码格式时,Agent可能无法完成跨连锁匹配。自有品牌产品通常使用以开头的内部代码,完全无法跨连锁匹配。
2 - 的促销活动仅适用于连锁品牌会员(如Shufersal Sofash、Rami Levy俱乐部、Yochananof Club等),不应应用于通用购物篮成本估算。许多基础Agent会忽略
ClubId != 0,从而报告虚高的节省金额。ClubId - “Mega”和“Yeinot Bitan”并未完全重新品牌化为Carrefour。Electra Consumer Products特许经营(2022年4月,期限20年)同时运营这三个品牌;部分门店已转为Carrefour品牌,其他门店仍保留Mega或Yeinot Bitan品牌。Cerberus上仍存在旧版“Mega”馈送,与Carrefour直连门户并行。“Victory”是完全独立的公司(Ravid家族,VCTR.TA)。Agent可能仍会将这些品牌混淆为关联实体。
- 药房连锁品牌(Super-Pharm、Good Pharm)受该法律约束,并通过Cerberus发布数据,但它们的SKU范围仅为药店商品(洗护用品、非处方药、婴儿食品),不包括新鲜农产品、乳制品或肉类。请勿尝试在Super-Pharm比较牛奶价格。
- 以色列超市的促销活动通常包含Agent容易忽略的条件:“买2件享折扣”(2件X谢克尔)对应且
RewardType=2;“买3件付2件的钱”对应MinQty=2;部分促销活动有RewardType=3阈值;区域促销仅适用于特定门店ID。MinPurchaseAmnt
Reference Links
参考链接
| Source | URL | What to Check |
|---|---|---|
| Wikipedia, Promotion of Competition in Food and Pharma Law (Hebrew) | https://he.wikipedia.org/wiki/חוק_קידום_התחרות_בענפי_המזון_והפארם | Plain-language summary, legislative history, recent amendments |
| Wikipedia, List of supermarket chains in Israel | https://en.wikipedia.org/wiki/List_of_supermarket_chains_in_Israel | Current chain ownership, store counts, brand consolidations |
| Shufersal Direct Portal | https://prices.shufersal.co.il | Live PriceFull/PricesPromotions/Stores feeds for Shufersal |
| Cerberus PublishedPrices Portal | https://url.publishedprices.co.il/login | Live feeds for Rami Levy, Yochananof, Victory, Tiv Taam, Osher Ad, Mega, and ~25 other chains |
| Carrefour Israel Direct Portal | https://prices.carrefour.co.il | Live feeds for Carrefour / Mega / Yeinot Bitan stores |
| OpenIsraeliSupermarkets, community parsers | https://github.com/OpenIsraeliSupermarkets | Reference Python scrapers and parsers used by the community. The active library is |
| Wikipedia, Taxation in Israel | https://en.wikipedia.org/wiki/Taxation_in_Israel | Current Israeli VAT rate (18% since 1 Jan 2025), includes historical rate changes |
| 来源 | URL | 查看内容 |
|---|---|---|
| 维基百科,《食品与制药行业竞争促进法》(希伯来语) | https://he.wikipedia.org/wiki/חוק_קידום_התחרות_בענפי_המזון_והפארם | 通俗易懂的摘要、立法历史、最新修订内容 |
| 维基百科,以色列连锁超市列表 | https://en.wikipedia.org/wiki/List_of_supermarket_chains_in_Israel | 当前连锁品牌所有权、门店数量、品牌整合情况 |
| Shufersal直连门户 | https://prices.shufersal.co.il | Shufersal的实时PriceFull/PricesPromotions/Stores馈送 |
| Cerberus PublishedPrices门户 | https://url.publishedprices.co.il/login | Rami Levy、Yochananof、Victory、Tiv Taam、Osher Ad、Mega及约25家其他连锁品牌的实时馈送 |
| 以色列Carrefour直连门户 | https://prices.carrefour.co.il | Carrefour/Mega/Yeinot Bitan门店的实时馈送 |
| OpenIsraeliSupermarkets,社区解析器 | https://github.com/OpenIsraeliSupermarkets | 社区使用的参考Python爬虫和解析器。活跃库为 |
| 维基百科,以色列税收 | https://en.wikipedia.org/wiki/Taxation_in_Israel | 当前以色列增值税率(2025年1月1日起为18%),包括历史税率变化 |
Troubleshooting
故障排除
Error: "XML feed download failed"
错误:“XML馈送下载失败”
Cause: Chain's price transparency server is temporarily down or URL has changed.
Solution: Check if the chain updated their feed URL (this happens occasionally). The Cerberus platform occasionally has SSL certificate issues; try HTTP if HTTPS fails. Feeds are typically most reliable in the morning hours (updated overnight). See for current URLs.
references/chain-feeds.md原因:连锁品牌的价格透明服务器暂时宕机或URL已更改。
解决方案:检查连锁品牌是否更新了馈送URL(这种情况偶尔会发生)。Cerberus平台偶尔会出现SSL证书问题;若HTTPS失败,可尝试HTTP。馈送通常在上午时段最可靠(夜间更新)。请参阅获取当前URL。
references/chain-feeds.mdError: "Product not found in cross-chain comparison"
错误:“跨连锁比较中未找到产品”
Cause: Product naming or barcode differs across chains.
Solution: Try matching by barcode first (most reliable). If barcode match fails, use fuzzy name matching with manufacturer. Some chains use different product names for the same item (e.g., "חלב תנובה 3%" vs "חלב 3% תנובה").
原因:不同连锁品牌的产品命名或条形码不同。
解决方案:优先尝试通过条形码匹配(最可靠)。若条形码匹配失败,使用产品名称+制造商进行模糊匹配。部分连锁品牌对同一产品使用不同名称(例如“חלב תנובה 3%”与“חלב 3% תנובה”)。
Error: "Price data outdated"
错误:“价格数据过时”
Cause: Using cached data from a previous day or the chain hasn't updated yet.
Solution: Check the UpdateDate field in the XML feed. Most chains update overnight. If data is >24 hours old, force a fresh download. Promotions feed updates may lag behind PricesFull updates.
原因:使用了前一天的缓存数据,或连锁品牌尚未更新数据。
解决方案:检查XML馈送中的UpdateDate字段。大多数连锁品牌会在夜间更新数据。若数据已超过24小时,强制重新下载。促销活动馈送的更新可能滞后于PricesFull馈送。
Error: "Shopping list optimization slow"
错误:“购物清单优化速度慢”
Cause: Comparing all items across all chains and all stores is computationally expensive.
Solution: Limit comparison to chains with stores within a configurable radius (default: 5 km). Pre-filter by chains the user actually shops at. Use cached price data instead of fetching fresh for every optimization.
原因:在所有连锁品牌和门店之间比较所有商品计算量较大。
解决方案:将比较范围限制在可配置半径内的连锁品牌门店(默认:5公里)。预先筛选用户实际常去的连锁品牌。使用缓存价格数据,而非每次优化都重新获取。
Error: "Cerberus platform returns empty page or login prompt"
错误:“Cerberus平台返回空页面或登录提示”
Cause: Cerberus requires an authenticated session, not a one-shot URL fetch. The most common failure mode is omitting the CSRF token or the session cookie.
Solution: Follow the full Cerberus auth flow documented in : GET , extract the value AND save the cookie from the response, POST with , (empty for public chains), and , reuse the cookie for and . Add a ≥1s delay between requests and use a realistic User-Agent header — Cerberus throttles aggressive listing.
references/chain-feeds.md/logincsrftoken<meta>/loginusername=<chain-code>password=csrftoken=<value>/file/json/dir/file/d/<filename>原因:Cerberus需要经过身份验证的会话,而非一次性URL获取。最常见的失败原因是遗漏CSRF令牌或会话Cookie。
解决方案:遵循中记录的完整Cerberus认证流程:GET ,提取标签中的值并保存响应Cookie,使用、(公开连锁品牌为空)和发起POST 请求,复用Cookie访问和。请求之间添加≥1秒的延迟,并使用真实的User-Agent头——Cerberus会限制过于频繁的请求。
references/chain-feeds.md/login<meta>csrftokenusername=<chain-code>password=csrftoken=<value>/login/file/json/dir/file/d/<filename>