Batch Price History
The aggregate price history of up to 100 items of one game in one request. Each entry of items (a market hash name, a slug or a canonical item id) gets the body GET /v2/pricing/:marketHashName/history serves it, keyed exactly as sent; an entry that does not resolve is in errors and the rest are still served with 200. One range, interval and listingType apply to every item. Costs 5 rate-limit units per distinct entry, like the single reads it replaces. Pro and Enterprise plans. CS2 and Rust.
Read the history of up to 100 items in one POST instead of one GET per item. The body takes items plus the single read's from, to, interval, listingType, salesWindow and currency, with the same defaults; it takes no markets, because the aggregate series has none. Returns 200 (not 201).
Each entry of items can be an exact market hash name, a slug or a canonical item id, tried in that order, and its result is keyed exactly as you sent it. An entry that matches no item is in errors as not_found (404); one whose name or slug two items share is ambiguous (409), and the canonical item id resolves it. The other entries are still served.
The batch shares the single read's 10,000-point budget: distinct items times the buckets of the effective interval, counting both ends, doubled for SALE_HISTORY. 100 items fit 30 days of DAY_1 or 4 days of HOUR_1; the default 30 days of hourly points fit 13 items. A batch in 10m buckets takes at most 25 items. Over either limit is a 400 that names it, so split the batch or widen the interval.
A batch costs 5 rate-limit units per distinct entry, unresolved entries included, the same as the single reads it replaces: at Pro's 1,200 units a minute that is 240 items a minute in any batch size. Each item's series is the same one /v2/pricing/:marketHashName/history returns.
Parameters
cs2 or rust. Every item is read in this game.to is set, so send from with an earlier to.MINUTE_5 | MINUTE_15 | HOUR_1 | HOUR_6 | DAY_1, snapped to the stored 10m / 1h / 1d rollups as on the single read. Default: derived from the range. Items times buckets must stay within 10,000 points (twice the buckets for SALE_HISTORY), and a batch in 10m buckets takes at most 25 items; over either is a 400 that names the limit.SELL_OFFER | BUY_ORDER | SALE_HISTORY. Default: SELL_OFFER.24h | 7d | 30d | 90d. Only with listingType: "SALE_HISTORY". Default: 30d.EUR, GBP or JPY. Converts every price of every item at one current rate, stated once in the top-level fx block (fxBasis: "current"). Absent or USD: USD cents. See Prices in another currency.Response fields
SELL_OFFER | BUY_ORDER | SALE_HISTORY, as requested.ask_statistic | bid_statistic | sale_statistic, as on HistoryResponse.10m | 1h | 1d.HistoryResponse a single /v2 history read returns for it, including its own corrections, without fx.HistoryBatchError. Empty when every entry resolved.currency other than USD: the one rate every point of every item was converted at.Nested and shared shapes link to the API Objects reference.
Errors
game; items missing, empty, over 100 or with an invalid entry; an invalid range, interval, listingType or currency; or a batch over the 10,000-point budget or the 25-item cap in 10m buckets.Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.currency is available. Retry later.export SKINPRICER_API_KEY="sp_live_•••"
curl -X POST "https://pricing.skinpricer.com/v2/pricing/history/batch?game=cs2" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"items":["AK-47 | Redline (Field-Tested)","awp-asiimov-field-tested"],"from":"2026-11-26T00:00:00Z","to":"2026-11-27T00:00:00Z","interval":"DAY_1"}'// No SDK helper for this endpoint yet, so call it directly.
const url = new URL("https://pricing.skinpricer.com/v2/pricing/history/batch");
url.searchParams.set("game", "cs2");
const res = await fetch(url, {
method: "POST",
headers: { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({"items":["AK-47 | Redline (Field-Tested)","awp-asiimov-field-tested"],"from":"2026-11-26T00:00:00Z","to":"2026-11-27T00:00:00Z","interval":"DAY_1"}),
});
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/v2/pricing/history/batch",
params={"game": "cs2"},
json={"items":["AK-47 | Redline (Field-Tested)","awp-asiimov-field-tested"],"from":"2026-11-26T00:00:00Z","to":"2026-11-27T00:00:00Z","interval":"DAY_1"},
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).
{
"listingType": "SELL_OFFER",
"priceKind": "ask_statistic",
"salesWindow": null,
"effectiveInterval": "1d",
"from": "2026-11-26T00:00:00.000Z",
"to": "2026-11-27T00:00:00.000Z",
"items": {
"AK-47 | Redline (Field-Tested)": {
"canonicalItemId": "cmlofczf90qj401vsd80dskd1",
"name": "AK-47 | Redline (Field-Tested)",
"listingType": "SELL_OFFER",
"priceKind": "ask_statistic",
"salesWindow": null,
"effectiveInterval": "1d",
"history": [
{
"timestamp": "2026-11-26T00:00:00.000Z",
"avgPrice": 2236,
"medianPrice": 2200,
"minPrice": 1967,
"maxPrice": 2499,
"listingCount": 27717,
"totalQuantity": null,
"volume": null,
"bestBidCents": 2160,
"bestAskCents": 1967,
"spreadBps": null,
"netBestBidCents": 2052,
"netSpreadBps": null
},
{
"timestamp": "2026-11-27T00:00:00.000Z",
"avgPrice": 2240,
"medianPrice": 2238,
"minPrice": 1854,
"maxPrice": 2492,
"listingCount": 27710,
"totalQuantity": null,
"volume": null,
"bestBidCents": 2145,
"bestAskCents": 1854,
"spreadBps": null,
"netBestBidCents": 2038,
"netSpreadBps": null
}
]
},
"awp-asiimov-field-tested": {
"canonicalItemId": "cmlofczmb0qca01yo2bdv4wql",
"name": "AWP | Asiimov (Field-Tested)",
"listingType": "SELL_OFFER",
"priceKind": "ask_statistic",
"salesWindow": null,
"effectiveInterval": "1d",
"history": [
{
"timestamp": "2026-11-26T00:00:00.000Z",
"avgPrice": 7921,
"medianPrice": 7677,
"minPrice": 7110,
"maxPrice": 9400,
"listingCount": 6193,
"totalQuantity": null,
"volume": null,
"bestBidCents": 7905,
"bestAskCents": 7110,
"spreadBps": null,
"netBestBidCents": 7510,
"netSpreadBps": null
},
{
"timestamp": "2026-11-27T00:00:00.000Z",
"avgPrice": 8016,
"medianPrice": 8097,
"minPrice": 7000,
"maxPrice": 8866,
"listingCount": 6306,
"totalQuantity": null,
"volume": null,
"bestBidCents": 7735,
"bestAskCents": 7000,
"spreadBps": null,
"netBestBidCents": 7348,
"netSpreadBps": null
}
]
}
},
"errors": {}
}