Legacy V1/V2Steam Community Market
GET /v1/steam
Legacy V1/V2 reference. These routes stay supported for existing integrations. V3 returns every price in USD or 29 other currencies, with the marketplace's own value alongside — see /v3/steam.
Returns Steam Community Market rows in the standard CS Price API envelope
(data, meta, source, requestor, plan, timestamp).
Each row includes best_ask / best_bid, listing counts, computed
spread / spread_pct, orderbook levels, and internal liquidity. Prices are decimal strings
(USD for CS2).
Omit market_hash_name for the full catalog (~27k skins). Pass one or
more comma-separated names to filter (max 100). Prefer gzip for full
snapshots.
Access
Available on all plans (Basic, Pro and Enterprise).
Query parameters
| Parameter | Description |
|---|---|
market_hash_name | Optional filter. One Steam market_hash_name, or comma-separated list
(max 100). Omit for all items. |
bucket | Optional collector bucket filter (1 = hot, 2 = warm, 3 = cold). |
Request
GET https://api.cspriceapi.com/v1/steam
curl -s --compressed "https://api.cspriceapi.com/v1/steam?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)&bucket=1" \
-H "x-api-key: YOUR_API_KEY"import requests
response = requests.get(
"https://api.cspriceapi.com/v1/steam",
params={"market_hash_name": "AK-47 | Redline (Field-Tested)", "bucket": "1"},
headers={"x-api-key": "YOUR_API_KEY"},
timeout=60,
)
response.raise_for_status()
data = response.json()const response = await fetch(`https://api.cspriceapi.com/v1/steam?${new URLSearchParams({"market_hash_name":"AK-47 | Redline (Field-Tested)","bucket":"1"})}`, {
headers: {
"x-api-key": "YOUR_API_KEY",
},
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.json();package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
q := url.Values{}
q.Set("market_hash_name", "AK-47 | Redline (Field-Tested)")
q.Set("bucket", "1")
req, err := http.NewRequest("GET", "https://api.cspriceapi.com/v1/steam?"+q.Encode(), nil)
if err != nil {
panic(err)
}
req.Header.Set("x-api-key", "YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, len(body), "bytes")
}library(httr2)
response <- request("https://api.cspriceapi.com/v1/steam") |>
req_url_query(market_hash_name = "AK-47 | Redline (Field-Tested)", bucket = "1") |>
req_headers(`x-api-key` = "YOUR_API_KEY") |>
req_perform()
data <- resp_body_json(response)Response
{
"data": [
{
"market_hash_name": "AK-47 | Redline (Field-Tested)",
"stattrak": 0,
"souvenir": 0,
"exterior": "Field-Tested",
"item_page_url": "https://steamcommunity.com/market/listings/730/AK-47%20%7C%20Redline%20(Field-Tested)",
"item_nameid": 165027595,
"currency": "USD",
"liquidity": "8.40",
"best_ask": "12.45",
"ask_listings": 85,
"best_bid": "11.90",
"bid_orders": 240,
"spread": "0.55",
"spread_pct": "4.42",
"bucket": 1,
"collected_at": "2026-08-28T10:00:30.000Z",
"updated_at": "2026-08-28T10:00:30.000Z",
"orderbook": {
"ask_levels": 3,
"bid_levels": 2,
"asks": [
{
"price": "12.45",
"quantity": 2
},
{
"price": "12.50",
"quantity": 1
}
],
"bids": [
{
"price": "11.90",
"quantity": 3
}
]
}
},
{
"market_hash_name": "Glock-18 | Gamma Doppler (Factory New)",
"stattrak": 0,
"souvenir": 0,
"exterior": "Factory New",
"item_page_url": "https://steamcommunity.com/market/listings/730/glock-18-gamma-doppler-factory-new",
"item_nameid": 165027595,
"currency": "USD",
"liquidity": "2.10",
"best_ask": "12.45",
"ask_listings": 85,
"best_bid": "11.90",
"bid_orders": 240,
"spread": "0.55",
"spread_pct": "4.42",
"bucket": 1,
"collected_at": "2026-08-28T10:00:30.000Z",
"updated_at": "2026-08-28T10:00:30.000Z",
"orderbook": {
"ask_levels": 3,
"bid_levels": 2,
"asks": [
{
"price": "12.45",
"quantity": 2
},
{
"price": "12.50",
"quantity": 1
}
],
"bids": [
{
"price": "11.90",
"quantity": 3
}
]
},
"id": 702,
"count": 12
}
],
"meta": {
"count": 1,
"currency": "USD",
"filtered": [
"AK-47 | Redline (Field-Tested)"
]
},
…Shortened example.
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
source | string | Yes | – |
requestor | string (email) | No | Email address associated with the API key making the call. |
plan | string | No | Plan of the API key (e.g. free, pro, enterprise). |
timestamp | string (date-time) | Yes | Server time when this response was produced. |
data | Steam Market Item[] | Yes | – |
meta | Steam Market Meta | Yes | – |
Steam Market Item data[]
Steam Community Market snapshot for one catalog skin. Includes spread metrics, order book depth, and internal liquidity score.
| Field | Type | Required | Description |
|---|---|---|---|
market_hash_name | string | Yes | – |
stattrak | integer | No | Boolean stored as tinyint(1); 0 = false, 1 = true. |
souvenir | integer | No | Boolean stored as tinyint(1); 0 = false, 1 = true. |
exterior | string | No | Exterior (wear) of the skin. Typical values: Factory New,
Minimal Wear, Field-Tested, Well-Worn, Battle-Scarred.
Casing may vary between sources (e.g. Buff163 uses "Factory new"). |
item_page_url | string (uri) | No | – |
item_nameid | integer | No | – |
currency | string | Yes | – |
liquidity | string | No | Fixed-point decimal value serialized as a string (preserves precision across languages). Parse with an arbitrary-precision decimal library; do not parse as a native float. |
best_ask | string | No | Fixed-point decimal value serialized as a string (preserves precision across languages). Parse with an arbitrary-precision decimal library; do not parse as a native float. |
ask_listings | integer | No | Listing count at the best ask (Steam histogram sell_order_count). |
best_bid | string | No | Fixed-point decimal value serialized as a string (preserves precision across languages). Parse with an arbitrary-precision decimal library; do not parse as a native float. |
bid_orders | integer | No | Highest-bid order count from histogram. |
spread | string | No | best_ask − best_bid |
spread_pct | string | No | Spread as % of best_ask. |
bucket | integer | No | Collector refresh tier. |
collected_at | string (date-time) | No | – |
updated_at | string (date-time) | Yes | – |
orderbook | Steam Orderbook | No | Normalized bid/ask ladder from Steam order histogram. |
Steam Market Meta meta
| Field | Type | Required | Description |
|---|---|---|---|
count | integer | No | – |
currency | string | No | – |
filtered | string[] | No | Present when market_hash_name filter was applied. |
bucket | integer | No | Present when bucket query filter was applied. |
Steam Orderbook data[].orderbook
Normalized bid/ask ladder from Steam order histogram.
| Field | Type | Required | Description |
|---|---|---|---|
ask_levels | integer | No | – |
bid_levels | integer | No | – |
asks | Steam Orderbook Level[] | No | – |
bids | Steam Orderbook Level[] | No | – |
Steam Orderbook Level data[].orderbook.asks[]
| Field | Type | Required | Description |
|---|---|---|---|
price | string | Yes | Fixed-point decimal value serialized as a string (preserves precision across languages). Parse with an arbitrary-precision decimal library; do not parse as a native float. |
quantity | integer | Yes | – |
Errors
400Invalid query parameters401Missing or invalid API key403API key not allowed for this endpoint429Rate limit exceeded500Internal server error