Get the FREE Ultimate OpenClaw Setup Guide →
p

Willhaben CLI

Verified

@pasogott

npx machina-cli add skill @pasogott/whcli --openclaw
Files (1)
SKILL.md
2.9 KB

whcli - Willhaben CLI 🏠

Search and browse willhaben.at, Austria's largest classifieds marketplace from the command line.

Installation

Homebrew (recommended)

brew install pasogott/tap/whcli

From source (with uv)

git clone https://github.com/pasogott/whcli.git
cd whcli
uv sync
uv run whcli --help

Commands

Search

# Basic search
whcli search "iphone 15"

# With filters
whcli search "rtx 4090" --category grafikkarten --max-price 1500

# Location filter
whcli search "bicycle" -l Wien -n 20

# Only PayLivery (buyer protection)
whcli search "playstation" --paylivery

# Output as JSON for scripting
whcli search "laptop" --format json

Options:

OptionShortDescription
--category-cCategory slug (grafikkarten, smartphones, etc.)
--min-priceMinimum price in EUR
--max-priceMaximum price in EUR
--conditionneu, gebraucht, defekt, neuwertig
--location-lLocation/region filter
--rows-nNumber of results (default: 30)
--page-pPage number
--payliveryOnly PayLivery listings
--format-ftable, json, csv

Show Listing Details

# View listing by ID
whcli show 1993072190

# JSON output
whcli show 1993072190 --format json

Seller Profile

# View seller profile and ratings
whcli seller 29159134

Examples

# Find cheap iPhones in Vienna
whcli search "iphone" -l Wien --max-price 500

# Graphics cards under €1000
whcli search "grafikkarte" --category grafikkarten --max-price 1000

# New condition only
whcli search "ps5" --condition neu

# Export search results as CSV
whcli search "furniture" -l "1220" -n 50 --format csv > results.csv

Common Categories

  • grafikkarten - Graphics cards
  • smartphones - Phones
  • notebooks-laptops - Laptops
  • spielkonsolen - Gaming consoles
  • fahrraeder - Bicycles
  • moebel - Furniture

Known Limitations

  • ⚠️ show command has a bug (being fixed)
  • Location filter works but may include nearby regions
  • No OAuth login yet (messaging/watching not available)

Links

Source

git clone https://clawhub.ai/pasogott/whcliView on GitHub

Overview

Willhaben CLI (whcli) lets you search willhaben.at from the terminal, browse listings, view details, and check seller profiles. It supports filters like category, price, location, and condition, and can output JSON, CSV, or tables for scripting. This makes price checks and data collection fast and repeatable from scripts.

How This Skill Works

Whcli exposes three commands: search, show, and seller. It queries willhaben.at and returns listings with optional filters such as --category, --min-price, --max-price, --location, and --condition, plus an option for PayLivery. Output formats include table, json, and csv for easy scripting and automation.

When to Use It

  • Find iPhones in Vienna under a budget using location and price filters.
  • Export a set of results as CSV for inventory tracking or data processing.
  • View a specific listing's details quickly by ID to check specs.
  • Inspect a seller's profile and ratings before contacting.
  • Browse graphics cards within a max price across multiple result pages.

Quick Start

  1. Step 1: Install whcli via Homebrew or from source (brew install pasogott/tap/whcli).
  2. Step 2: Run a basic search, e.g., whcli search iphone -l Wien --max-price 500.
  3. Step 3: View details or seller profile with whcli show <id> or whcli seller <id>.

Best Practices

  • Use --format json for API-like scripting and automation.
  • Combine filters (--category, --location, --max-price) to narrow results efficiently.
  • Use --rows and --page for controlled pagination and batch processing.
  • Enable --paylivery to restrict results to buyer-protected listings when needed.
  • Cross-check IDs with whcli show or whcli seller to verify details before outreach.

Example Use Cases

  • whcli search "iphone" -l Wien --max-price 500
  • whcli search "grafikkarte" --category grafikkarten --max-price 1000
  • whcli search "ps5" --condition neu
  • whcli search "furniture" -l 1220 -n 50 --format csv > results.csv
  • whcli show 1993072190 --format json

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers