
$ stashcard
粘贴一个个人资料 -> 选择一张卡片 -> 获取一张值得发布的PNG
Stashcard 评估一个Steam账户及其库存(CS2、Dota 2、TF2、Rust、Steam社区物品或任何自定义应用),从你的终端出发,在Steam和大型现金市场上定价,并将结果打印为可分享的卡片:报告卡片、游戏卡片、库存图片、热敏收据、市场对比,或时间对比/A vs B差异。
每个数字都带有其场所和窗口。LOWEST 是当前的最低挂牌价。AVG 是你在选择的窗口内真实销售的平均值。Steam货币是钱包资金;其他所有都是现金,两者从不静默混合。当某个来源没有数据时,Stashcard会回退并在行、总计和卡片页脚中说明。未定价的物品永远不会被计为零。
免费且开源。无需账户,无需付费API,无遥测。

[!TIP] 在你的家用PC上运行Stashcard。Windows是推荐设置。 Steam对数据中心、VPS和云IP的限制很重,因此从服务器进行实时扫描不可靠。在服务器上,只有演示和缓存数据工作可靠。参见在哪里运行它。
下载
| 系统 | 文件 | |
|---|---|---|
| Windows 10 和 11 | Stashcard-1.0.0-portable-x64.exe | 一个文件。无需安装程序,无需管理员权限 |
[!NOTE] 该构建尚未进行代码签名,因此SmartScreen可能会在首次运行时警告。选择更多信息,然后仍然运行。
图库
来自捆绑演示的真实卡片(一个带有真实物品名称、图标和定价快照的虚构个人资料)。

报告卡片,midnight | 报告卡片,paper |
|---|---|
| <img src=“assets/card-summary-midnight.png” alt=“午夜主题中的报告卡片,带有按市场条带” | <img src=“assets/card-summary-paper.png” alt=“纸张主题中的报告卡片” |
| 市场 | 收据 |
| <img src=“assets/card-markets.png” alt=“市场对比:每个场所的地板价、费用和净价,最佳现金路线,每个物品的最便宜场所” | <img src=“assets/card-receipt.png” alt=“物品化的热敏收据,带有费用、钱包和现金净价,以及市场小计” |
| 游戏卡片,CS2 | 游戏卡片,Dota 2,paper |
| <img src=“assets/card-game-cs2.png” alt=“CS2游戏卡片,带有稀有度混合和销售天数” | <img src=“assets/card-game-dota2-paper.png” alt=“纸张主题中的Dota 2游戏卡片” |
| 库存图片 | 时间对比,phosphor |
| <img src=“assets/card-grid.png” alt=“物品图标网格,带有价格和稀有度标签” | <img src=“assets/card-then-vs-now.png” alt=“时间对比差异,显示赢家、输家、添加和移除的物品” |
| A vs B,浅红色acted | 完全红色acted,phosphor |
| <img src=“assets/card-a-vs-b.png” alt=“两个个人资料并排,名称被屏蔽” | <img src=“assets/card-summary-redacted.png” alt=“报告卡片,匿名名称、替换头像和价值区间” |
每个PNG都附带一个card.json侧车文件(足以离线重新渲染并检查数字)和一个card.alt.txt,其中包含你可以粘贴在任何发布图片的地方的替代文本。
安装
[!IMPORTANT] 这是Windows构建。 Stashcard在Windows 10/11(x64)上运行,需要Python 3.11+。CLI在其他系统上拒绝启动(
此构建仅限Windows。),因为打包的伴随运行时是一个Windows程序。
pipx install git+https://github.com/AssassinCreator/steam-account-value-checker.git
或者从克隆:
git clone https://github.com/AssassinCreator/steam-account-value-checker.git
cd stashcard
pipx install . # 或者:python -m venv .venv && .venv/bin/pip install -e ".[dev]"
Python 3.11或更新版本。依赖项:httpx、brotli、rich、questionary、Pillow、platformdirs。
Inter和JetBrains Mono捆绑(SIL开源字体许可)。Windows步骤如下。
在哪里运行它
使用你的家用PC。Windows推荐;家用Linux和macOS也可以正常工作。
Steam限制每个IP的库存和市场请求,数据中心、VPS和云范围的限制比家用连接更严格。在我们的测试中,数据中心中的Linux服务器在第一次库存请求时得到了HTTP 429,因此实时扫描不可靠。在服务器上,只有离线演示和你已经缓存的数据工作可靠。Stashcard不捆绑代理或其他解决方法,并且当Steam拒绝时,它会如实告诉你。
Windows安装
从python.org安装Python 3.12(勾选将python.exe添加到PATH),或运行
winget install Python.Python.3.12。在PowerShell中:
py -m pip install --user pipx py -m pipx ensurepath # 打开一个新的终端,然后: pipx install git+https://github.com/AssassinCreator/steam-account-value-checker.git stashcard demo使用Windows Terminal(Windows 11上的默认终端)。它显示颜色、箭头键菜单和半块卡片预览。经典控制台仍然有效;Stashcard然后打印PNG的路径而不是预览,
--open在你的图片查看器中打开卡片。Windows Terminal 1.22+还可以显示六像素图像:设置STASHCARD_PREVIEW=sixel(TODO(verify):尚未在真实硬件上测试)。
设置、缓存和历史记录转到%LOCALAPPDATA%\stashcard(stashcard config path打印确切的文件夹)。CI在Windows以及Linux上运行测试套件和演示。
快速入门
stashcard # 交互式:粘贴一个个人资料,箭头键用于其余操作
stashcard demo # 离线演示,写入stashcard-demo-summary.png
stashcard demo --mode all --out-dir cards # 一次性所有布局
stashcard card https://steamcommunity.com/id/yourname --mode grid --game cs2 -c EUR -o stash.png
stashcard markets yourname -c EUR # 每个场所的地板价、费用后净价,在哪里出售
stashcard value 76561197960287930 --lowest-from best --json valuation.json --csv items.csv
stashcard diff yourname@last yourname # 时间对比,从本地历史
stashcard diff yourname theirname # A vs B,默认红色acted
stashcard render stash.json --theme paper # 离线重新渲染侧车文件
个人资料可以以任何形式粘贴:steamcommunity.com/id/<name>、/profiles/<steamid64>、纯SteamID64、STEAM_0:X:Y、[U:1:N]、数字好友代码、s.team/p/<code>邀请链接,或自定义URL名称。
模式
| 模式 | 命令 | 你得到什么 |
|---|---|---|
| 报告卡片 | card P --mode summary | LOWEST、AVG和净价的总计,按游戏价值,顶级物品,按市场条带,诚实性芯片,差异,流动性等级 |
| 游戏库存卡片 | card P --mode game --for-game dota2 | 一个游戏:稀有度混合(带有文本标签),物品表带有中位数和销售天数 |
| 库存图片 | card P --mode grid [--limit 36] [--paginate] | 带有价格的图标网格;"+N更多"图块或每页一个PNG |
| 收据 | card P --mode receipt | 物品化的热敏收据:小计,Steam和游戏费用,钱包与现金净价,场所小计,条形码 |
| 市场 | markets P(或card P --mode markets) | 每个场所的地板总价、费用和净价以及覆盖范围;最佳现金路线;每个物品的最便宜购买和最佳现金出售 |
| 快速价值 | value P | 仅终端。表格,警告,--json / --csv |
| 对比 | diff A B | 时间对比(同一个人资料)或A vs B(两个个人资料,并排) |
| 演示 | demo [--mode ...] | 在捆绑的虚构个人资料上的相同管道。无需网络 |
实用工具:history P、config show | me | api-key | cookie | forget-secrets | reset | path、cache info | clear、currencies。
选项
| 选项 | 默认 | 意义 |
|---|---|---|
-g, --game | cs2,dota2,steam | cs2、dota2、tf2、rust、steam,或自定义appid/contextid。重复或逗号分隔 |
-c, --currency | USD | 任何Steam市场货币;Skinport覆盖16种;仅USD的场所会转换(`stashcard curr |
encies) | | –source|both|both= LOWEST from Steam, AVG from Skinport;steam; skinport| |–markets|steam,skinport,waxpeer,csgotm,lisskins| Venues to price on; addcsfloat(experimental) or useall| |–lowest-from|steam| Where LOWEST comes from:steam, best(cheapest floor anywhere) or a venue key | |–fee VENUE=RATE| see table below | Override a seller fee, e.g.–fee waxpeer=0.05or–fee skinport=6%(repeatable) | |–csfloat-top|10| CSFloat history lookups per scan whencsfloatis enabled | |-w, –window|7d| AVG window:24h, 7d, 30d, 90d| |–min-price|0| Hide stacks cheaper than this per unit (hidden count and value are reported) | |–tradable-only| off | Ignore copies that cannot be traded right now | |–trimmed-avg| off | Opt-in AVG without the extreme sales, always labelledtrimmed avg| |–capture|0.10| Share of daily sales you could realistically take (days to sell) | |–steam-budget|60| Max live Steam price lookups per scan; cache hits are free | |-m, –mode|summary|summary, game, grid, receipt, markets (difffordiff, allfordemo) | | –theme|midnight|midnight, paper, phosphor| |–redact|auto|none, light, full; autodecides from your saved "me" profile | |-o, –output|./stashcard-| Card path; sidecars go next to it | |–open| off | Open the PNG with your system viewer | |–preview|auto| Inline preview:kitty, iterm, sixel, blocks, none| |–json, –csv| | Full valuation as JSON; one row per stack as CSV, with every venue's floor and net | |–plain| off | No colour, ASCII tables, no animation (also honoursNO_COLOR) | | –offline| off | Cache only; never touch the network | |–max-wait|20| LongestRetry-Afterto sit through before falling back | |–no-history, –no-sidecar, -q| | Skip local history; skipcard.json/alt.txt`; print paths only |
The interactive flow asks for the same things with arrow keys (including a multi-select for marketplaces) and remembers your last choices.
How prices work
Two numbers, never mixed up.
| Means | Default source | Fallback (labelled) | |
|---|---|---|---|
| LOWEST | The current floor: the cheapest listing right now | Steam Community Market lowest_price (--lowest-from changes it) | Skinport, then the cheapest other venue |
| AVG | The mean of actual sales over the window | Skinport sales history (avg for 24h / 7d / 30d / 90d) | Steam sales history if you add your own login cookie, CSFloat (experimental), else Steam’s 24 h median |
Steam’s public API only exposes a 24 hour median without a login, so for Steam community items
(appid 753), which no cash venue covers, AVG falls back to Steam median · 24h. The card says exactly
that, and so does every table row (*) and the footer (+7 Steam median · 24h).
Price sources
All free, no keys, verified live on 2026-10-29. Whole-catalog feeds are fetched once per game, cached
for an hour and looked up locally. Stashcard sends an honest User-Agent and paces every host.
| Venue | Access | Games | What we use | Money | Default seller fee | Caveats |
|---|---|---|---|---|---|---|
| Steam Community Market | no key | any | priceoverview: floor, 24 h median and volume, per item | wallet | 5 % + 10 % game fee, Valve’s exact rounding | ~20 requests/min; datacenter IPs get 429 |
| Skinport | no key | CS2, Dota 2, TF2, Rust | /v1/items floor, /v1/sales/history mean, median, min, max | cash | 8 % | 8 requests per 5 min; brotli required |
| Waxpeer | no key | CS2, Dota 2, Rust, TF2 (tiny) | /v1/prices lowest offer (in 1/1000 USD) and count | cash | 6 % | USD only, converted |
| Market.CSGO | no key | CS2, Dota 2 (market.dota2.net), TF2 (tf2.tm), Rust (rust.tm) | /api/v2/prices/USD.json lowest offer | cash | 5 % | USD only; meaning of volume undocumented |
| Lis-skins | no key | CS2, Dota 2, Rust (no TF2 export) | market_export_json/<game>.json lowest price and count | cash | 5 % | USD only; never the 140 MB api_csgo_full.json |
| CSFloat (experimental, opt-in) | no key, undocumented | CS2 | /api/v1/history/<name>/graph daily average and count, top N items only | cash | 2 % | Includes float and sticker premiums; skew guard applies |
| open.er-api.com | no key | USD exchange rates (incl. RUB, UAH, KZT), cached 12 h | Every converted number shows the rate and its date |
Seller fees are defaults from fee pages and review sites as of 2026-10-29. Venues change and tier them,
so they are marked TODO(verify) in markets.py; override them with --fee.
Wallet vs cash. Steam money can only be spent on Steam. The cards, tables and exports keep a WALLET or CASH tag on every venue. The best cash route adds up each stack sold at its best cash venue after fees; Steam’s net is shown next to it, never summed into it. Venue totals cover only what that venue lists, so each comes with its coverage of your value.
Outlier guard. AVG stays the mean, as promised, but the window median and max ride along. An item
is badged skewed when the mean and median differ by more than 25 % or the max sale is above 5x the
median. A real example: AK-47 | Redline (FT) once showed a 30 day mean of $39.85 against a median of
$26.65 because of a single $2,114 sale. The median sits next to AVG in tables and on cards, skewed items
are counted in the totals, and --trimmed-avg drops the extremes (labelled trimmed avg).
Fees and the two kinds of net.
- Net on Steam (wallet): what you would receive listing at the Steam floor, after the 5 % Steam fee and
the 10 % game fee, using Valve’s exact rounding (ported from the market’s own
economy_common.jsand tested soseller_receives(buyer_pays(x)) == xfor every amount up to $200). - Net at a cash venue: that venue’s floor x (1 - seller fee).
Honesty checks run on every scan and show up in the terminal, on the cards and in the sidecar:
| Check | Fires when |
|---|---|
| unpriced | No floor and no sales anywhere. Counted separately, never as zero |
| not marketable | Medals, coins, gems: listed, not valued |
| illiquid | You hold more than one day of sales volume |
| days to sell | quantity / (daily volume x capture). “Sellable within 7 days: X % of value” drives the grade |
| skewed | Mean vs median > 25 %, or max > 5x median |
| wide spread | Floor and average disagree by more than 50 % |
| locked | Trade hold or CS2 trade protection: “locked now: $X, unlocks in N days” |
| fallback | A number came from a secondary source or metric |
| rate limited | A source said slow down; what was skipped and why |
Rate limits. Steam rate-limits inventories hard (see Where to run it).
Stashcard caches inventories for 10 minutes, Steam prices for 3 hours and venue catalogs for an hour,
paces requests per host, backs off with jitter, honours Retry-After, and asks Steam about the most
valuable items first so a 429 hurts least. When blocked it uses stale cache (and says how old) or tells
you plainly: Steam is rate-limiting this connection; retry in N min, use cached data, or try the demo.
Privacy
- Local only. Settings, cache and scan history live in your user folders (
stashcard config path). Nothing is uploaded anywhere. No telemetry, no analytics, no accounts. - Redaction presets.
--redact lightmasks the name (K•••••l) and SteamID64 (last 4 digits), blurs the avatar and drops the profile link and location.--redact fullalso replaces the avatar, shows “Anonymous collector” and turns totals into value bands ($2.5k–5k). By default your own profile (stashcard config me <profile>) is unredacted, anyone else’s isfull, and until you set “me” the default islight. A-vs-B cards are at leastlighton both sides. Demo profiles are fictional. - Clean files. PNGs are written without text chunks or metadata. Sidecars respect the same redaction
(value bands hide totals on the image; item rows stay in
card.jsonso others can verify it, so skip it with--no-sidecarif you need the totals hidden). - Secrets. The optional API key and cookie are stored in
secrets.jsonwith mode0600, or read fromSTASHCARD_STEAM_API_KEY/STASHCARD_STEAM_LOGIN_SECURE. They are never printed in full (set (…a1b2)), never written to cache keys or sidecars, and the cookie is only sent tosteamcommunity.com. The cookie is a full Steam session: only add it if you understand that, and remove it withstashcard config cookie.
Accessibility
Rarity is always shown as text next to its colour, and WALLET/CASH as text next to theirs. --plain
and NO_COLOR give colourless ASCII output. Every card gets alt text. Theme text colours are checked
for contrast in the test suite.
Roadmap
stashcard watch --oncewith exit codes for cron, plus an optional self-hosted ntfy webhook.- “Household” roll-up cards across several profiles.
- Instant-sell value from Steam buy orders for the top items, next to LOWEST and AVG.
- A source cross-check that flags venues far from the consensus floor.
- “Premium possible” flags from inventory data only: StatTrak, applied stickers, name tags, Doppler phases (“priced at the base name; real value may be higher”).
- Library value at current store prices (with a Web API key), shown as replacement cost, never summed into a sale value.
historysparklines in the terminal and a value-over-time card.- Animated WebP cards for socials.
Regenerating the README assets
python scripts/make_assets.py # PNG cards, banner, terminal.svg
pip install -e ".[gifs]" # pyte + pexpect, dev-only
python scripts/make_gifs.py # assets/demo.gif (real pty recording) and assets/cards.gif
Disclaimer
Stashcard is not affiliated with, endorsed by or sponsored by Valve Corporation or Steam, or by any of the marketplaces it reads. Steam, the Steam logo, Counter-Strike, Dota and Team Fortress are trademarks of Valve Corporation. Item names and images belong to their owners. Prices are informational estimates from public market data, not offers, appraisals or financial advice, and can be stale or wrong. Steam accounts cannot be sold under the Steam Subscriber Agreement; nothing here is an “account value”.
License
MIT, see LICENSE. Bundled fonts: Inter and JetBrains Mono, SIL Open Font License 1.1
(src/stashcard/fonts/*.txt).