Skip to Content
Steambuff API
Market

Get CS2 Index history

1 creditStarter plan+
GET
/v1/cs2/market/index/history

The CS2 Index's close each UTC day, for the whole market or one segment, oldest first.

Authorization

headerx-api-key<token>

Query Parameters

days?integer

The last this many UTC days, today included; without it, the whole history

Range1 <= value <= 730
segment?string

all for the whole market, or a segment, named as the category filter of /v1/cs2/items that holds the same items

Default"all"
Value in"all""knife""gloves""rifle""sniper-rifle""pistol""sticker""container"

Response Body

The index's daily closes

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.steambuff.app/v1/cs2/market/index/history'
Example Response
{  "data": [    {      "day": "2026-11-24",      "value": 10082,      "change": 0.31,      "items": 32951,      "compared": 28120,      "advancers": 12204,      "decliners": 10366    },    {      "day": "2026-11-25",      "value": 10098,      "change": 0.16,      "items": 32957,      "compared": 28403,      "advancers": 11980,      "decliners": 10914    },    {      "day": "2026-11-26",      "value": 10110,      "change": 0.12,      "items": 32960,      "compared": 28377,      "advancers": 11842,      "decliners": 10875    }  ]}