search_listings
Search Marktplaats.nl and 2dehands.be classifieds by keyword, category, price, condition, location, seller type, and sort order, returning listings with pagination.
Instructions
Search for listings on marktplaats.nl or 2dehands.be.
Args: site: "marktplaats" (NL, default) or "2dehands" (BE). query: Search query text (required if no category specified). category: Main category name (e.g., "computers en software"). subcategory: Subcategory name (e.g., "laptops", "elektrische fietsen"). zip_code: Postal code for distance filtering. NL: "1016LV". BE: "2000". distance_km: Maximum distance in km (default 1000). Requires zip_code. price_from / price_to: Price range in euros. condition: "new", "as_good_as_new", "used", "refurbished", "not_working". seller_type: "business" / "zakelijk" or "private" / "particulier". sort_by: "date", "price", "optimized", "location". sort_order: "asc" or "desc". limit: 1-100 (default 10). offset: Pagination offset. offered_since_days: Only show items posted within the last N days. attribute_ids: Category-specific filter IDs (use get_category_filters).
Returns: Dict with total_count, returned_count, listings, optional next_offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | marktplaats | |
| limit | No | ||
| query | No | ||
| offset | No | ||
| sort_by | No | optimized | |
| category | No | ||
| price_to | No | ||
| zip_code | No | ||
| condition | No | ||
| price_from | No | ||
| sort_order | No | asc | |
| distance_km | No | ||
| seller_type | No | ||
| subcategory | No | ||
| attribute_ids | No | ||
| offered_since_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||