Legacy V1/V2Price History

GET /v1/prices/{market}/history

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/prices/{market}/history.

Returns historical listing prices for exactly one

market_hash_name on a given marketplace.

resolutionSourceDensityTypical retention
hourlyprice_history_*up to 24 points/day (slot)last ~100 days
daily (default)price_daily_*1 point/dayfull history

Requesting hourly for a from/to window longer than 100 days

returns 400 — use daily for longer ranges.

youpin, buff163, c5game, skinport, skinbaron, market-csgo,

csfloat, dmarket, ecosteam, lisskins, skinland, shadowpay,

waxpeer, tradeit (history starts 2026-11-14),

skinplace (history starts 2026-12-04).

Prices are decimal strings in the marketplace's native currency

(currency in the response): CNY / EUR / USD. CSFloat history is stored

in USD cents and converted to USD for the response.

Access

Available on Enterprise.

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).

Request

GET https://api.cspriceapi.com/v1/prices/{market}/history

curl -s --compressed "https://api.cspriceapi.com/v1/prices/youpin/history?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)&resolution=daily" \
  -H "x-api-key: YOUR_API_KEY"

Response

{
  "market": "youpin",
  "market_hash_name": "AK-47 | Redline (Field-Tested)",
  "resolution": "daily",
  "currency": "CNY",
  "from": "2025-08-21",
  "to": "2026-08-21",
  "count": 2,
  "data": [
    {
      "day": "2025-08-21",
      "price": "210.5000",
      "count": 8421
    },
    {
      "day": "2026-08-21",
      "price": "185.5000",
      "count": 11507
    }
  ],
  "source": "YouPin History",
  "requestor": "customer@example.com",
  "plan": "enterprise",
  "timestamp": "2026-08-21T06:00:00.000Z"
}

Response fields

FieldTypeRequiredDescription
sourcestringYes–
requestorstring (email)NoEmail address associated with the API key making the call.
planstringNoPlan of the API key (e.g. free, pro, enterprise).
timestampstring (date-time)YesServer time when this response was produced.
marketstringYes–
market_hash_namestringYes–
resolutionstringYes–
currencystringYes–
fromstring (date)Yes–
tostring (date)Yes–
countintegerYes–
dataany[]Yes–

Errors

  • 400Invalid parameters or hourly range too long.
  • 401Missing, invalid, disabled or expired API key.
  • 403The API key is valid but is not allowed to call this endpoint (endpoint ACL).
  • 404Unknown marketplace slug.
  • 429Rate limit exceeded (10 requests per second per key). Retry after 1 second.
  • 500Internal server error – temporary upstream failure, etc.

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