Search Blocket
searchFind live Blocket listings by keyword, filters, distance, and sort; get compact ad rows, totals, facets, and deal price labels.
Instructions
Search live Blocket ads in any vertical with filters, distance and sorting. Returns compact rows (price, place, age, seller, badges, key specs, url, photo, risk_words), the total count, the filters applied, unmatched filter values with suggestions, optional facets (value counts to refine with) and blocket_url (the same search on blocket.se). exclude/require/title_only drop off-topic rows and read up to 4 more pages to refill (scanned, dropped, next_page). deals labels each row's price against the same search's asking prices (deal_basis). Not for prices in shops (new products): use a price comparison tool such as Billigast.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Only ads within radius_km of a point; rows then carry distance_km. | |
| page | No | Blocket result page, default 1. Pass next_page from a previous response to continue. | |
| rows | No | Ads per page, default 20. With exclude/require/title_only a response can hold a few more. | |
| sort | No | Default relevance. closest needs near; year_*/mileage_* vehicles; length_* boats. deal = cheapest vs the median first (implies deals). | |
| deals | No | Label each row's price great/good/fair/high with its percentile and % vs the median asking price of up to 200 ads of the same search (deal_basis). Costs one extra request. | |
| query | No | Search words, ideally Swedish ('soffa', 'barnvagn', 'V70', 'Hallberg-Rassy'). Blocket operators: -word excludes a word, a OR b matches either, "exact phrase", word* matches a prefix. | |
| since | No | ISO time: only ads published after it (newest first). Use for 'anything new since…'. | |
| trade | No | Torget only: for sale (Säljes), free giveaways (Bortskänkes) or wanted ads (Köpes). | |
| facets | No | Also return value counts for the main filters (market overview, refining). | |
| places | No | Counties (län) or municipalities, e.g. ['Stockholm'], ['Nacka', 'Värmdö'], ['Västra Götaland']. Omit for all of Sweden. | |
| seller | No | Only private sellers or only dealers (companies). | |
| exclude | No | Drop rows whose title or specs contain any of these (case-insensitive, also inside words), e.g. ['skal', 'laddare', 'köpes'] for a phone. 'köpes' and 'bortskänkes' also drop wanted ads and giveaways. | |
| filters | No | Vertical-specific filters by Blocket filter name → value label(s) or {min,max}. Examples: car {make: 'Volvo', model: 'V70', fuel: 'Diesel', transmission: 'Automatisk', body_type: 'Kombi', car_equipment: ['Dragkrok']}; boat {class: 'Segelbåt', make: 'Najad', length_feet: {min: 28}}; torget {category: 'Möbler och inredning', condition: 'Mycket bra skick - som ny', brand: 'IKEA'}. Unsure? Call list_filters. | |
| require | No | Words or phrases that must all appear in the row's title or specs (case-insensitive), e.g. ['128gb']. | |
| shipping | No | Torget only: only ads that can be shipped. | |
| vertical | No | Default torget. torget = general marketplace (furniture, electronics, clothes, kids, hobby, tools...); car, boat, mc (motorcycles), caravan (husvagn), motorhome (husbil), truck (lastbil/släp), tractor, combine (skördetröska), snowmobile, atv, moped (mopeder/scooters), bus. | torget |
| year_max | No | Latest model year (vehicles). | |
| year_min | No | Earliest model year (vehicles). | |
| new_today | No | Only ads published today. | |
| price_max | No | Highest price, SEK. | |
| price_min | No | Lowest price, SEK. | |
| seller_id | No | Only this seller's ads (seller.id from a row or get_ad). | |
| title_only | No | Keep only rows whose title contains every word of query. | |
| mileage_max_mil | No | Highest mileage in Swedish mil (1 mil = 10 km). | |
| mileage_min_mil | No | Lowest mileage in Swedish mil (1 mil = 10 km). |