Overlay skins, baskets and indices on one date axis
compare_marketOverlay skins, baskets and indices on one date axis. The data behind rust.wiki/skins/compare: one shared dates axis and a series entry per token with
key, name, icon_url, is_basket, is_index and prices aligned to the axis (null where that entry has
no data yet). Skin and basket entries are prices in cents (a basket is the plain average of its members'
prices); index entries are index levels rebased to 100. Spans over two years are downsampled to weekly points.
Cached for 24 hours per parameter combination.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entries": "<entries>"
},
"name": "compare_market"
}
}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. | |
| entries | Yes | Comma-separated, up to 8: an `itemdefid` (that skin's price), `category:weapon` / `collection:Forest Raiders` / `item:shoes.boots` (the basket's average price) or `index:all` / `index:category:weapon` / `index:custom:123.456` (an index entry; custom ids joined with `.`). | |
| 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. | |
| index_weight_mode | No | Weighting for any `index:` entries (see /market/index). | equal |