GET /v3/prices/{market}/history
Lowest-listing price history for one item on one marketplace: daily for up to a year (resolution=daily) or hourly for up to 100 days (resolution=hourly). Hourly points exist for every hour in which the item was collected.
Prices are returned in currency (default USD); the marketplace's own value and currency stay under original. See Currencies. Every point is converted with the exchange rate of its own day.
Access
Available on Enterprise.
Marketplaces
| Marketplace | Slug | Original currency |
|---|---|---|
| YouPin898 | youpin | CNY |
| BUFF163 | buff163 | CNY |
| C5Game | c5game | CNY |
| EcoSteam | ecosteam | CNY |
| Skinport | skinport | EUR |
| SkinBaron | skinbaron | EUR |
| CSFloat | csfloat | USD |
| Lisskins | lisskins | USD |
| DMarket | dmarket | USD |
| ShadowPay | shadowpay | USD |
| Waxpeer | waxpeer | USD |
| Tradeit.gg | tradeit | USD |
| Skinplace | skinplace | USD |
| Market.CSGO | market-csgo | USD |
| Skinland | skinland | USD |
Path parameters
| Parameter | Description |
|---|---|
marketrequired | Marketplace slug (same as live price routes). |
Query parameters
| Parameter | Description |
|---|---|
market_hash_namerequired | Steam market_hash_name. Only one name per request
(no comma-separated lists, no repeated params). |
resolution | Point density. Defaults to daily. |
from | Inclusive start date (YYYY-MM-DD). Defaults to 30 days before to
for hourly, or 365 days before to for daily. |
to | Inclusive end date (YYYY-MM-DD). Defaults to today (UTC). |
currency | Currency for every price, e.g. ?currency=EUR. Defaults to USD; see Currencies. |
Request
GET https://api.cspriceapi.com/v3/prices/{market}/history
curl -s --compressed "https://api.cspriceapi.com/v3/prices/youpin/history?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)&resolution=daily" \
-H "x-api-key: YOUR_API_KEY"import requests
response = requests.get(
"https://api.cspriceapi.com/v3/prices/youpin/history",
params={"market_hash_name": "AK-47 | Redline (Field-Tested)", "resolution": "daily"},
headers={"x-api-key": "YOUR_API_KEY"},
timeout=60,
)
response.raise_for_status()
data = response.json()const response = await fetch(`https://api.cspriceapi.com/v3/prices/youpin/history?${new URLSearchParams({"market_hash_name":"AK-47 | Redline (Field-Tested)","resolution":"daily"})}`, {
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("resolution", "daily")
req, err := http.NewRequest("GET", "https://api.cspriceapi.com/v3/prices/youpin/history?"+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/v3/prices/youpin/history") |>
req_url_query(market_hash_name = "AK-47 | Redline (Field-Tested)", resolution = "daily") |>
req_headers(`x-api-key` = "YOUR_API_KEY") |>
req_perform()
data <- resp_body_json(response)Response
{
"currency": "EUR",
"original_currency": "CNY",
"fx": {
"base": "USD",
"source": "ECB reference rates",
"date": "2026-12-01",
"rates_per_usd": {
"CNY": 6.6646,
"EUR": 0.91684
},
"note": "Time series are converted with the ECB rate of each point's own day."
},
"market": "youpin",
"market_hash_name": "AK-47 | Redline (Field-Tested)",
"resolution": "daily",
"from": "2026-11-30",
"to": "2026-12-02",
"count": 3,
"source": "YouPin History",
"requestor": "you@example.com",
"plan": "pro",
"timestamp": "2026-12-02T13:27:13.812Z",
"data": [
{
"day": "2026-11-30",
"price": 19.46,
"count": 11369,
"original": {
"currency": "CNY",
"price": 141.02
}
},
{
"day": "2026-12-01",
"price": 19.24,
"count": 11404,
"original": {
"currency": "CNY",
"price": 139.87
}
},
{
"day": "2026-12-02",
"price": 19.31,
"count": 11539,
"original": {
"currency": "CNY",
"price": 140.4
}
}
]
}Response fields
| Field | Type | Required | Description |
|---|---|---|---|
currency | string (currency) | Yes | Currency of every converted price in this object (the requested currency). |
original_currency | string | No | Currency of the marketplace, e.g. CNY. |
fx | Exchange rates | Yes | Exchange rates used for this response. |
market | string | No | Marketplace slug. |
market_hash_name | string | No | Item. |
resolution | string | No | daily or hourly. |
from | string (date) | No | First day of the range. |
to | string (date) | No | Last day of the range. |
count | integer | No | Number of points. |
data | Price History Point[] | Yes | Points, oldest first. |
timestamp | string (date-time) | No | When the response was generated. |
Exchange rates fx
Exchange rates used for this response.
| Field | Type | Required | Description |
|---|---|---|---|
base | string | Yes | Always USD: rates are units per 1 USD. |
source | string | No | Where the rates come from (ECB reference rates). |
date | string (date) | Yes | Date of the current ECB rates. |
rates_per_usd | map<currency, number> | Yes | Units of each currency per 1 USD, for every currency used in this response. |
note | string | No | Only on time series: points are converted with the rate of their own day. |
Price History Point data[]
| Field | Type | Required | Description |
|---|---|---|---|
day | string (date) | Yes | Day (UTC). |
slot | integer | No | Hourly only: hour of the day (UTC, 0–23). |
last_ts | string | No | Hourly only: time of the last price in that hour (UTC). |
price | number | null | Yes | Lowest listing price, converted with that day's rate. |
count | integer | null | No | Daily: listings; hourly: samples in that hour. |
original | object | Yes | The marketplace's own values, in its own currency. |
original.currency | string | Yes | Currency of the marketplace (ISO 4217), e.g. CNY. |
original.price | number | null | No | Price in the marketplace's currency. |
Errors
400Invalid or unknown parameter value, e.g. an unsupportedcurrency.401Missing, invalid, disabled or expired API key.403Your plan or key does not include this endpoint or marketplace.404Unknown marketplace in the path.429More than 10 requests per second. Retry after one second (Retry-Afterheader).500Internal error. Retry later; contact support if it persists.503Exchange rates are temporarily unavailable.