Price history of one trim
hm_price_historyRetrieve six months of market price history for a specific car trim and year, plus today's price range and prices for other years of the same trim.
Instructions
Get the monthly market-price history of one trim and year, with today's price range and the same trim's other years.
Take brand (price_brand), model, year and type_id from hm_prices rows. History is about six monthly points. For
a quick range use hm_price_estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | No | How many cars of this trim for sale to include. | |
| year | Yes | Solar Hijri (1397) for Iranian cars, Gregorian (2017) for imports. | |
| brand | Yes | Brand slug from hm_brands, e.g. kia, saipa. | |
| model | Yes | Model slug from hm_models, e.g. kiacerato. | |
| type_id | Yes | Trim id from hm_prices rows. |