askill
marktguru-grocery-deals

marktguru-grocery-dealsSafety 90Repository

Look up grocery deals and offers via Marktguru CLI/API. Use when user asks about supermarket discounts, product prices, current promotions, or comparing deals across Austrian retailers (Hofer, Billa, Spar, Lidl, etc.).

3 stars
1.2k downloads
Updated 2/6/2026

Package Files

Loading files...
SKILL.md

Marktguru Grocery Deals

Query Austrian grocery deals from Marktguru. Supports raw queries, structured search building, retailer filtering, and ZIP-code location targeting.

Quick Reference

CommandPurpose
search raw <query>Search with raw query string
search buildBuild query from structured flags
search syntaxShow supported query syntax
set-zip <code>Set default ZIP code
configShow current configuration
loginExtract API key from marktguru.at

Setup

Login (HTTP scan)

npx marktguru-cli login

Scans site HTML and boot scripts for embedded API keys. No browser automation required.

Set Default ZIP Code

npx marktguru-cli set-zip 1010
npx marktguru-cli set-zip 8010  # Graz

Check Config

npx marktguru-cli config
npx marktguru-cli config --json

Search Commands

Raw Query Search

npx marktguru-cli search raw "Milch"
npx marktguru-cli search raw "Milch" --limit 5
npx marktguru-cli search raw "Bier" --retailer HOFER
npx marktguru-cli search raw "Brot" --zip 8010
npx marktguru-cli search raw "Cola" --json

Common Options

FlagDescriptionDefault
--limit <n> / -nNumber of results10
--retailer <name> / -rFilter by retailer (e.g., SPAR, BILLA, HOFER)all
--zip <code> / -zZIP code for location-based resultsconfig default
--json / -jOutput JSONfalse

Structured Builder

Build queries from flags instead of raw strings:

npx marktguru-cli search build --term butter --explain
npx marktguru-cli search build --or butter --or margarine --explain
npx marktguru-cli search build --phrase "frische milch" --limit 5
npx marktguru-cli search build --wildcard "jogh*" --retailer SPAR
FlagDescription
--term <value>Add a search term
--phrase <value>Add exact phrase (quoted)
--wildcard <value>Add wildcard term (e.g., kell*)
--or <value>Add term to OR group (repeat for multiple)
--group <value>Add raw parenthesized group
--explainPrint the built query to stderr

Query Syntax

Supported:

  • OR — boolean OR: Milch OR Sahne
  • * — wildcard: Jogh* (matches Joghurt, Joghurtdrink, etc.)
  • "..." — exact phrase: "frische Milch"
  • () — grouping: (Milch OR Sahne) Bio

NOT supported: AND, NOT, ~, ^

Examples

# Simple term
npx marktguru-cli search raw "Butter"

# OR logic
npx marktguru-cli search raw "Käse OR Schinken"

# Wildcard
npx marktguru-cli search raw "Bio*"

# Combined with retailer filter
npx marktguru-cli search raw "Bier" --retailer HOFER --limit 10

# Exact phrase
npx marktguru-cli search raw '"Coca Cola"'

Known Retailers

RetailerNotes
SPAR
INTERSPARLarger SPAR format
SPAR-GourmetPremium SPAR
BILLA
BILLA PLUSLarger BILLA format
HOFERAustrian Aldi
Lidl
PENNY
dm drogerie marktDrugstore (some food items)
BIPADrugstore

JSON Output

npx marktguru-cli search raw "Cola" --limit 3 --json
{
  "query": "Cola",
  "total": 23,
  "offers": [
    {
      "title": "Coca-Cola - Cola - oder Fanta 1,5l",
      "price": 1.49,
      "retailer": "Sizin Foods GmbH",
      "expires": "2026-02-11",
      "discountPercent": null
    },
    {
      "title": "Coca-Cola - Cola - Zero / Fanta / Sprite Dose 330ml",
      "price": 0.6,
      "retailer": "Sizin Foods GmbH",
      "expires": "2026-02-11",
      "discountPercent": null
    },
    {
      "title": "Coca-Cola - Cola - div. Sorten 0,33 Liter",
      "price": 0.67,
      "retailer": "BILLA",
      "expires": "2026-02-11",
      "discountPercent": 50,
      "externalUrl": "https://shop.billa.at/produkte/..."
    }
  ]
}
FieldDescription
titleProduct name and brand
priceCurrent offer price (EUR)
retailerStore name
expiresOffer expiration date (YYYY-MM-DD)
discountPercentDiscount percentage (null if not on sale)
externalUrlDirect link to retailer (optional)

Human-Readable Output

Found 147 offers for "Milch":

Premium Bergbauern H-Milch [Salzburg Milch]
  💰 €0.99 (was €1.59) -38% · €0.99/l
  📦 3,5% Fett oder 0,5% Fett aus Österreich, 1 Liter
  🏪 SPAR · 20 days left

📍 Retailers: Lidl (33), SPAR (30), PENNY (17), INTERSPAR (16), BILLA PLUS (11)

Config

Credentials and settings stored at ~/.marktguru/config.json.

npx marktguru-cli config --json
{
  "apiKey": "pCcm1AVCYa...",
  "apiKeySet": true,
  "zipCode": "1010",
  "configPath": "/Users/.../.marktguru/config.json"
}

Troubleshooting

IssueSolution
Login failsSite structure may have changed. Re-run login or check for CLI updates.
No resultsTry broader terms, wildcards (*), or alternative spellings.
Wrong locationSet ZIP code with set-zip or use --zip flag.
API key expiredRe-run npx marktguru-cli login to refresh.

Usage Tips

  1. Compare prices: Use --json output to programmatically compare across retailers
  2. Find best deals: Look for high discountPercent values
  3. Check availability: Use --zip with local ZIP code for accurate results
  4. Wildcards for variants: Use Jogh* to catch Joghurt, Joghurtdrink, etc.
  5. OR for alternatives: Butter OR Margarine to compare substitutes

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 2/12/2026

An exceptionally well-documented skill for a grocery deal CLI. It includes setup, detailed command references, syntax rules, and troubleshooting.

90
98
85
98
95

Metadata

Licenseunknown
Version-
Updated2/6/2026
Publishermanmal

Tags

apici-cd