Search listings
search_listingsFind classified listings worldwide: things for sale or wanted, jobs and resumes, services, property to rent or buy. Filter by free text — write it in the person's own language: listings also carry search words in English and in their country's languages (often Russian and Uzbek too), so a listing written in another language is usually found; nothing found → try the English words too. Also filter by category or section slug, type ('offer' = someone has / sells / rents out / offers a service; 'want' = someone looks for it. Jobs: a VACANCY is 'offer' (an employer offers a job), a RESUME is 'want' (a person looks for work, category job-seekers) — to find work search offer in section jobs; to hire search want), and place. Place ranks, it does not cut: send the person's city (any language — München, Munich and Мюнхен are one place) and country (ISO code like DE), or lat+lon with country. Results come nearest first: within radius_km of the city (default 25), then elsewhere in the country, then other countries' listings that ship abroad or work online. scope says how far — near (default with a city): only what can reach the person (around the city, delivered in their country, shipped abroad, online); country (default with only a country): also pick-up-only listings elsewhere in the country; world: also pick-up-only listings abroad. Each result has location.placeMatch (near / country / elsewhere) and distanceKm; the response has scope and widen (how many more each wider scope adds) — tell the person what you found where (e.g. 'none in Munich, 3 elsewhere in Germany') and widen when they want. note: ok; none_nearby — nothing where the person is, but there is further away: with no scope sent the search already widened to their whole country (scope says country; say how far with distanceKm), otherwise results are empty and widen says how many (abroad they are pick-up only) — noneNearbyNote says which; no_listings_yet — none anywhere (offer postUrl or alertUrl). No place and no country → world-wide, not ranked by distance, with placeNote: ask where the person is. Results have no contacts. To reach an owner: connected users call send_message; anyone else gets the result's contactUrl (append the message, URL-encoded) — opening it sends nothing until they confirm their email. Each result has owner facts (counted, not a score): memberSince, listingsPosted, replies (conversations older than 2 days / answered), removedAfterReview — mention them when the user weighs whom to trust. photos: the main checked photo (url, thumbUrl) and photoCount — get_listing has all of them. Prices are the owner's, in the listing's currency; send the person's currency and a result priced in another one also has priceApprox (≈ in theirs at the day's rate) — say it as approximate, next to the owner's price. No priceApprox: already in their currency, no price, or the listing's currency has no rate yet.
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_listings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free text in the person's language, e.g. 'iphone 15', 'детская коляска' or 'python developer'; nothing found → also try it in English | |
| lat | No | With lon (and country): the person's place instead of a city | |
| lon | No | ||
| city | No | The person's city (or where they want it), any language; listings within radius_km come first | |
| lang | No | ||
| sort | No | Cheapest (price_asc) or dearest (price_desc) first, across currencies at the day's rate — within each place layer (nearest first still applies); listings with no price come last. Default: best text match, then newest | |
| type | No | ||
| limit | No | ||
| scope | No | How far, still nearest first: near (default with city or lat+lon) — what can reach the person; country (default with only country) — the whole country; world — everything | |
| country | No | ISO 3166-1 alpha-2, e.g. DE — where the person is (or wants it); its listings come before other countries' | |
| filters | No | Fields of the category (or section) from list_listing_categories: an option, number, true/false or text, or a range — e.g. {"condition":"used"}, {"year":{"min":2018},"mileage_km":{"max":100000}}, {"event_date":{"min":"2026-12-01","max":"2026-12-31"}}. One value per field (no lists); text matches the whole value, ignoring case. A key or value the category does not have returns note 'invalid_filters' with the reason and filterKeys. | |
| category | No | Category or section slug from list_listing_categories | |
| currency | No | The person's own currency, ISO 4217 (e.g. USD, EUR, INR) — required with price_min / price_max (the range is in it), and worth giving without a range too: each result priced in another currency then carries priceApprox, about what it is in this one at the day's rate. Listings priced in other currencies are compared at that rate (approximate); free listings count as 0; 'negotiable' ones have no price and are left out of a price range | |
| price_max | No | Highest price, in currency | |
| price_min | No | Lowest price, in currency | |
| radius_km | No | Distance from the city centre (or lat/lon) that counts as near, default 25 |