Skip to main content
GET/v2/prices/rollingPRO+

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

gamestringoptional
Query. cs2 (default) or rust.
If-None-Matchstringoptional
Header. The ETag of the file you already hold; returns 304 with no body until the next daily build.

Response fields

RollingPriceRowOne line of the gzip NDJSON file. Every field is present on every line; null is unknown or not applicable.
gamestring
cs2 or rust.
windowEndstring
The last UTC day every window includes, YYYY-MM-DD: the last closed day before the build.
itemIdstringnullable
SkinPricer canonical item id; null on a sale line whose title maps to no catalog item.
itemNamestringnullable
Ask lines: the catalog name. Sale lines: the market's listing title, as archived.
phasestringnullable
Doppler phase when there is one.
paintIndexintegernullable
Paint index when the market reports one.
marketstring
Market id.
kindstring
ask or sale.
evidencestring
quotes: the market's daily lowest asks. sales: archived individual sales. points: the provider's own median points.
lanesstring[]nullable
Sale lines: the source lane, or the merged lanes (Market.CSGO and RustTM ["sales", "feed"] count each sale once). Null on ask lines.
sidestringnullable
sales lines: sell_listing, buy_order or unknown, each side its own line. Null otherwise.
basisstring
How each window's median is computed: daily_lowest_ask, sale_prices or unit_weighted_point_medians. See the notes.
countBasisstring
What count counts: days (asks), sales or units (points).
economicBasisstringnullable
Sale lines: cash or steam_wallet (Steam Wallet funds, which cannot be withdrawn). Null on ask lines.
currencystring
Native currency of median, e.g. USD or RUB. Ask lines are always USD. A market that sells in two currencies gets one line per currency.
fxDatestringnullable
Date of the historical rate the USD medians were converted at (windowEnd); null for USD lines, which need none.
windowsRecord<string, RollingWindow>
Every window, always present: 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

400Invalid game.
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, the subscription is inactive or expired, or the game is not included in API plans.
429Rate limit exceeded; see Retry-After + X-RateLimit-* headers. Pooled per account across all keys.
503PRICES_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).

Response 200
{"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"}}}
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.