Willhaben CLI

Willhaben CLI for searching Austria's largest classifieds marketplace. Search listings, view details, check seller profiles.

ติดตั้ง
$clawhub install whcli

whcli - Willhaben CLI 🏠

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

Installation

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


# 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: | Option | Short | Description | |--------|-------|-------------| | --category | -c | Category slug (grafikkarten, smartphones, etc.) | | --min-price | | Minimum price in EUR | | --max-price | | Maximum price in EUR | | --condition | | neu, gebraucht, defekt, neuwertig | | --location | -l | Location/region filter | | --rows | -n | Number of results (default: 30) | | --page | -p | Page number | | --paylivery | | Only PayLivery listings | | --format | -f | table, 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)