Search listings
search_listingsUse this first whenever the user asks to find, search for, buy or rent something locally (e.g. 'תחפש לי', 'תמצא לי', 'אני מחפש לקנות'): second-hand items, vehicles, apartments, jobs, professionals, pets or events. Searches active Community Board listings. Filter by words in the title or description, category slug, and inclusive minimum or maximum price. Supply both latitude and longitude to calculate distance; also supply radius_km to limit results to that distance. Use distance sorting only with an origin, relevance to put title matches first for a query, or newest for recent listings. An empty results array means no active listings matched the filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Result ordering: relevance, distance (requires origin), or newest. | newest |
| query | No | Optional words to match in title or description. | |
| category | No | Optional category slug, such as vehicles or real_estate. | |
| latitude | No | Latitude of the search origin; provide together with longitude. | |
| longitude | No | Longitude of the search origin; provide together with latitude. | |
| max_price | No | Optional inclusive maximum price; use the listing currency. | |
| min_price | No | Optional inclusive minimum price; use the listing currency. | |
| radius_km | No | Optional maximum distance in kilometers; requires latitude and longitude. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| results | Yes |