Rolling Price Medians File
Every item's rolling ask and sale medians in one gzip NDJSON file, so you can compare today's price with its 7 to 365-day reference without one history call per item. One JSON object per line: per item and market for asks, per item, market, lane, side and currency for archived sales, and per item and market for a provider's own median series (Steam, Skinport). Each line carries every window with its count, native median, USD median and completeness. Markets and evidence are never combined, and a missing line or a null median is unknown, not zero. Rebuilt daily at about 06:40 UTC. Pro and Enterprise plans. CS2 and Rust.
One request returns the whole game: a gzip NDJSON file (Content-Type: application/gzip, Content-Disposition: attachment; filename="skinpricer-rolling-<game>-<windowEnd>.ndjson.gz", no Content-Encoding), one RollingPriceRow per line. Save it, decompress it and parse each line on its own. The CS2 file is about 19 MB compressed with about 680,000 lines; Rust about 3 MB. Lines from different markets or evidence are never combined; to compare markets, compare their lines. A missing line or a null median is unknown, not zero.
Ask daily point (daily_lowest_ask): each UTC day's lowest ask on that market, the minPrice that per-market history serves at interval=1d, with history corrections left out. A window's median is the median of those days (an even count takes the rounded mean of the middle two), and count is the days that had an ask. Sales (sale_prices): every archived sale in the window, a sale seen by several polls counted once, as the daily sales file collapses them; the median is exact in the native currency. Points (unit_weighted_point_medians): the provider's own day points, or a day's hour points where it has no day point; the median is the lowest point median at which the units sold reach half, and count is the units. Mean and sum series (WhiteMarket, Mannco) are left out.
Completeness: complete means the window lies inside what SkinPricer captures (asks since 2026-02-16 for CS2 and 2026-09-08 for Rust, and the providers' own series). lower_bound means the archive watched the lane for the whole window, but markets do not report every sale. partial_window means the window starts before the lane's first whole archived day, so it holds only what the market's history still returned.
Schedule and headers: both games are rebuilt at about 06:40 UTC daily, and at service start when a file does not end with yesterday. ETag is the file's sha256 and changes with each build, so send it back as If-None-Match and you get a 304 until the next one. Other headers: Last-Modified (build time), X-Rolling-Window-End (the windowEnd of every line), X-Rolling-Received-Through (archive receipts after it are not in the file) and X-Rolling-Rows (the line count). For one item's daily series instead of medians, use per-market history or provider sale series.
Parameters
cs2 (default) or rust.ETag of the file you already hold; returns 304 with no body until the next daily build.Response fields
cs2 or rust.YYYY-MM-DD: the last closed day before the build.ask or sale.quotes: the market's daily lowest asks. sales: archived individual sales. points: the provider's own median points.["sales", "feed"] count each sale once). Null on ask lines.sales lines: sell_listing, buy_order or unknown, each side its own line. Null otherwise.daily_lowest_ask, sale_prices or unit_weighted_point_medians. See the notes.count counts: days (asks), sales or units (points).cash or steam_wallet (Steam Wallet funds, which cannot be withdrawn). Null on ask lines.median, e.g. USD or RUB. Ask lines are always USD. A market that sells in two currencies gets one line per currency.windowEnd); null for USD lines, which need none.7d, 30d and 90d on ask lines, plus 180d and 365d on sale lines. Each ends with windowEnd.Nested and shared shapes link to the API Objects reference.
Errors
game.Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.PRICES_ROLLING_UNAVAILABLE: the game's file has not been built yet (Retry-After: 300), or it is being replaced or the file store is unavailable (Retry-After: 5). Retry after Retry-After.export SKINPRICER_API_KEY="sp_live_•••"
# The body is gzip NDJSON: one JSON row per line. etag.txt keeps the ETag,
# so a repeat call answers 304 and leaves the file as it is until the next
# daily build (about 06:40 UTC). Needs curl 7.68 or newer.
curl -G "https://pricing.skinpricer.com/v2/prices/rolling" \
--data-urlencode "game=cs2" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY" \
--etag-compare etag.txt \
--etag-save etag.txt \
-o rolling-cs2.ndjson.gz
gunzip -c rolling-cs2.ndjson.gz | head -n 2// No SDK helper for this endpoint yet, so call it directly.
import { gunzipSync } from "node:zlib";
const url = new URL("https://pricing.skinpricer.com/v2/prices/rolling");
url.searchParams.set("game", "cs2");
const res = await fetch(url, {
headers: { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}` },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
// The body is a gzip file (Content-Type: application/gzip), so unpack it yourself.
const rows = gunzipSync(Buffer.from(await res.arrayBuffer()))
.toString("utf8")
.split("\n")
.filter(Boolean)
.map((line) => JSON.parse(line));
const steamAsk = rows.find((r) => r.market === "steamcommunity" && r.kind === "ask");
console.log(rows.length, "rows to", res.headers.get("x-rolling-window-end"));
console.log(steamAsk?.itemName, steamAsk?.windows["30d"]);import gzip
import json
import os
import requests
res = requests.get(
"https://pricing.skinpricer.com/v2/prices/rolling",
params={"game": "cs2"},
headers={"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"},
timeout=120,
)
res.raise_for_status()
# The body is a gzip file (Content-Type: application/gzip), so unpack it yourself.
rows = [json.loads(line) for line in gzip.decompress(res.content).splitlines() if line]
steam_ask = next(r for r in rows if r["market"] == "steamcommunity" and r["kind"] == "ask")
print(len(rows), "rows to", res.headers.get("X-Rolling-Window-End"))
print(steam_ask["itemName"], steam_ask["windows"]["30d"])Authenticated endpoint: call it with your API key from your own client (see the code sample).
{"game":"cs2","windowEnd":"2026-11-27","itemId":"cmlofc0to0jmy01yov7ynz7pk","itemName":"'Blueberries' Buckshot | NSWC SEAL","phase":null,"paintIndex":null,"market":"steamcommunity","kind":"ask","evidence":"quotes","lanes":null,"side":null,"basis":"daily_lowest_ask","countBasis":"days","economicBasis":null,"currency":"USD","fxDate":null,"windows":{"7d":{"count":7,"median":"10.00","usdCentsMedian":1000,"completeness":"complete"},"30d":{"count":30,"median":"11.93","usdCentsMedian":1193,"completeness":"complete"},"90d":{"count":90,"median":"13.00","usdCentsMedian":1300,"completeness":"complete"}}}
{"game":"cs2","windowEnd":"2026-11-27","itemId":"cmlofc0to0jmy01yov7ynz7pk","itemName":"'Blueberries' Buckshot | NSWC SEAL","phase":null,"paintIndex":null,"market":"csfloat","kind":"sale","evidence":"sales","lanes":["sales"],"side":"sell_listing","basis":"sale_prices","countBasis":"sales","economicBasis":"cash","currency":"USD","fxDate":null,"windows":{"7d":{"count":0,"median":null,"usdCentsMedian":null,"completeness":"lower_bound"},"30d":{"count":132,"median":"9.78","usdCentsMedian":978,"completeness":"lower_bound"},"90d":{"count":240,"median":"10.00","usdCentsMedian":1000,"completeness":"partial_window"},"180d":{"count":240,"median":"10.00","usdCentsMedian":1000,"completeness":"partial_window"},"365d":{"count":240,"median":"10.00","usdCentsMedian":1000,"completeness":"partial_window"}}}
{"game":"cs2","windowEnd":"2026-11-27","itemId":"cmlofc0to0jmy01yov7ynz7pk","itemName":"'Blueberries' Buckshot | NSWC SEAL","phase":null,"paintIndex":null,"market":"steamcommunity","kind":"sale","evidence":"points","lanes":["history"],"side":null,"basis":"unit_weighted_point_medians","countBasis":"units","economicBasis":"steam_wallet","currency":"USD","fxDate":null,"windows":{"7d":{"count":123,"median":"10.70","usdCentsMedian":1070,"completeness":"complete"},"30d":{"count":583,"median":"12.488","usdCentsMedian":1249,"completeness":"complete"},"90d":{"count":1867,"median":"13.95","usdCentsMedian":1395,"completeness":"complete"},"180d":{"count":3779,"median":"18.617","usdCentsMedian":1862,"completeness":"complete"},"365d":{"count":8604,"median":"23.371","usdCentsMedian":2337,"completeness":"complete"}}}