Sampled Sale Prices
Sampled Youpin sale prices of one CS2 item, as three independent series with at most one sale per 1-hour, 4-hour or 12-hour bucket. Each point carries the native price in fen (CNY minor units) and a USD value at the historical CNY/USD rate of the sale's UTC date. The series are samples, not sales volume: one sale can appear in several series, so never stitch or sum them, and a point count is not a sale count. An empty series means no points were collected, not zero sales. Pro and Enterprise plans. CS2 only.
Three independent samples, not one tape: the route serves archived Youpin sale prices as a 1h, a 4h and a 12h series, each with at most one sale per bucket (sampling.method: one_sale_per_bucket). The series overlap, so one sale can appear in several of them (intervalsIndependent: true). Read each series on its own; never stitch them into one line or add them up.
Not volume: pointCount counts the points returned, not sales, and representsVolume is always false. A busy bucket and a quiet one each hold at most one point. An empty data array, with lastCollectedAt: null, means no points were collected for that series in the range, not that the item did not sell. A known item with no Youpin template or no archived points also returns 200 with empty series.
Prices: priceCny is Youpin's price in fen (CNY minor units; divide by 100 for yuan), as reported. priceUsdCents converts it at the historical CNY/USD rate of the sale's UTC date, rounded half up, and fxDate is the date of the rate used, which can be an earlier published rate for a weekend or holiday sale. Only historical rates are used: when a sale date in the range has no historical rate, the request answers 503 instead of falling back to the current rate.
Range and buckets: start and end filter on soldAt, the sale's own time. Without start the range is the 180 days before end, which defaults to the request time; no range may exceed 180 days. Points are sorted oldest first. bucket is the start of the sampling bucket on Youpin's UTC+8 clock, so it can be earlier than start. An item that maps to more than one Youpin template answers 409: distinct templates are never merged into one series.
Parameters
youpin, the only source. Any other value is a 400.2026-10-01, read as 00:00 UTC) or a timestamp with seconds and an explicit zone (2026-10-25T00:00:00Z). Defaults to 180 days before end.Response fields
youpin.1h, 4h and 12h series.Nested and shared shapes link to the API Objects reference.
Errors
market missing or not youpin, an invalid item name, a start or end that is neither a real date nor a timestamp with an explicit zone, a range that is empty, longer than 180 days or ends in the future, or an unknown parameter.Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.Companion endpoints
The same series for up to 100 items in one call. POST market, marketHashNames[] and an optional range; returns items keyed by market hash name, plus notFound[] and ambiguous[]. Returns 200.
export SKINPRICER_API_KEY="sp_live_•••"
curl -G "https://pricing.skinpricer.com/v1/pricing/AK-47%20%7C%20Redline%20(Field-Tested)/sale-samples" \
--data-urlencode "market=youpin" \
--data-urlencode "start=2026-10-25T00:00:00Z" \
--data-urlencode "end=2026-10-25T04:00:00Z" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY"// No SDK helper for this endpoint yet, so call it directly.
const url = new URL("https://pricing.skinpricer.com/v1/pricing/AK-47%20%7C%20Redline%20(Field-Tested)/sale-samples");
url.searchParams.set("market", "youpin");
url.searchParams.set("start", "2026-10-25T00:00:00Z");
url.searchParams.set("end", "2026-10-25T04:00:00Z");
const res = await fetch(url, {
headers: { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}` },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://pricing.skinpricer.com/v1/pricing/AK-47%20%7C%20Redline%20(Field-Tested)/sale-samples",
params={"market": "youpin", "start": "2026-10-25T00:00:00Z", "end": "2026-10-25T04:00:00Z"},
headers={"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"},
timeout=10,
)
res.raise_for_status()
print(res.json())Authenticated endpoint: call it with your API key from your own client (see the code sample).
{
"marketHashName": "AK-47 | Redline (Field-Tested)",
"market": "youpin",
"start": "2026-10-25T00:00:00.000Z",
"end": "2026-10-25T04:00:00.000Z",
"sampling": {
"method": "one_sale_per_bucket",
"intervalsIndependent": true,
"representsVolume": false
},
"intervals": {
"1h": {
"pointCount": 3,
"data": [
{
"bucket": "2026-10-25T00:00:00.000Z",
"soldAt": "2026-10-25T00:41:17.000Z",
"priceUsdCents": 3249,
"priceCny": 23150,
"fxDate": "2026-10-23"
},
{
"bucket": "2026-10-25T01:00:00.000Z",
"soldAt": "2026-10-25T01:52:03.000Z",
"priceUsdCents": 3228,
"priceCny": 23000,
"fxDate": "2026-10-23"
},
{
"bucket": "2026-10-25T03:00:00.000Z",
"soldAt": "2026-10-25T03:18:46.000Z",
"priceUsdCents": 3268,
"priceCny": 23280,
"fxDate": "2026-10-23"
}
],
"lastCollectedAt": "2026-10-25T04:06:12.000Z"
},
"4h": {
"pointCount": 1,
"data": [
{
"bucket": "2026-10-25T00:00:00.000Z",
"soldAt": "2026-10-25T01:52:03.000Z",
"priceUsdCents": 3228,
"priceCny": 23000,
"fxDate": "2026-10-23"
}
],
"lastCollectedAt": "2026-10-25T04:06:12.000Z"
},
"12h": {
"pointCount": 0,
"data": [],
"lastCollectedAt": null
}
}
}