Price Changes Since a Cursor
Every change the published /v2/prices/latest snapshots made after your cursor, as links in order, at most 20 a call. The HTTP side of the price change feed: catch up after a disconnect, or follow the feed without holding a WebSocket open. Every plan, CS2 and Rust.
Start from a snapshot: download /v2/prices/latest without currency or include and pass its ETag as since. Apply each link in order (see Applying a link), then call again with head while complete is false. Once complete is true, your copy equals the latest snapshot on every field except fetchedAt, updatedAt, sourceUpdatedAt and sourceAgeSeconds, which keep their value from the point's last change.
The call answers at once and does not wait for the next snapshot, which lands about every 30 seconds. To be told about each one as it is published, open the WebSocket at wss://pricing.skinpricer.com/v2/prices/stream with the same parameters instead of polling this route.
A replay is never partial. When since is older than the 15 minutes kept, or the chain broke after it, the answer is 410 and you take a new snapshot. Responses carry Cache-Control: no-store.
Parameters
cs2 or rust.ETag of the default snapshot (/v2/prices/latest without currency or include), or the to of the last link you applied. As served (W/"…"), quoted, or the bare 32 hex characters.markets[] and buyOrders[] changes for those markets only. Turns bestAsk and bestBid off unless best=true.canonicalItemIds, at most 1,000.ask, bid, or ask,bid (the default).true or false: whether bestAsk and bestBid changes are sent. Default true without markets, false with it.Response fields
cs2 or rust, as requested.since of your next call. Equals since when nothing was published yet.false when more links follow: call again with head.since.Nested and shared shapes link to the API Objects reference.
Errors
game or since missing or malformed, or a filter out of range.error.code FEED_RESET. error.details.reason is cursor_unknown (unknown, or older than the 15 minutes kept), chain_break or gap (the chain broke after it). Take a new snapshot and start from its ETag.export SKINPRICER_API_KEY="sp_live_•••"
# 1. Take the snapshot and keep its ETag: that is your cursor.
ETAG=$(curl -s -D - -o prices-cs2.json --compressed \
"https://pricing.skinpricer.com/v2/prices/latest?game=cs2" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY" \
| tr -d '\r' | grep -i '^etag:' | cut -d' ' -f2)
# 2. Later: the links published since, at most 20 a call. While
# "complete" is false, call again with "head" as since.
curl -G "https://pricing.skinpricer.com/v2/prices/latest/changes" \
--data-urlencode "game=cs2" \
--data-urlencode "since=$ETAG" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY"// No SDK helper for this endpoint yet, so call it directly.
const headers = { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}` };
// 1. Take the snapshot and keep its ETag: that is your cursor.
const snap = await fetch("https://pricing.skinpricer.com/v2/prices/latest?game=cs2", { headers });
const snapshot = await snap.json();
let cursor = snap.headers.get("etag");
// 2. Later: every link since, page by page. Apply each one (see the
// price change feed guide), then move the cursor to its `to`.
for (;;) {
const url = new URL("https://pricing.skinpricer.com/v2/prices/latest/changes");
url.searchParams.set("game", "cs2");
url.searchParams.set("since", cursor);
const res = await fetch(url, { headers });
if (res.status === 410) throw new Error("reset: take a new snapshot");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const page = await res.json();
for (const link of page.links) console.log(link.seq, link.changes.length, "changes");
cursor = page.head;
if (page.complete) break;
}
console.log("up to date at", cursor);import os
import requests
BASE = "https://pricing.skinpricer.com"
headers = {"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"}
# 1. Take the snapshot and keep its ETag: that is your cursor.
snap = requests.get(f"{BASE}/v2/prices/latest", params={"game": "cs2"}, headers=headers, timeout=60)
snap.raise_for_status()
snapshot = snap.json()
cursor = snap.headers["ETag"]
# 2. Later: every link since, page by page. Apply each one (see the
# price change feed guide), then move the cursor to its "to".
while True:
res = requests.get(
f"{BASE}/v2/prices/latest/changes",
params={"game": "cs2", "since": cursor},
headers=headers,
timeout=30,
)
if res.status_code == 410:
raise RuntimeError("reset: take a new snapshot")
res.raise_for_status()
page = res.json()
for link in page["links"]:
print(link["seq"], len(link["changes"]), "changes")
cursor = page["head"]
if page["complete"]:
break
print("up to date at", cursor)Authenticated endpoint: call it with your API key from your own client (see the code sample).
{
"game": "cs2",
"since": "5dcbffa38cb75e46528dda4bc7714337",
"head": "0b8f2c41d9e7a6355c1e4f0a7d2b9c68",
"complete": true,
"retentionSeconds": 900,
"links": [
{
"type": "link",
"game": "cs2",
"seq": 1042,
"from": "5dcbffa38cb75e46528dda4bc7714337",
"to": "0b8f2c41d9e7a6355c1e4f0a7d2b9c68",
"generatedAt": "2026-11-28T11:40:31.000Z",
"changes": [
{
"id": "9c41d07be2aa:1042:17",
"item": "cmlofczf90qj401vsd80dskd1",
"field": "markets",
"market": "csfloat",
"value": {
"market": "csfloat",
"price": 1498,
"fetchedAt": "2026-11-28T11:40:12.000Z",
"isStale": false,
"quoteSize": 6,
"originalPriceCents": 1498,
"originalCurrency": "USD"
}
},
{
"id": "9c41d07be2aa:1042:18",
"item": "cmlofczf90qj401vsd80dskd1",
"field": "buyOrders",
"market": "youpin",
"value": null
}
]
}
]
}