wallapop-cli
Command reference

search

Search listings around a location

Search listings around a location

wallapop search [keywords...] [flags]

Search listings around a location.

The centre defaults to the active profile's location (saved at login, or set with config). Common filters are flags; category-specific ones (cars: brand, min_km, gearbox...) go through --filter key=value and are validated against what Wallapop offers for that category.

wallapop search "thinkpad x1" --max-price 400 --sort newest --format pretty
wallapop search --category 100 --filter brand=Toyota --filter max_km=120000
wallapop search bici --lat 41.39 --lng 2.17 --distance 10 --since week
wallapop search bici --next "$(wallapop search bici | jq -r .next_page)"
FlagTypeDefaultDescription
--categoryint0category id (see wallapop category list)
--conditionstringSlice[]item condition, repeatable: new, as_good_as_new, good, fair, has_given_it_all
--distanceint0radius in km
--filterstringToString[]category-specific filter key=value, repeatable (see wallapop search filters)
--latfloat640latitude of the search centre (default: profile location)
--limitint0stop after this many items (0 = whole pages)
--lngfloat640longitude of the search centre
--max-priceint-1maximum price
--min-priceint-1minimum price
--nextstring-continue from a previous next_page token
--pagesint1how many result pages to fetch
--shippingboolfalseonly items that can be shipped
--sincestring-listing age: today, week, month
--sortstring-order: relevance, newest, price_asc, price_desc

wallapop search filters

List the filters Wallapop offers, per category

wallapop search filters [keywords...] [flags]

List the filters Wallapop offers for a search. PARAMS are the keys accepted by --filter; VALUES are the allowed ids for list filters.

wallapop search filters --format pretty
wallapop search filters --category 100 --format pretty
FlagTypeDefaultDescription
--categoryint0category id

On this page