Skin market index series
get_market_indexSkin market index series. The rust.wiki Market Index: a basket of skins rebased to 100 at the start of the window, like a stock
index, built from Steam's daily price history (one point per day; weekly beyond two years). Returns dates
(ISO dates), values (index level, 100 = the window's first day), constituent_count (skins that had a price
at the baseline; baskets are capped at 300 constituents) and label. A skin whose history starts inside the
window joins from its first price. Cached for 24 hours per parameter combination (history only gains a point
every 6 hours); the full catalogue, every category and every collection are kept warm server-side.
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": "get_market_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Window: `7d`, `30d`, `90d`, `1y`, `2y`, `3y`, `4y`, `5y`, `all`, or `custom` with `start_date`/`end_date`. Spans over two years are downsampled to one point per week. | 90d |
| smooth | No | Apply a trailing 30-day moving average. | |
| end_date | No | Custom range end (YYYY-MM-DD, inclusive). Only read when range=custom. | |
| trim_days | No | Mask each constituent's first N days of history (0-90) to drop launch-week volatility. | |
| start_date | No | Custom range start (YYYY-MM-DD, inclusive). Only read when range=custom. | |
| basket_type | No | Which skins form the index: `all`, `high_value`/`low_value` (300 priciest/cheapest), `category`, `collection`, `color`, `item` (one base item's skins) or `custom` (your own list). | all |
| weight_mode | No | `equal`: every constituent's % move counts the same. `marketcap`: weighted by price x Workshop subscribers, like an S&P-style index. | equal |
| basket_value | No | The category, collection name, colour, item shortname, or for `custom` a comma-separated list of up to 300 itemdefids. Ignored for all/high_value/low_value. |