Skip to content

get ​

Get detailed information about a listing: one of yours, or any public listing (e.g. from search).

Usage ​

bash
willhaben get <id> [options]

Arguments ​

ArgumentDescription
<id>Listing ID

Options ​

OptionDescription
--cachedUse cached data if available
--jsonOutput as JSON

Example ​

bash
willhaben get 123456789

# Listing Details
# ────────────────────────────────────────
# ID: 123456789
# Title: iPhone 14 Pro - Excellent Condition
# Price: €799
# Status: Active
# Views: 42
# Created: 2026-01-15
#
# Description:
# Selling my iPhone 14 Pro 256GB in excellent condition...
#
# Location: 1010 Wien
# Category: Handy / Telefon > iPhone

Using Cache ​

bash
# Fetch fresh data
willhaben get 123456789

# Use cached data (faster)
willhaben get 123456789 --cached

JSON Output ​

bash
willhaben get 123456789 --json
json
{
  "id": 123456789,
  "title": "iPhone 14 Pro - Excellent Condition",
  "description": "Selling my iPhone 14 Pro 256GB...",
  "price": 799,
  "status": "active",
  "views": 42,
  "location": {
    "postCode": "1010",
    "city": "Wien"
  },
  "category": ["MOBILE_ELECTRONICS", "MOBILE_PHONES", "IPHONE"],
  "images": [
    { "id": "img1", "url": "https://..." }
  ]
}

Authentication ​

Works without login for public listings. When logged in, your session is used.

Released under the MIT License. Not affiliated with willhaben.