Skip to main content
GET/v1/containers/:id/simulateDEVELOPER+

Unboxing Simulation

Simulate n independent single openings of a CS2 container with a reproducible seed. Returns the full valuation plus sampled payoff statistics and a payoff histogram. n counts trials of one opening each, not an n-opening portfolio. The draws use the valuation's modeled odds, so the same caveats apply. Prices are integer USD cents.

n counts independent single-opening trials, not an n-opening portfolio: the statistics describe one opening, sampled n times. The same seed and valuation return the same draws. simulation.statistics are sampled and valuation.statistics are the model's values before sampling, so a sample without a rare drop shows a far lower EV than the model. simulation is null whenever the valuation's statistics are null; an estimated valuation draws its unpriced outcomes at zero proceeds.

Parameters

idstringrequired
Path segment. CS2 container id, canonical item id, or catalog slug, e.g. chroma-3-case.
keyCostCentsintegeroptional
Query. Override the assumed key cost, 0 to 100000 USD cents.
nintegeroptional
Query. Independent single-opening trials, 1 to 10000. Default 1000.
seedintegeroptional
Query. Unsigned 32-bit seed, 0 to 4294967295. Default 574. The same seed and valuation give the same draws.

Response fields

UnboxingSimulationResponseA valuation plus sampled single openings.
The container valuation the draws use.
simulationUnboxingSimulationnullable
The sample; null whenever valuation.statistics is null.

Nested and shared shapes link to the API Objects reference.

Errors

400Invalid container id, keyCostCents outside 0 to 100000, n outside 1 to 10000, or seed outside 0 to 4294967295.
404CS2 container not found.
401Missing Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.
403Valid key, but the subscription is inactive/expired or the plan does not include this endpoint.
429Rate limit exceeded; see Retry-After + X-RateLimit-* headers. Pooled per account across all keys.
5xxUpstream snapshot unavailable or a server-side issue. Retry with backoff.
export SKINPRICER_API_KEY="sp_live_•••"

curl -G "https://pricing.skinpricer.com/v1/containers/chroma-3-case/simulate" \
  --data-urlencode "n=1000" \
  --data-urlencode "seed=574" \
  -H "Authorization: ApiKey $SKINPRICER_API_KEY"
// No SDK helper for this endpoint yet, so call it directly.
const url = new URL("https://pricing.skinpricer.com/v1/containers/chroma-3-case/simulate");
url.searchParams.set("n", "1000");
url.searchParams.set("seed", "574");

const res = await fetch(url, {
  headers: { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}` },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());
import os
import requests

res = requests.get(
    "https://pricing.skinpricer.com/v1/containers/chroma-3-case/simulate",
    params={"n": "1000", "seed": "574"},
    headers={"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"},
    timeout=10,
)
res.raise_for_status()
print(res.json())

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

Response 200
{
  "valuation": {
    "containerId": "cmlop6t2a00kq01yo4hnc8z1w",
    "slug": "chroma-3-case",
    "name": "Chroma 3 Case",
    "game": "cs2",
    "calculatedAt": "2026-10-24T21:00:04.118Z",
    "modelVersion": "unboxing-v2-uniform-float-phase-proxy",
    "feeModelVersion": "exec-fees-v3-estimated",
    "oddsSource": "https://www.csgo.com.cn/news/gamebroad/20170911/206155.html",
    "assumptions": [
      "Seller fees are estimates; bids do not guarantee a future sale or executable size.",
      "Pattern premiums, trade locks, taxes and future price changes are not modeled.",
      "Wear is modeled as uniform float within exact source bounds; actual wear odds can differ.",
      "Doppler phases share one family and use the phase-less market price; phase and gem premiums are not modeled.",
      "Key cost is an assumed USD store price; regional prices can differ."
    ],
    "status": "available",
    "unavailableReason": null,
    "caseQuote": {
      "market": "skinport",
      "priceCents": 294,
      "updatedAt": "2026-10-24T20:59:12.000Z"
    },
    "keyCostCents": 249,
    "keyCostSource": "assumed_usd_key_price",
    "openingCostCents": 543,
    "catalogCoverageProbability": 1,
    "pricedProbability": 1,
    "unpricedProbability": 0,
    "statisticsBasis": "fresh_cash_bids",
    "pricedContributionCents": 280,
    "statistics": {
      "expectedProceedsCents": 280,
      "expectedProfitCents": -263,
      "edgeBps": -4843,
      "varianceCentsSquared": 4183592,
      "payoffP05Cents": -539,
      "payoffMedianCents": -533,
      "payoffP95Cents": -463,
      "valueAtRisk5Cents": 539,
      "profitProbability": 0.009112,
      "rareSpecialProbability": 0.002557544757
    },
    "navCents": 31,
    "premiumBps": 84839,
    "outcomes": [
      {
        "canonicalItemId": "cmlofd2xk0rq101vs3b7ty9a2",
        "familyName": "MP9 | Bioleak",
        "exterior": "FIELD_TESTED",
        "isStatTrak": false,
        "rare": false,
        "probability": 0.033765,
        "quote": {
          "market": "dmarket",
          "priceCents": 4,
          "updatedAt": "2026-10-24T20:58:31.000Z"
        },
        "missingReason": null
      },
      {
        "canonicalItemId": "cmlofb7qe0hz301yo8m2cd4wq",
        "familyName": "★ Karambit | Doppler",
        "exterior": "FACTORY_NEW",
        "isStatTrak": false,
        "rare": true,
        "probability": 0.000067136,
        "quote": {
          "market": "csfloat",
          "priceCents": 98510,
          "updatedAt": "2026-10-24T20:57:44.000Z"
        },
        "missingReason": null
      }
    ]
  },
  "simulation": {
    "n": 1000,
    "seed": 574,
    "statistics": {
      "expectedProceedsCents": 37,
      "expectedProfitCents": -506,
      "edgeBps": -9321,
      "varianceCentsSquared": 52270,
      "payoffP05Cents": -539,
      "payoffMedianCents": -533,
      "payoffP95Cents": -463,
      "valueAtRisk5Cents": 539,
      "profitProbability": 0.007,
      "rareSpecialProbability": 0
    },
    "histogram": [
      { "payoffCents": -540, "count": 30 },
      { "payoffCents": -539, "count": 160 },
      { "payoffCents": -536, "count": 200 },
      { "payoffCents": -533, "count": 300 },
      { "payoffCents": -520, "count": 150 },
      { "payoffCents": -495, "count": 100 },
      { "payoffCents": -463, "count": 53 },
      { "payoffCents": 2207, "count": 7 }
    ]
  }
}
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.