POST /v1/archive/steam
Returns Steam Community Market median sale price and purchase volume in Steam's own history buckets.
Available on Scale, at 10 requests per second. Each request takes up to 100 items.
Prices are in USD by default, or in any supported currency. Data updates ~1-4x per day. 1d history starts April 26, 2013, and 1h history May 9, 2026. Intervals are 1h and 1d, with no range limit per request. Variants aren't supported.
This is the same data shown in the price graph on a Steam Community Market item page.
Supported intervals
| Interval | Max range |
|---|---|
1h | Unlimited |
1d | Unlimited |
Request
curl -X POST https://api.cs2.sh/v1/archive/steam \
-H "Authorization: Bearer <<YOUR_API_KEY>>" \
-H "Accept-Encoding: gzip" --compressed \
-H "Content-Type: application/json" \
-d '{
"items": [
"USP-S | Printstream (Factory New)"
],
"start": "2025-01-01",
"end": "2025-02-01",
"interval": "1d",
"currency": "USD"
}'Parameters
| Field | Type | Required | Description |
|---|---|---|---|
items | string[] | Yes | List of regular market_hash_name values (max 100). Variants are not supported. |
start | string | No | Start date/time as YYYY-MM-DD or RFC3339, inclusive. Without it, the request covers 365 days back from end on 1h, or all history on 1d. |
end | string | No | End date/time as YYYY-MM-DD or RFC3339, exclusive. Defaults to now. |
interval | string | Yes | Allowed: 1h, 1d. Native Steam bucket interval. Both intervals are unlimited in range. |
currency | string | No | Default: USD. Allowed: AUD, CAD, CHF, CNY, EUR, GBP, JPY, NZD, SGD, USD. Currency for every price in the response. |
Response
{
"response_time": "2026-11-30T05:56:28.01316111Z",
"currency": "USD",
"start": "2025-01-01T00:00:00Z",
"end": "2025-02-01T00:00:00Z",
"interval": "1d",
"items": {
"USP-S | Printstream (Factory New)": {
"market_hash_name": "USP-S | Printstream (Factory New)",
"count": 31,
"data": [
{
"bucket": "2025-01-01T00:00:00Z",
"price": 150.23,
"raw_price": 150.225,
"volume": 7
}
]
}
}
}Response fields
ArchiveSteamResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
response_time | string (date-time) | Yes | When the response was generated. |
currency | string | Yes | Currency code for every price in the response. Matches the requested currency; defaults to USD. |
start | string (date-time) | Yes | Effective start of the queried range, floored to the interval boundary. Inclusive. |
end | string (date-time) | Yes | Effective end of the queried range, ceiled to the interval boundary. Exclusive. |
interval | string | Yes | Allowed: 1h, 1d. Requested bucket interval. |
items | Record<string, ArchiveSteamItem> | Yes | Map of market_hash_name to native Steam sale-history buckets. |
errors | ItemError[] | No | Per-item failures alongside successful results (partial success). |
Buckets
| Field | Description |
|---|---|
items.<name>.count | Number of buckets with data. |
items.<name>.data[] | Steam's own sale-history buckets. |
data[].bucket | Bucket boundary. |
data[].price | Steam's median sale price, USD. |
data[].volume | Number of purchases in the bucket. |
bucketis present on every bucket.priceorvolumecan benullwhen Steam's bucket omits that value.- Variant items are not supported.
- Valid requested items with no Steam history return
not_in_archive; if every valid item has none, the endpoint returns404 not_found.
Full schemas: ArchiveSteamItem, ArchiveSteamBucket.
Errors
404 not_found means none of the requested valid regular items have Steam sale history. Partial results return 200 with errors[]; variant requests use unsupported_variant. See Partial success and Request errors.