# Youpin price API for Counter-Strike 2

Full documentation for the Youpin price API for CS2: real-time ask/bid and buy orders from youpin898 in USD, per-phase Doppler prices, 3+ years of history, and 1h/4h/12h sale prices.

The cs2.sh Youpin API returns real-time youpin898 prices for every CS2 item: `ask`, `ask_volume`, `bid`, and `bid_volume` on `/v1/prices/latest`, collected every few minutes and normalized from CNY to USD. Youpin has no public API and actively blocks collection; cs2.sh maintains the collection so you don't have to.

Doppler, Gamma Doppler, and Case Hardened are priced individually, and every Doppler and Gamma Doppler phase carries its own native buy order: per-phase `bid` and `bid_volume`, refreshed every ~5-15 minutes.

`/v1/prices/history` returns continuously updating OHLC candles at `5m`/`30m`/`1h`/`1d` for every Youpin item. `/v1/archive/history` covers daily and hourly Youpin data back to 2023, and `/v1/archive/youpin` returns real Youpin sale prices at `1h`/`4h`/`12h` intervals - transacted data at a granularity that is very hard to find for Youpin anywhere else.

Every response is JSON keyed by the canonical `market_hash_name`, with `updated_at` and `collected_at` timestamps on every price. GET returns the whole market in one call; POST returns specific items. The same key and schema cover BUFF, CSFloat, Steam, Skinport, and C5Game.

About Youpin898: youpin898.com is China's largest CS2 marketplace by sale volume, peer-to-peer, paired with BUFF to set an item's fair value. It prices in Chinese yuan, has no public API, and blocks collection by invalidating sessions and banning IPs.

Updated 2026-08-21

## Fields

|  |  |
| --- | --- |
| `ask` | Lowest listing price (USD) |
| `ask_volume` | Items listed for sale |
| `bid` | Highest buy order (USD) |
| `bid_volume` | Active buy orders |

## endpoints

|  |  |
| --- | --- |
| [`/v1/prices/latest`](https://cs2.sh/docs/prices-latest) | Live Youpin ask/bid prices, buy orders, and volumes in USD, refreshed every ~5 minutes |
| [`/v1/prices/history`](https://cs2.sh/docs/prices-history) | Continuously updating OHLC candles at 5m/30m/1h/1d, since December 24th, 2025 |
| [`/v1/archive/history`](https://cs2.sh/docs/archive-history) | Daily and hourly Youpin prices, supply, and sale volume back to 2023 |
| [`/v1/archive/youpin`](https://cs2.sh/docs/archive-youpin) | Real Youpin sale prices at 1h/4h/12h intervals, since November 12th, 2025 |

## common questions

### How often does cs2.sh update Youpin898 prices?

cs2.sh collects Youpin listing prices, buy orders, and volumes for every item every few minutes, normalized from CNY to USD. Doppler, Gamma Doppler, and Case Hardened variants, including per-phase buy orders, refresh every ~5-15 minutes.

### How far back does Youpin price history go?

cs2.sh keeps three Youpin histories: OHLC candles at 5m/30m/1h/1d since December 24th, 2025, daily and hourly archive data back to 2023, and real Youpin sale prices at 1h/4h/12h intervals since November 12th, 2025, granularity that is very hard to find for Youpin anywhere else.

### Does the Youpin API cover Doppler and Case Hardened variants?

Yes. Doppler phases, Gamma Doppler, and Case Hardened tiers are priced individually alongside the regular item. Every Doppler and Gamma Doppler phase carries ask, bid, and bid_volume, with ask_volume on most items. Variant prices refresh every ~5-15 minutes.
