V3Price History· V1/V2 version

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

MarketplaceSlugOriginal currency
YouPin898youpinCNY
BUFF163buff163CNY
C5Gamec5gameCNY
EcoSteamecosteamCNY
SkinportskinportEUR
SkinBaronskinbaronEUR
CSFloatcsfloatUSD
LisskinslisskinsUSD
DMarketdmarketUSD
ShadowPayshadowpayUSD
WaxpeerwaxpeerUSD
Tradeit.ggtradeitUSD
SkinplaceskinplaceUSD
Market.CSGOmarket-csgoUSD
SkinlandskinlandUSD

Path parameters

ParameterDescription
marketrequired
Marketplace slug (same as live price routes).

Query parameters

ParameterDescription
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"

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

FieldTypeRequiredDescription
currencystring (currency)YesCurrency of every converted price in this object (the requested currency).
original_currencystringNoCurrency of the marketplace, e.g. CNY.
fxExchange ratesYesExchange rates used for this response.
marketstringNoMarketplace slug.
market_hash_namestringNoItem.
resolutionstringNodaily or hourly.
fromstring (date)NoFirst day of the range.
tostring (date)NoLast day of the range.
countintegerNoNumber of points.
dataPrice History Point[]YesPoints, oldest first.
timestampstring (date-time)NoWhen the response was generated.

Exchange rates fx

Exchange rates used for this response.

FieldTypeRequiredDescription
basestringYesAlways USD: rates are units per 1 USD.
sourcestringNoWhere the rates come from (ECB reference rates).
datestring (date)YesDate of the current ECB rates.
rates_per_usdmap<currency, number>YesUnits of each currency per 1 USD, for every currency used in this response.
notestringNoOnly on time series: points are converted with the rate of their own day.

Price History Point data[]

FieldTypeRequiredDescription
daystring (date)YesDay (UTC).
slotintegerNoHourly only: hour of the day (UTC, 0–23).
last_tsstringNoHourly only: time of the last price in that hour (UTC).
pricenumber | nullYesLowest listing price, converted with that day's rate.
countinteger | nullNoDaily: listings; hourly: samples in that hour.
originalobjectYesThe marketplace's own values, in its own currency.
original.currencystringYesCurrency of the marketplace (ISO 4217), e.g. CNY.
original.pricenumber | nullNoPrice in the marketplace's currency.

Errors

  • 400Invalid or unknown parameter value, e.g. an unsupported currency.
  • 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-After header).
  • 500Internal error. Retry later; contact support if it persists.
  • 503Exchange rates are temporarily unavailable.

This endpoint as Markdown (.md) · openapi.yaml