Price history

How to Get Historical CS2 Skin Prices

Quick start

Copy-paste curl example

Authenticate with your Bearer API key. Full reference in the API docs and data coverage.

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

Overview

REST API — per-market history

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

Replace youpin with buff163, skinport, skinbaron, csfloat, market-csgo, etc.

Interactive docs: GET /v1/prices/{market}/history.

Guide

Web charts (no API key)

Every skin in Browse Skins has a price-history chart with per-market overlays. Open any item → scroll to the chart section.

Guide

Hourly vs daily

Use the resolution query parameter on the same endpoint:

ResolutionBest forRange
hourlyIntraday charts, short-term movesUp to ~100 days per request
daily (default)Multi-year trends, backtestsFull stored history
# Intraday (hourly listing snapshots)
curl -s "https://api.cspriceapi.com/v1/prices/youpin/history?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)&resolution=hourly" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Multi-year (daily closes)
curl -s "https://api.cspriceapi.com/v1/prices/youpin/history?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)&resolution=daily" \
  -H "Authorization: Bearer YOUR_API_KEY"

Listing prices are captured roughly every hour; daily points roll those up for long-range charts.

The dedicated Historical Data product exposes bulk history feeds for backtesting and portfolio analytics.

Guide

Use cases

JobApproach
Trend chart on a dashboard/v1/prices/{market}/history + your chart library
Backtesting a strategyDaily series + fee model; watch for survivorship bias
Portfolio P&L over timeHistory + acquisition cost from your ledger
Spotting manipulationCross-check listing history vs sales data

Guide

Related endpoints

  • GET /v1/market-sales/search — completed sales by item name
  • GET /v1/prices/latest — current snapshot to anchor the latest point

Guide

Related guides

More guides

Related Price history

Ready to integrate?

Interactive Scalar docs, OpenAPI YAML and machine-readable Markdown mirrors for every endpoint.