Estimate a price from comparables
estimate_priceEstimate a fair asking price by analyzing comparable active Leboncoin listings, providing price distribution statistics and recommended price tiers with confidence levels. Use it to set a competitive price based on real market data.
Instructions
Turns comparable ads into a price distribution and a recommendation: min, Q1, median, mean, Q3, max, the outliers it removed, and quick-sale / recommended / optimistic prices with a confidence score. Either pass comparables you already have from search_similar_listings, or pass the item facts and let it run the search itself. Respect confidenceLabel. At insufficient_data there is deliberately no recommended price - say there is not enough on Leboncoin to price this and ask the user, rather than quoting a number from two ads. These are ACTIVE ASKING PRICES - what sellers are asking for similar items right now - not sale prices. Leboncoin publishes no transaction data. Say "des annonces similaires sont à environ 90 €", never "ça se vend 90 €". Asking prices skew high: unsold items stay listed, sold ones vanish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Size or dimensions as printed or measured. | |
| brand | No | Brand exactly as it appears on the item. Leave empty if you cannot read it - do not guess. | |
| color | No | Main colour, in French where possible. | |
| model | No | Model or product name, e.g. "Exos X18", "iPhone 13". | |
| notes | No | Anything else worth telling a buyer, e.g. "facture et boîte d'origine". | |
| country | No | Leboncoin site to use (fr). Defaults to the server's configured site. | |
| defects | No | Every visible flaw: scratches, dents, missing parts. These are always kept in the description. | |
| queries | No | ||
| regions | No | Leboncoin region ids. From find_location. | |
| working | No | Whether the item is known to work. Omit if you do not know - do not assume. | |
| capacity | No | Storage, volume or power, e.g. "8 To", "128 Go", "1500 W". | |
| category | No | Free-text category guess in French, e.g. "disque dur", "canapé". | |
| material | No | Material, e.g. "chêne massif", "cuir". | |
| maxPrice | No | ||
| minPrice | No | ||
| condition | No | Condition. Pick the one the photos actually support, not the flattering one. | |
| ownerType | No | Filter by seller type. Defaults to all. | |
| reference | No | Reference / SKU / part number if visible on a label or the item. | |
| shippable | No | Only ads that offer delivery. | |
| titleOnly | No | Match the keywords against the title only. | |
| categoryId | No | Numeric Leboncoin category id, from find_category. | |
| excludePro | No | Exclude professional sellers from the statistics. Default true. | |
| maxQueries | No | ||
| comparables | No | Comparables from a previous search_similar_listings call. Skips the search entirely when given. | |
| departments | No | Department numbers, e.g. ["75","92"]. From find_location. |