POST /v1/archive/csfloat
Returns CSFloat daily average sale price and sale volume.
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-2x per day. History starts in 2022. The interval is 1d. Doppler, Gamma Doppler, and Case Hardened variants are supported.
POST /v1/sales/csfloat returns single CSFloat sales with their float and stickers.
Request
POSTapi.cs2.sh/v1/archive/csfloat
curl -X POST https://api.cs2.sh/v1/archive/csfloat \
-H "Authorization: Bearer <<YOUR_API_KEY>>" \
-H "Accept-Encoding: gzip" --compressed \
-H "Content-Type: application/json" \
-d '{
"items": [
"USP-S | Printstream (Factory New)"
],
"start": "2024-01-01",
"end": "2026-11-30",
"currency": "USD"
}'Parameters
| Field | Type | Required | Description |
|---|---|---|---|
items | string[] | Yes | List of market_hash_name values (max 100). |
start | string | No | Start date/time as YYYY-MM-DD or RFC3339, inclusive. Defaults to 2020-01-01. |
end | string | No | End date/time as YYYY-MM-DD or RFC3339, exclusive. Defaults to now. |
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:26.445103258Z",
"currency": "USD",
"start": "2026-09-01T00:00:00Z",
"end": "2026-11-29T00:00:00Z",
"items": {
"USP-S | Printstream (Factory New)": {
"market_hash_name": "USP-S | Printstream (Factory New)",
"count": 89,
"data": [
{
"date": "2026-09-01",
"price": 130.91,
"volume": 9
},
{
"date": "2026-09-02",
"price": 110.71,
"volume": 11
}
]
}
}
}Response fields
ArchiveCSFloatResponse 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 day boundary. Inclusive. |
end | string (date-time) | Yes | Effective end of the queried range, ceiled to the day boundary. Exclusive. |
items | Record<string, ArchiveCSFloatItem> | Yes | Map of market_hash_name to CSFloat sale time-series. |
errors | ItemError[] | No | Per-item failures alongside successful results (partial success). |
Daily data
| Field | Description |
|---|---|
items.<name>.count | Number of daily aggregates. |
items.<name>.data[] | Daily aggregates. |
data[].date | Day, YYYY-MM-DD, UTC. |
data[].price | Arithmetic average of all sale prices that day, USD. |
data[].volume | Number of sales that day. |
items.<name>.variants | The same shape per variant. |
date,price, andvolumeare present on returned daily aggregates.pricecan benullwhen the stored day has volume but no usable price.- Variants appear under
variantswhen CSFloat sale history exists for that variant. - Valid requested items with no CSFloat sale history return
not_in_archive.
Full schemas: ArchiveCSFloatItem, ArchiveCSFloatBucket.
Errors
404 not_found means none of the requested valid items have CSFloat sale history. Partial results return 200 with errors[]; possible item codes are unknown_item, invalid_format, and not_in_archive. See Partial success and Request errors.