Command reference
search
Search listings around a location
wallapop search
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)"| Flag | Type | Default | Description |
|---|---|---|---|
--category | int | 0 | category id (see wallapop category list) |
--condition | stringSlice | [] | item condition, repeatable: new, as_good_as_new, good, fair, has_given_it_all |
--distance | int | 0 | radius in km |
--filter | stringToString | [] | category-specific filter key=value, repeatable (see wallapop search filters) |
--lat | float64 | 0 | latitude of the search centre (default: profile location) |
--limit | int | 0 | stop after this many items (0 = whole pages) |
--lng | float64 | 0 | longitude of the search centre |
--max-price | int | -1 | maximum price |
--min-price | int | -1 | minimum price |
--next | string | - | continue from a previous next_page token |
--pages | int | 1 | how many result pages to fetch |
--shipping | bool | false | only items that can be shipped |
--since | string | - | listing age: today, week, month |
--sort | string | - | 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| Flag | Type | Default | Description |
|---|---|---|---|
--category | int | 0 | category id |