Batch Sampled Sale Prices
Sampled Youpin sale prices for up to 100 CS2 items in one call, over one range. items maps each known name to the full sampled sale prices shape, notFound[] lists names that are not CS2 items, and ambiguous[] lists items that map to more than one Youpin template. The same caveats apply: independent samples, not sales volume, and USD at historical rates only. Returns 200. Pro and Enterprise plans. CS2 only.
Read up to 100 items in one POST. The body takes market (youpin), marketHashNames and an optional start and end, with the same formats, defaults and 180-day limit as the single-item route; one range applies to every item. A repeated name is read once. Returns 200 (not 201).
items maps each known name to a full SaleSamplesResponse. A known item without points in the range is in items with empty series, not in notFound, which lists only names that are not CS2 items. ambiguous lists known items that map to more than one Youpin template; their series are not merged or served. Every series carries the single-item caveats: independent samples, not sales volume, and USD at historical rates only.
Parameters
youpin, the only source. Any other value is a 400.end.Response fields
SaleSamplesResponse, one per known item. A known item without points in the range has empty series.Errors
marketHashNames, more than 100, or an invalid name; market missing or not youpin; an invalid start or end; a range that is empty, longer than 180 days or ends in the future; or an unknown body field.Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.ambiguous instead.export SKINPRICER_API_KEY="sp_live_•••"
curl -X POST "https://pricing.skinpricer.com/v1/pricing/sale-samples/batch" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"market":"youpin","marketHashNames":["AK-47 | Redline (Field-Tested)","AWP | Asiimov (Field-Tested)"],"start":"2026-10-25T00:00:00Z","end":"2026-10-25T04:00:00Z"}'// No SDK helper for this endpoint yet, so call it directly.
const url = new URL("https://pricing.skinpricer.com/v1/pricing/sale-samples/batch");
const res = await fetch(url, {
method: "POST",
headers: { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({"market":"youpin","marketHashNames":["AK-47 | Redline (Field-Tested)","AWP | Asiimov (Field-Tested)"],"start":"2026-10-25T00:00:00Z","end":"2026-10-25T04:00:00Z"}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://pricing.skinpricer.com/v1/pricing/sale-samples/batch",
json={"market":"youpin","marketHashNames":["AK-47 | Redline (Field-Tested)","AWP | Asiimov (Field-Tested)"],"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).
{
"items": {
"AK-47 | Redline (Field-Tested)": {
"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
}
}
},
"AWP | Asiimov (Field-Tested)": {
"marketHashName": "AWP | Asiimov (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": 2,
"data": [
{
"bucket": "2026-10-25T00:00:00.000Z",
"soldAt": "2026-10-25T00:27:39.000Z",
"priceUsdCents": 10001,
"priceCny": 71250,
"fxDate": "2026-10-23"
},
{
"bucket": "2026-10-25T02:00:00.000Z",
"soldAt": "2026-10-25T02:44:10.000Z",
"priceUsdCents": 9963,
"priceCny": 70980,
"fxDate": "2026-10-23"
}
],
"lastCollectedAt": "2026-10-25T04:06:15.000Z"
},
"4h": {
"pointCount": 1,
"data": [
{
"bucket": "2026-10-25T00:00:00.000Z",
"soldAt": "2026-10-25T02:44:10.000Z",
"priceUsdCents": 9963,
"priceCny": 70980,
"fxDate": "2026-10-23"
}
],
"lastCollectedAt": "2026-10-25T04:06:15.000Z"
},
"12h": {
"pointCount": 1,
"data": [
{
"bucket": "2026-10-24T16:00:00.000Z",
"soldAt": "2026-10-25T00:27:39.000Z",
"priceUsdCents": 10001,
"priceCny": 71250,
"fxDate": "2026-10-23"
}
],
"lastCollectedAt": "2026-10-25T04:06:15.000Z"
}
}
}
},
"notFound": [],
"ambiguous": []
}