Judge a price against the market
analyze_market_priceCompare any asking price against active listings to see if it falls below, fair, or above market, with percentile ranking. Answers 'Is this a good deal?' or 'Is my price reasonable?'
Instructions
Places a price you already have - the user's asking price, or an ad you are looking at - inside the distribution of comparable active listings, and says where it sits: well_below, below, fair, above or well_above, with the percentile it lands in. Use it to answer "is this a good deal?" or "is my price reasonable?". For "what should I ask?", use estimate_price instead. 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. | |
| listingId | No | An ad whose price should be judged. Its own price is used and it is excluded from the comparables. | |
| 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. | |
| comparables | No | Comparables you already have. Skips the search. | |
| departments | No | Department numbers, e.g. ["75","92"]. From find_location. | |
| targetPrice | No | The price to judge. Required unless listingId is given. |