/v1/prices/{market}/history

GET

Price History

GET/v1/prices/{market}/history

Get historical prices for one skin (Enterprise)

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.

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.

Parameters

NameInRequiredDescription
market
string
pathyesMarketplace slug (same as live price routes).
Example: youpin
market_hash_name
string
queryyesSteam market_hash_name. Only one name per request (no comma-separated lists, no repeated params).
Example: AK-47 | Redline (Field-Tested)
resolution
string
querynoPoint density. Defaults to daily.
Example: daily
from
string
querynoInclusive start date (YYYY-MM-DD). Defaults to 30 days before to for hourly, or 365 days before to for daily.
to
string
querynoInclusive end date (YYYY-MM-DD). Defaults to today (UTC).

Example request

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

Example 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"
}

Responses

  • 200Historical price series for the requested skin.
  • 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.

Interactive explorer

Try requests with your API key and browse the full request/response schemas.

Loading endpoint…

This endpoint as Markdown (.md)