Skip to main content
POST/v2/pricing/history/batchPRO+

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

gamestringrequired
Query. cs2 or rust. Every item is read in this game.
itemsstring[]required
Body. 1 to 100 entries, each up to 512 characters: an exact market hash name, a slug or a canonical item id, tried in that order. A repeated entry is read once.
fromstringoptional
Body. ISO 8601 start of the inclusive range. Default: 30 days before now, even when to is set, so send from with an earlier to.
tostringoptional
Body. ISO 8601 end of the inclusive range. Default: now.
intervalstringoptional
Body. 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.
listingTypestringoptional
Body. SELL_OFFER | BUY_ORDER | SALE_HISTORY. Default: SELL_OFFER.
salesWindowstringoptional
Body. 24h | 7d | 30d | 90d. Only with listingType: "SALE_HISTORY". Default: 30d.
currencystringoptional
Body. ISO 4217 code such as 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

HistoryBatchResponseThe aggregate history of many items over one range.
listingTypestring
SELL_OFFER | BUY_ORDER | SALE_HISTORY, as requested.
priceKindstring
ask_statistic | bid_statistic | sale_statistic, as on HistoryResponse.
salesWindowstringnullable
Only set when listingType=SALE_HISTORY.
effectiveIntervalstring
The stored rollup every series is in: 10m | 1h | 1d.
fromstring (date-time)
Start of the range served.
tostring (date-time)
End of the range served.
itemsobject
Map of each resolved request entry, keyed exactly as sent, to the HistoryResponse a single /v2 history read returns for it, including its own corrections, without fx.
errorsobject
Map of each entry that did not resolve, keyed exactly as sent, to a HistoryBatchError. Empty when every entry resolved.
fxFx
Present only when the request names a 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

400Invalid 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.
401Missing Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.
403Valid key, but the plan is not Pro or Enterprise, or the subscription is inactive or expired.
429Rate limit exceeded; see Retry-After + X-RateLimit-* headers. Pooled per account across all keys.
503Reads for this game are not ready, or no rate for the requested 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).

Response 200
{
  "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": {}
}
Response headers
X-RateLimit-Limit: <per-minute, set by your plan>
X-RateLimit-Remaining: <remaining this minute>
X-RateLimit-Reset: <seconds to reset>
X-Request-ID: req_xxxxxxxxxxxxxxxx

Usage & licensing

Access to the API and its data is governed by our Terms of Service. You may not resell or redistribute the data, use it to build a competing service, or exceed your plan’s rate limits, and you must attribute SkinPricer as the source wherever the Terms permit you to display it. Abuse may be throttled or suspended.