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

Bulk Latest Prices

Latest prices for every catalog item of one game in a single call: each item's per-market asks and bids plus its best ask and best bid, in the same shape and with the same values as /v2/pricing/:marketHashName in its default all-markets view. Rebuilt about every 30 seconds while it is being polled, and served gzip-compressed. On every plan: Developer gets one full snapshot per game every 60 seconds, Pro every 15 seconds. The bulk alternative to /v1/items/all. Prices are integer USD cents unless currency names another (see Prices in another currency).

One request returns every item of the game that has a servable quote: items[], ordered by canonicalItemId, with itemCount closing the envelope. Each item carries the same markets[] (asks), buyOrders[] (bids), bestAsk and bestBid as /v2/pricing/:marketHashName in its default all-markets view, so a snapshot row matches what the per-item route returned when the snapshot was built. As there, bestBid only considers cash-executable venues. Both bestAsk and bestBid are nullable and a missing bestBid is common, so null-check both. Items the per-item route would answer with 404 (no servable quote) are left out rather than listed empty.

While the endpoint has been read in the last 10 minutes, a new snapshot is built about every 30 seconds. After 10 minutes with no reads, rebuilds slow to about once a minute, and the first request after that quiet period waits up to 30 seconds for a snapshot built after it arrived, then gets the latest one available. generatedAt is when the build started, and every quote in it was read at or after that time. Each quote's isStale is evaluated when the snapshot is built.

Efficient polling: send Accept-Encoding: gzip. The body is served compressed and is roughly 10 times smaller that way (about 7 MB instead of 75 MB for CS2 today), and gzip downloads are never limited; uncompressed downloads are limited to a few at a time and can answer 503. Keep the ETag from each 200 and send it back as If-None-Match: you get a 304 with no body until the next snapshot, which lands about every 30 seconds. Responses carry Cache-Control: private, max-age=60, Vary: Accept-Encoding, and Last-Modified (the snapshot's generatedAt). Poll with gzip and If-None-Match; a poll that comes before the next snapshot costs only a 304. Each plan has a polling floor per subscription and game, shared by all its keys: Developer gets one full body every 60 seconds and Pro one every 15 seconds, which is every snapshot. A full download inside the floor answers 429 with Retry-After; a matching If-None-Match still gets its 304. So poll every 60 seconds on Developer and every 15 to 30 seconds on Pro. An HTTP client that caches responses can answer polls less than 60 seconds apart from its own cache (max-age=60). Quota: every request that passes the plan check counts toward your per-minute limit, 304s and 503s included; a 401 or a plan 403 does not.

Games: pass game=cs2 or game=rust. Each game has its own snapshot, ETag and polling floor. Rust snapshots carry no buyerTerms. See Games: CS2 & Rust.

Parameters

gamestringrequired
Query. cs2 or rust; missing or any other value returns 400.
Accept-Encodingstringoptional
Header. Send gzip. The body is served compressed, roughly 10 times smaller (about 7 MB instead of 75 MB for CS2 today), and compressed downloads are never limited. Uncompressed downloads are limited to a few at a time and can answer 503.
If-None-Matchstringoptional
Header. The ETag from your last download; returns 304 with no body until the next snapshot (rebuilt about every 30 seconds) or, with currency, a new rate.
currencystringoptional
Query. ISO 4217 code such as EUR, GBP or JPY, case-insensitive. Converts every price in the response at one rate, stated in the fx block. Absent or USD: USD cents, unchanged. An unsupported code returns 400. See Prices in another currency.

Response fields

LatestPricesResponseEvery item of one game that has a servable quote, in one snapshot.
generatedAtstring (date-time)
When the snapshot build started. Every quote in it was read at or after this time. Also sent as Last-Modified.
gamestring
cs2 or rust, as requested.
currencystring
USD, or the requested currency: the currency of every price field.
Every catalog item with at least one servable quote, ordered by canonicalItemId.
itemCountinteger
Number of entries in items.
buyerCostModelVersionstring
Version of the buyer cost model behind buyerTerms. CS2 only: absent on Rust.
buyerTermsobject
Map of market id to LatestBuyerTerms, one entry for every market with an ask in markets[]. CS2 only: absent on Rust.
fxFx
Present only when a /v2 request names a currency other than USD: the one rate every price in this response was converted at. See Prices in another currency.

Nested and shared shapes link to the API Objects reference.

Errors

400game missing or not cs2 / rust.
401Missing Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.
403Valid key, but the subscription is inactive or expired.
429Rate limit exceeded; see Retry-After + X-RateLimit-* headers. Pooled per account across all keys. Also a full download inside your plan's polling floor (Developer 60 s, Pro 15 s, per subscription and game); Retry-After gives the seconds until the next one. A matching If-None-Match still gets its 304.
503No fresh snapshot (none built yet, or the newest is more than 25 minutes old), or too many uncompressed downloads in progress. Comes with Retry-After: 60: retry then, ideally with Accept-Encoding: gzip.

Guides using this endpoint

export SKINPRICER_API_KEY="sp_live_•••"

# --compressed asks for gzip and unpacks it. etag.txt keeps the last ETag:
# until the next snapshot (about every 30 s) the API answers 304 and
# prices-cs2.json stays as it is. Needs curl 7.68 or newer.
curl -G "https://pricing.skinpricer.com/v2/prices/latest" \
  --data-urlencode "game=cs2" \
  -H "Authorization: ApiKey $SKINPRICER_API_KEY" \
  --compressed \
  --etag-compare etag.txt \
  --etag-save etag.txt \
  -o prices-cs2.json
// npm i @skinpricer/sdk
import { SkinpricerClient, getMeta } from "@skinpricer/sdk";

const client = new SkinpricerClient({
  apiKey: process.env.SKINPRICER_API_KEY!,
  authScheme: "ApiKey",
  headers: { "Accept-Encoding": "gzip" }, // fetch unpacks the body for you
});

// Poll every 30 to 60 s; a new snapshot lands about every 30 s.
let etag: string | undefined;

async function pollLatestPrices() {
  const snapshot = await client.prices.latestAll({ game: "cs2", ifNoneMatch: etag });
  if (snapshot === null) return null; // 304: no new snapshot since the last poll
  etag = getMeta(snapshot)?.headers.get("etag") ?? undefined;
  return snapshot;
}

const snapshot = await pollLatestPrices();
if (snapshot) console.log(snapshot.itemCount, "items, built at", snapshot.generatedAt);
import os
import requests

etag = None  # keep the last ETag between polls (every 30 to 60 s)


def poll_latest_prices():
    global etag
    headers = {
        "Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}",
        "Accept-Encoding": "gzip",  # requests unpacks the body for you
    }
    if etag:
        headers["If-None-Match"] = etag
    res = requests.get(
        "https://pricing.skinpricer.com/v2/prices/latest",
        params={"game": "cs2"},
        headers=headers,
        timeout=60,
    )
    if res.status_code == 304:
        return None  # no new snapshot since the last poll
    res.raise_for_status()  # 503: retry after the Retry-After header
    etag = res.headers.get("ETag")
    return res.json()


snapshot = poll_latest_prices()
if snapshot:
    print(snapshot["itemCount"], "items, built at", snapshot["generatedAt"])

Authenticated endpoint: call it with your API key from your own client (see the code sample).

Response 200
{
  "generatedAt": "2026-09-28T12:00:00.000Z",
  "game": "cs2",
  "currency": "USD",
  "items": [
    {
      "name": "AK-47 | Redline (Field-Tested)",
      "canonicalItemId": "cmlofczf90qj401vsd80dskd1",
      "bestAsk": {
        "market": "buff163",
        "price": 1450,
        "updatedAt": "2026-09-28T11:58:12.000Z",
        "isStale": false
      },
      "bestBid": {
        "market": "buff163",
        "price": 1400,
        "updatedAt": "2026-09-28T11:57:40.000Z",
        "isStale": false
      },
      "markets": [
        {
          "market": "buff163",
          "price": 1450,
          "fetchedAt": "2026-09-28T11:58:12.000Z",
          "isStale": false,
          "quoteSize": 20,
          "originalPriceCents": 10150,
          "originalCurrency": "CNY"
        },
        {
          "market": "csfloat",
          "price": 1512,
          "fetchedAt": "2026-09-28T11:55:03.000Z",
          "isStale": false,
          "quoteSize": 7,
          "originalPriceCents": 1512,
          "originalCurrency": "USD"
        }
      ],
      "buyOrders": [
        {
          "market": "buff163",
          "price": 1400,
          "fetchedAt": "2026-09-28T11:57:40.000Z",
          "isStale": false,
          "quoteSize": 5,
          "totalQuantity": 44
        },
        {
          "market": "youpin",
          "price": 1385,
          "fetchedAt": "2026-09-28T11:56:20.000Z",
          "isStale": false,
          "quoteSize": 3,
          "originalPriceCents": 9695,
          "originalCurrency": "CNY",
          "totalQuantity": 31,
          "totalOrdersCount": 12,
          "orderBookComplete": true
        }
      ]
    }
  ],
  "itemCount": 1,
  "buyerCostModelVersion": "cs2-ask-buyer-cost-v1",
  "buyerTerms": {
    "buff163": { "buyerCostStatus": "partial", "payWith": "cash" },
    "csfloat": { "buyerCostStatus": "complete", "payWith": "cash" }
  }
}
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.