Use the resolution query parameter on the same endpoint:
| Resolution | Best for | Range |
hourly | Intraday charts, short-term moves | Up to ~100 days per request |
daily (default) | Multi-year trends, backtests | Full 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.