公共 API
Miners Tools CDN 提供面向固件存档的免费只读 JSON API。无需密钥——仅需 HTTP GET。CORS 已开放(Access-Control-Allow-Origin: *),并从与站点相同的数据静态生成,因此不会过时。
Base URL: https://cdn.miners.tools/api/v1/
端点
| 方法与路径 | 返回 |
|---|---|
GET /api/v1/manufacturers | 生产商列表及数量 |
GET /api/v1/{manufacturer}/models | 某生产商的型号 |
GET /api/v1/{manufacturer}/{model}/firmware/list | 某型号的固件 |
GET /api/v1/{manufacturer}/{model}/firmware/download/{firmware} | 302 重定向到文件 |
其中 {manufacturer} 为 bitmain、innosilicon、whatsminer、vnish 之一。
示例
# list firmwares for the Bitmain Antminer S19 Procurl https://cdn.miners.tools/api/v1/bitmain/s19pro/firmware/list
# download a firmware (follows the 302 to the file)curl -L -O https://cdn.miners.tools/api/v1/bitmain/s19pro/firmware/download/Antminer-S19-Pro-merge-release-20221226124238.bmu响应结构
{ "api": "v1", "manufacturer": "bitmain", "model": "s19pro", "name": "Antminer S19PRO", "count": 6, "firmwares": [ { "filename": "Antminer-S19-Pro-merge-release-20221226124238.bmu", "size_human": "48.5 MB", "released": "2022-12-26", "download": "https://cdn.miners.tools/api/v1/bitmain/s19pro/firmware/download/Antminer-S19-Pro-merge-release-20221226124238.bmu", "direct": "https://cdn.miners.tools/downloads/bitmain/sha256/S19PRO/FW/Antminer-S19-Pro-merge-release-20221226124238.bmu" } ]}每个固件有两个链接:download 是 API 端点,会 302 重定向到文件(保持在 API 内);direct 是 CDN 上文件的直链(无重定向)。两者均为绝对 URL。
Miners Tools — 开放的 ASIC 矿机固件档案。