Count and summarize network inventory
inventory_statsAggregate available inventory across the network in ONE call: counts, effective-price min/median/max and the top values per facet. Example: {"dimensions": ["make_model", "body_style"], "condition": "used", "rooftop_slugs": ["mms"]}. Geo (latitude and longitude, optional radius_miles) and oem_program_slug scope exactly as network_search. Pivot mode (group_by, up to 2 of the facets plus state, dealer_group, price_band, age_band) returns one row per group with count and medians; dimensions and group_by are mutually exclusive; format csv returns the rows as CSV. Pass country=CA for Canadian dealers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| make | No | ||
| trim | No | ||
| model | No | ||
| format | No | ||
| country | No | Market to search; rooftops in the other country are excluded. Prices are in that country's currency; the radius stays in miles. | US |
| group_by | No | ||
| latitude | No | ||
| condition | No | ||
| fuel_type | No | ||
| longitude | No | ||
| price_max | No | Maximum expiry-gated effective price. | |
| price_min | No | Minimum expiry-gated effective price. | |
| body_style | No | ||
| dimensions | No | One to four unique facets. make_model values join nonblank make and model with one space; rooftop values are rooftop slugs. | |
| drivetrain | No | ||
| is_certified | No | ||
| odometer_max | No | ||
| radius_miles | No | ||
| transmission | No | ||
| rooftop_slugs | No | Restrict the single-snapshot aggregation to these network rooftops. | |
| exterior_color | No | ||
| interior_color | No | ||
| model_year_max | No | ||
| model_year_min | No | ||
| oem_program_slug | No | ||
| passenger_capacity_min | No |