跳到主要内容
GET/v1/index/unboxing-evDEVELOPER+

开箱期望值指数

等权开箱期望值指数:开启每个受支持 CS2 箱子的平均边际,100 为盈亏平衡,52 表示平均每次开箱的期望现金收入约为成本的 52%。由每五分钟重建一次的共享快照提供,附带 asOf 与 ageSeconds;列出每个成分与每个被排除的箱子。它是当前截面,而不是历史收益序列。与开箱期望值使用相同的模型概率。

受支持 CS2 箱子的等权截面:value 是 100 加上各成分平均 edgeBps(以百分点计),因此 100 为盈亏平衡。它是当前截面,而不是历史收益序列或市值加权指标。

由每五分钟重建一次的共享快照提供;请求从不实时计算。asOf 是快照中最早一次目录与报价读取的开始时间,ageSeconds 是快照的时效。超过 maxAgeSeconds(十分钟)后,接口返回 503,而不是提供过旧的指数。

成分需要完整的目录覆盖且未定价概率不超过 0.0001;估计型成分会在 unpricedOutcomes 中列出按零收入计算的结果。其余每个箱子都列在 exclusions 中,附带其 status 与 reason。

参数

无查询参数。

响应字段

UnboxingIndexSnapshot等权开箱期望值指数,截至其快照。
methodologystring
恒为 equal_weight_ev_to_opening_cost。
modelVersionstring
概率与磨损模型版本。
feeModelVersionstring
卖家手续费估算版本。
asOfstring (date-time)
快照中最早一次目录与报价读取的开始时间。
calculatedAtstring (date-time)
快照的构建时间。
ageSecondsinteger
快照时效,从 asOf 起算。
maxAgeSecondsinteger
该接口提供的最大快照时效(600);超过则返回 503。
valuenumbernullable
100 加上各成分平均边际(以百分点计)。100 为盈亏平衡。
meanEdgeBpsintegernullable
各成分 edgeBps 的平均值。
includedCountinteger
成分数。
excludedCountinteger
被排除的箱子数。
指数中的每个箱子。
每个被排除的箱子及其原因。

嵌套与共享结构链接到 API 对象 参考页。

错误

401缺少 Authorization 头、认证方案不支持,或密钥未知、未激活、已过期、已吊销。
403密钥有效,但订阅未激活/已过期,或套餐不含此接口。
429超出速率限制;见 Retry-After 与 X-RateLimit-* 响应头。配额按账号合并计算,所有密钥共享。
503快照缺失、无效或已超过 10 分钟。响应体携带 asOf、ageSeconds 与 maxAgeSeconds;请稍后重试。
export SKINPRICER_API_KEY="sp_live_•••"

curl "https://pricing.skinpricer.com/v1/index/unboxing-ev" \
  -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/index/unboxing-ev");

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/index/unboxing-ev",
    headers={"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"},
    timeout=10,
)
res.raise_for_status()
print(res.json())

需要认证的接口:请在你自己的客户端中携带 API 密钥调用(见代码示例)。

响应 200
{
  "methodology": "equal_weight_ev_to_opening_cost",
  "modelVersion": "unboxing-v2-uniform-float-phase-proxy",
  "feeModelVersion": "exec-fees-v3-estimated",
  "asOf": "2026-10-24T20:55:00.412Z",
  "calculatedAt": "2026-10-24T20:55:41.906Z",
  "ageSeconds": 118,
  "maxAgeSeconds": 600,
  "value": 52.31,
  "meanEdgeBps": -4769,
  "includedCount": 318,
  "excludedCount": 161,
  "constituents": [
    {
      "containerId": "cmlop6t2a00kq01yo4hnc8z1w",
      "slug": "chroma-3-case",
      "edgeBps": -4843,
      "expectedProceedsCents": 280,
      "openingCostCents": 543,
      "statisticsBasis": "fresh_cash_bids",
      "unpricedProbability": 0,
      "unpricedOutcomes": []
    }
  ],
  "exclusions": [
    {
      "containerId": "cmlop9w4d01br01yo2kxe7m3s",
      "slug": "masterminds-music-kit-box",
      "status": "unsupported",
      "reason": "unsupported_odds_profile",
      "pricedProbability": 0
    }
  ]
}
响应头
X-RateLimit-Limit: <每分钟配额,由套餐决定>
X-RateLimit-Remaining: <本分钟剩余次数>
X-RateLimit-Reset: <距重置的秒数>
X-Request-ID: req_xxxxxxxxxxxxxxxx

使用与许可

API 及其数据的使用受我们的服务条款(英文)约束:不得转售或再分发数据,不得用于构建竞争性服务, 不得超出套餐的速率限制;在条款允许展示数据的场景下须注明数据来源为 SkinPricer。滥用行为可能被限流或封禁。