Open Data API v1(面向频道用户、脚本与 AI Agent)

免费免鉴权只读 JSON 接口,支持按商家、地区、用途、价格上限、实时库存与剩余数量按需过滤(全接口开启 CORS)。

加入 TG 补货频道 ↗
4
开放 JSON 端点
30
结构化套餐数据
26
商家独立档案
16
实测与社区索引

1. 实时库存与精确余量 GET /api/v1/stock.json

每 10 分钟由边缘监控节点自动巡检更新,包含 status(in_stock / restocked / out_of_stock / unknown)与精确库存台数 qty。支持查询参数:provider、status、min_qty。

curl -s "https://check204lab.com/api/v1/stock.json?status=in_stock&min_qty=1"

2. 全量套餐目录(含实时库存合并)GET /api/v1/plans.json

按需筛选实时在售套餐。支持查询参数:provider(商家 slug)、region(亚太/北美/欧洲)、use_case(cn_opt / web / residential / budget 或中文用途名)、status(in_stock)、max_price(折合年付 USD 上限)、q(关键词)。

curl -s "https://check204lab.com/api/v1/plans.json?status=in_stock&use_case=cn_opt&max_price=80"

3. 商家独立档案与避坑库 GET /api/v1/providers.json

获取全部 26 家商家的简介、主营地区、前科风险披露、自保建议以及官方 LG / Status / TG 入口。支持 ?slug=dmit 查询单个商家。

curl -s "https://check204lab.com/api/v1/providers.json?slug=dmit"

4. 实测报告与全网社区评测索引 GET /api/v1/reviews.json

聚合 204 独立评级实测与 NodeSeek / LowEndTalk / V2EX 原帖摘要链接。支持 ?provider=resiux、?source=NodeSeek。

curl -s "https://check204lab.com/api/v1/reviews.json?provider=resiux"

Python 3 快速接入示例(零第三方依赖)

import urllib.request, json
url = "https://check204lab.com/api/v1/plans.json?status=in_stock&use_case=cn_opt"
data = json.loads(urllib.request.urlopen(url, timeout=10).read().decode())
for p in data["items"]:
    qty = f" (剩 {p['live_qty']} 台)" if p.get("live_qty") else ""
    print(p["provider"], p["name"], p["price_display"], p["live_status"] + qty)

合理使用提示:请将轮询间隔控制在 60 秒以上(缓存 TTL 60s);如用于二次展示,请保留 check204lab.com 来源及返佣透明标注。

已复制到剪贴板