GET /v1/prices/latest
Returns the latest bid and ask prices for every item on Youpin, BUFF, CSFloat, Steam, Skinport, and C5Game in one response. It's cs2.sh's main latest-price endpoint.
Available on all plans, at 10 requests per second. GET returns every item, and POST returns up to 100 items.
Prices are in USD by default, or in any supported currency. Data updates every ~5 minutes. Doppler, Gamma Doppler, and Case Hardened variants are supported.
Variants are priced separately, and the update rate depends on the marketplace. Every source object includes its own updated_at and collected_at timestamps.
For one item's individual listings on Youpin, CSFloat, or Steam, each with its float, paint seed, and stickers, use a live request.
Supported sources
| Source | Fields |
|---|---|
youpin | ask, bid, ask_volume, bid_volume |
buff | ask, bid, ask_volume, bid_volume |
csfloat | ask, bid, ask_volume |
steam | ask, bid, ask_volume, bid_volume |
skinport | ask, ask_volume, max_ask, mean_ask, median_ask, 24h_history, 7d_history, 30d_history, 90d_history |
c5game | ask, bid, ask_volume, bid_volume |
Items with Doppler, Gamma Doppler, or Case Hardened prices can include variants; see Variants.
Query parameters
| Parameter | Description |
|---|---|
sources | Comma-separated sources to return, e.g. ?sources=buff,youpin. Defaults to all sources. |
currency | Currency for every price, e.g. ?currency=CNY. Defaults to USD; see Currency. |
Request
curl https://api.cs2.sh/v1/prices/latest \
-H "Authorization: Bearer <<YOUR_API_KEY>>" \
-H "Accept-Encoding: gzip" --compressedResponse
{
"response_time": "2026-11-30T05:56:01.417087907Z",
"currency": "USD",
"items": {
"USP-S | Printstream (Factory New)": {
"market_hash_name": "USP-S | Printstream (Factory New)",
"buff": {
"updated_at": "2026-11-30T05:52:51Z",
"collected_at": "2026-11-30T05:55:07.253Z",
"ask": 70.06,
"ask_volume": 411,
"bid": 68.19,
"bid_volume": 45
},
"youpin": {
"updated_at": "2026-11-30T05:53:13.986Z",
"collected_at": "2026-11-30T05:53:42.599Z",
"ask": 68.19,
"ask_volume": 488,
"bid": 67.44,
"bid_volume": 48
},
"csfloat": {
"updated_at": "2026-11-30T05:55:08.939Z",
"collected_at": "2026-11-30T05:55:08.987Z",
"ask": 68,
"ask_volume": 251,
"bid": 63.3
},
"skinport": {
"updated_at": "2026-11-30T05:55:12.655Z",
"collected_at": "2026-11-30T05:55:18.167Z",
"ask": 82.71,
"ask_volume": 38,
"max_ask": 293.87,
"mean_ask": 155.55,
"median_ask": 132.93,
"24h_history": {
"price": 65.02,
"max_price": 65.12,
"mean_price": 65.08,
"median_price": 65.07,
"volume": 2
},
"7d_history": {
"price": 61,
"max_price": 90.63,
"mean_price": 69.28,
"median_price": 65.79,
"volume": 13
},
"30d_history": {
"price": 61,
"max_price": 109.4,
"mean_price": 75.27,
"median_price": 75.6,
"volume": 43
},
"90d_history": {
"price": 61,
"max_price": 219.17,
"mean_price": 86.86,
"median_price": 87.12,
"volume": 130
}
},
"steam": {
"updated_at": "2026-11-30T05:55:28.015Z",
"collected_at": "2026-11-30T05:55:35.96Z",
"ask": 96.29,
"ask_volume": 61,
"bid": 80.51,
"bid_volume": 2203
},
"c5game": {
"updated_at": "2026-11-30T05:55:33.806Z",
"collected_at": "2026-11-30T05:55:33.808Z",
"ask": 71.35,
"ask_volume": 213,
"bid": 69.09,
"bid_volume": 14
}
}
}
}Response fields
LatestPricesGetResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
response_time | string (date-time) | Yes | When cs2.sh built the snapshot the response comes from. |
currency | string | Yes | Currency code for every price in the response. Matches the requested currency; defaults to USD. |
items | Record<string, Item> | Yes | Map of market_hash_name to item price data. |
Item data
| Field | Description |
|---|---|
items.<name>.<source> | Latest ask/bid prices and volumes on that marketplace, with updated_at and collected_at. |
items.<name>.variants | The same per-source shape for Doppler and Case Hardened variants. |
- Base item source objects are dense:
buff,youpin,csfloat,skinport,steam, andc5gameare present once any source has data for the item. - Unavailable source fields are
null. - Variant source objects are sparse and appear only when that source has variant data.
- With
sources, only the selected sources are returned, and items with no data in them are omitted.
Full schemas: Item, Variant, SkinportPriceWindow, and the per-source types under Latest Price Source Data.
Errors
400 validation_error means an unknown or repeated query parameter, an invalid source, or an unsupported currency. 503 service_unavailable means the latest snapshot is not ready. See Request errors for errors shared by all endpoints.
POST /v1/prices/latest
Returns the same latest-price data as GET /v1/prices/latest, filtered to the requested items. sources and currency work the same as on GET, sent in the JSON body.
Items with Doppler, Gamma Doppler, or Case Hardened prices can include variants.
Request
curl -X POST https://api.cs2.sh/v1/prices/latest \
-H "Authorization: Bearer <<YOUR_API_KEY>>" \
-H "Accept-Encoding: gzip" --compressed \
-H "Content-Type: application/json" \
-d '{
"items": [
"USP-S | Printstream (Factory New)",
"★ Karambit | Doppler (Factory New)"
],
"sources": [
"buff",
"youpin",
"csfloat"
],
"currency": "USD"
}'Parameters
| Field | Type | Required | Description |
|---|---|---|---|
items | string[] | Yes | List of market_hash_name values (max 100). |
sources | string[] | No | Return only these sources. Defaults to all sources. |
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:11.188377733Z",
"currency": "USD",
"items": {
"USP-S | Printstream (Factory New)": {
"market_hash_name": "USP-S | Printstream (Factory New)",
"buff": {
"updated_at": "2026-11-30T05:52:51Z",
"collected_at": "2026-11-30T05:55:07.253Z",
"ask": 70.06,
"ask_volume": 411,
"bid": 68.19,
"bid_volume": 45
},
"youpin": {
"updated_at": "2026-11-30T05:53:13.986Z",
"collected_at": "2026-11-30T05:53:42.599Z",
"ask": 68.19,
"ask_volume": 488,
"bid": 67.44,
"bid_volume": 48
},
"csfloat": {
"updated_at": "2026-11-30T05:55:08.939Z",
"collected_at": "2026-11-30T05:55:08.987Z",
"ask": 68,
"ask_volume": 251,
"bid": 63.3
}
},
"★ Karambit | Doppler (Factory New)": {
"market_hash_name": "★ Karambit | Doppler (Factory New)",
"buff": {
"updated_at": "2026-11-30T05:52:29Z",
"collected_at": "2026-11-30T05:55:07.253Z",
"ask": 918.65,
"ask_volume": 1435,
"bid": 863.2,
"bid_volume": 67
},
"youpin": {
"updated_at": "2026-11-30T05:53:38.722Z",
"collected_at": "2026-11-30T05:53:56.134Z",
"ask": 905.09,
"ask_volume": 1532,
"bid": 891.67,
"bid_volume": 35
},
"csfloat": {
"updated_at": "2026-11-30T05:55:08.939Z",
"collected_at": "2026-11-30T05:55:08.987Z",
"ask": 884.2,
"ask_volume": 1004,
"bid": 820
},
"variants": {
"Phase 2": {
"market_hash_name": "★ Karambit | Doppler (Factory New)",
"name": "★ Karambit | Doppler (Factory New) | Phase 2",
"display_name": "Phase 2",
"version": "p2",
"buff": {
"updated_at": "2026-11-30T05:52:29Z",
"collected_at": "2026-11-30T05:55:07.253Z",
"ask": 1287.01,
"ask_volume": null,
"bid": 1213.88,
"bid_volume": null
},
"youpin": {
"updated_at": "2026-11-30T05:55:11.493Z",
"collected_at": "2026-11-30T05:55:31.265Z",
"ask": 1261.99,
"ask_volume": null,
"bid": 1225.87,
"bid_volume": 61
},
"csfloat": {
"updated_at": "2026-11-30T05:53:34.763Z",
"collected_at": "2026-11-30T05:54:22.936Z",
"ask": 1259.99,
"ask_volume": null,
"bid": 1210
}
},
"Ruby": {
"market_hash_name": "★ Karambit | Doppler (Factory New)",
"name": "★ Karambit | Doppler (Factory New) | Ruby",
"display_name": "Ruby",
"version": "ruby",
"buff": {
"updated_at": "2026-11-30T05:52:29Z",
"collected_at": "2026-11-30T05:55:07.253Z",
"ask": 5977.67,
"ask_volume": null,
"bid": 5170.22,
"bid_volume": null
},
"youpin": {
"updated_at": "2026-11-30T05:53:01.786Z",
"collected_at": "2026-11-30T05:53:28.189Z",
"ask": 5918.19,
"ask_volume": null,
"bid": 5544.87,
"bid_volume": 45
},
"csfloat": {
"updated_at": "2026-11-30T05:53:34.763Z",
"collected_at": "2026-11-30T05:54:22.936Z",
"ask": 5976.91,
"ask_volume": null,
"bid": 5150
}
}
}
}
}
}Response fields
LatestPricesPostResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
response_time | string (date-time) | Yes | When cs2.sh built the snapshot the response comes from. |
currency | string | Yes | Currency code for every price in the response. Matches the requested currency; defaults to USD. |
items | Record<string, Item> | Yes | Map of market_hash_name to item price data, filtered to the requested items. |
errors | ItemError[] | No | Per-item failures alongside successful results (partial success). |
Errors
404 not_found means none of the requested valid items are present in the latest snapshot. 503 service_unavailable means the snapshot is not ready.
When only some items fail, the endpoint returns 200 with the successful items and an errors[] entry for each failure. Possible item codes are unknown_item, invalid_format, and not_in_cache. See Partial success and Request errors.