Skip to main content
GET/v2/prices/latest/changesDEVELOPER+

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

gamestringrequired
Query. cs2 or rust.
sincestringrequired
Query. Your cursor: the 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.
marketsstringoptional
Query. Comma-separated market ids, at most 100: markets[] and buyOrders[] changes for those markets only. Turns bestAsk and bestBid off unless best=true.
itemsstringoptional
Query. Comma-separated canonicalItemIds, at most 1,000.
sidesstringoptional
Query. ask, bid, or ask,bid (the default).
beststringoptional
Query. true or false: whether bestAsk and bestBid changes are sent. Default true without markets, false with it.

Response fields

LatestPricesChangesOne page of links after a cursor.
gamestring
cs2 or rust, as requested.
sincestring
The cursor this page starts after, as bare hex.
headstring
The cursor after the last link returned: the since of your next call. Equals since when nothing was published yet.
completeboolean
false when more links follow: call again with head.
retentionSecondsinteger
How long links stay resumable: 900.
At most 20 links, oldest first. Empty when no snapshot was published after since.

Nested and shared shapes link to the API Objects reference.

Errors

400game or since missing or malformed, or a filter out of range.
401Missing key, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.
403Valid key, but the subscription is inactive or expired.
410Reset, 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.
429Rate limit exceeded; see Retry-After + X-RateLimit-* headers. Each call counts as one request.
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).

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