← 返回 Skills 市场
fengcheche-0

btc数据

作者 fengcheche-0 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
63
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install btc-data-api
功能描述
查询比特币链上结构数据(UTXO、大额流出、筹码分布、持仓结构、链上指标等)
使用说明 (SKILL.md)

\r \r

🚀 BTC Chain Data API 使用方式\r

\r 所有表统一支持以下三种基础查询方式:\r \r ---\r \r

1️⃣ 默认查询(最新1条)\r

python btc_api.py \x3Ctable>\r \r 示例:\r python btc_api.py bigamountvoutv3e\r \r ---\r \r

2️⃣ limit查询(最近N条)\r

python btc_api.py \x3Ctable> \x3Climit>\r \r 示例:\r python btc_api.py bigamountvoutv3e 10\r \r ---\r \r

3️⃣ 时间查询(指定日期数据)\r

python btc_api.py \x3Ctable> \x3CYYYY-MM-DD>\r \r 示例:\r python btc_api.py bigamountvoutv3e 2026-03-31\r \r ---\r \r

4️⃣ 字段查询(最新1条)\r

python btc_api.py \x3Ctable> \x3Cfield>\r \r 示例:\r python btc_api.py dailyindsv3e1 price\r python btc_api.py holder3 holder_30\r \r ---\r \r

5️⃣ 字段 + limit查询(最近N条)\r

python btc_api.py \x3Ctable> \x3Cfield> \x3Climit>\r \r 示例:\r python btc_api.py dailyindsv3e1 price 10\r \r ---\r \r

6️⃣ 字段 + 日期查询(当天数据)\r

python btc_api.py \x3Ctable> \x3Cfield> \x3CYYYY-MM-DD>\r \r 示例:\r python btc_api.py dailyindsv3e1 price 2026-03-31\r \r ---\r \r

⚠️ 注意\r

  • 同一请求仅支持单一附加参数\r
  • 不支持 limit + date 同时使用\r
  • 参数顺序固定:table → field → limit/date\r ---\r \r

API地址\r

http://10.168.1.162:9000\r \r

数据表与字段说明\r

\r ---\r \r

bigamountvoutv3e(大额UTXO输出记录)\r

  • vout\r
  • voutn\r
  • vouttype\r
  • amount\r
  • height\r
  • txid\r
  • days\r
  • buyprice\r
  • sellprice\r
  • profit\r \r ---\r \r

dailyindsv3e1(链上日级指标)\r

  • height_begin\r
  • height_end\r
  • profitrate\r
  • fees\r
  • txs\r
  • new_address\r
  • total_address\r
  • new_address_volume\r
  • active_address\r
  • send_address\r
  • receive_address\r
  • volume\r
  • eavolume\r
  • sopr:SOPR\r
  • asopr\r
  • easopr\r
  • lthsopr\r
  • sthsopr\r
  • asol\r
  • eaasol\r
  • dormancy\r
  • adormancy\r
  • eadormancy\r
  • cdd\r
  • sacdd\r
  • eacdd\r
  • day1\r
  • day7\r
  • day30\r
  • day60\r
  • day90\r
  • day180\r
  • day365\r
  • day730\r
  • csupply\r
  • mintusd\r
  • sumcsupply\r
  • sumcdd\r
  • sumeacdd\r
  • liveliness\r
  • ealiveliness\r
  • rprofit\r
  • rloss\r
  • rplrate\r
  • price\r
  • marketcap\r
  • rcap\r
  • earcap\r
  • mvrv\r
  • nupl\r
  • vdd\r ---\r \r

dailyindsv3e2(扩展估值指标)\r

  • height_begin\r
  • height_end\r
  • lth_volume\r
  • frm\r
  • cvdd\r
  • realized_price\r
  • transferred_price\r
  • balanced_price\r
  • nvt_ratio\r
  • velocity\r ---\r \r

holder3(持币人数结构)\r

  • holder_0\r
  • holder_1\r
  • holder_2\r
  • holder_3\r
  • holder_4\r
  • holder_5\r
  • holder_6\r
  • holder_7\r
  • holder_15\r
  • holder_30\r
  • holder_60\r
  • holder_90\r
  • holder_180\r
  • holder_360\r
  • holder_540\r
  • holder_720\r
  • holder_1080\r
  • holder_1440\r
  • holder_1800\r
  • holder_2160\r
  • holder_2520\r
  • holder_2880\r
  • holder_3240\r
  • holder_3600\r
  • holder_3960\r \r ---\r \r

holder_balance3(持币资金结构)\r

  • holder_balance_0\r
  • holder_balance_1\r
  • holder_balance_2\r
  • holder_balance_3\r
  • holder_balance_4\r
  • holder_balance_5\r
  • holder_balance_6\r
  • holder_balance_7\r
  • holder_balance_15\r
  • holder_balance_30\r
  • holder_balance_60\r
  • holder_balance_90\r
  • holder_balance_180:\r
  • holder_balance_360\r
  • holder_balance_540:\r
  • holder_balance_720\r
  • holder_balance_1080\r
  • holder_balance_1440\r
  • holder_balance_1800\r
  • holder_balance_2160\r
  • holder_balance_2520\r
  • holder_balance_2880\r
  • holder_balance_3240\r
  • holder_balance_3600\r
  • holder_balance_3960\r \r ---\r \r

realtimeindsv3(实时链上指标)\r

  • mempool_size\r
  • mempool_fees\r \r ---\r \r

rt_bigamountvoutv3e(实时大额UTXO输出记录)\r

  • vout\r
  • voutn\r
  • vouttype\r
  • amount\r
  • height\r
  • txid\r
  • days\r
  • buyprice\r
  • sellprice\r
  • profit\r \r ---\r \r

rt_dailyindsv3e1(实时链上日级指标)\r

  • height_begin\r
  • height_end\r
  • profitrate\r
  • fees\r
  • txs\r
  • new_address\r
  • total_address\r
  • new_address_volume\r
  • active_address\r
  • send_address\r
  • receive_address\r
  • volume\r
  • eavolume\r
  • sopr\r
  • asopr\r
  • easopr\r
  • lthsopr\r
  • sthsopr\r
  • asol\r
  • eaasol\r
  • dormancy\r
  • adormancy\r
  • eadormancy\r
  • cdd\r
  • sacdd\r
  • eacdd\r
  • day1\r
  • day7\r
  • day30\r
  • day60\r
  • day90\r
  • day180\r
  • day365\r
  • day730\r
  • csupply\r
  • mintusd\r
  • sumcsupply\r
  • sumcdd\r
  • sumeacdd\r
  • liveliness\r
  • ealiveliness\r
  • rprofit\r
  • rloss\r
  • rplrate\r
  • price\r
  • marketcap\r
  • rcap\r
  • earcap\r
  • mvrv\r
  • nupl\r
  • vdd\r ---\r \r

rt_dailyindsv3e2(实时扩展估值指标)\r

  • height_begin\r
  • height_end\r
  • lth_volume\r
  • frm\r
  • cvdd\r
  • realized_price\r
  • transferred_price\r
  • balanced_price\r
  • nvt_ratio\r
  • velocity\r ---\r \r

utxos3nd(UTXO余额分布结构)\r

  • balance_amount_0\r
  • balance_amount_001\r
  • balance_amount_01\r
  • balance_amount_1\r
  • balance_amount_10\r
  • balance_amount_100\r
  • balance_amount_1000\r
  • balance_amount_10000\r \r ---\r \r

utxosv3(UTXO结构统计)\r

  • total_address\r
  • total_balance\r
  • total_rcap\r
  • miner_address\r
  • miner_balance\r
  • balance_0\r
  • balance_001\r
  • balance_01\r
  • balance_1\r
  • balance_10\r
  • balance_100\r
  • balance_1000\r
  • balance_10000\r
  • uprofit\r
  • uloss\r
  • lthnupl\r
  • sthnupl\r
  • lthmarketcap\r
  • lthrcap\r
  • sthmarketcap\r
  • sthrcap\r
  • lthmvrv\r
  • sthmvrv\r \r ---\r \r

utxosv4(UTXO盈利与供给结构)\r

  • profit_addresses\r
  • loss_addresses\r
  • profit_ratio\r
  • lth_supply\r
  • sth_supply\r
  • realized_price\r
  • relative_lth_sth\r
  • lth_profit_supply\r
  • lth_loss_supply\r
  • lth_profit_ratio\r
  • sth_profit_supply\r
  • sth_loss_supply\r
  • sth_profit_ratio\r
  • slrv_ratio\r ---\r \r \r \r \r
安全使用建议
This skill runs a bundled Python script that performs GET requests to http://10.168.1.162:9000 (a private LAN IP). Before installing or running it: 1) only use it if you trust the skill author and you expect that host to be reachable and safe; 2) prefer a skill that lets you configure the API host rather than hard‑coding a private IP; 3) run the skill in an isolated environment (sandbox or VM) if you are unsure, to avoid allowing the agent to probe internal network services; 4) ensure the Python environment has the 'requests' package or add a safe install step; and 5) if you want to proceed but limit risk, inspect/modify btc_api.py to point BASE_URL to a known public API or to require a user-supplied BASE_URL rather than the embedded 10.168.1.162 address.
功能分析
Type: OpenClaw Skill Name: btc-data-api Version: 1.0.0 The skill bundle contains a Python script (btc_api.py) that interacts with a hardcoded internal IP address (10.168.1.162:9000), which could be used for internal network probing or SSRF. While it implements a whitelist for table names, it lacks input sanitization for the 'field' and 'params' arguments, allowing for potential path traversal or query parameter injection against the target API. These vulnerabilities, combined with the private network target, pose a risk in an automated agent environment.
能力评估
Purpose & Capability
The name, description, SKILL.md and the btc_api.py implementation are consistent: the script queries specific BTC on‑chain tables and prints JSON. However, the BASE_URL is a hard‑coded private IP (10.168.1.162:9000) instead of a documented public API host or configurable setting, which is unusual and warrants caution.
Instruction Scope
SKILL.md instructs the agent/user to run the included Python script which issues HTTP GET requests to the hard‑coded internal address. The runtime instructions do not request other files or credentials, but they do direct network traffic to a private IP on your network — a vector for internal probing or indirect data exfiltration if the agent runs in an environment with access to internal services.
Install Mechanism
There is no install spec (instruction-only), so nothing extra is written to disk. The bundled python script depends on the 'requests' library, but the skill only declares python3 as a required binary — it does not declare or install the requests dependency, which will cause runtime failures unless the environment already has requests installed.
Credentials
The skill requests no environment variables or credentials (good). That said, its ability to make outbound HTTP calls to a local IP is the primary risk vector rather than stolen credentials.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. Autonomous invocation is allowed (platform default) but is not combined with other high privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install btc-data-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /btc-data-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of btc-chain-data-api. - Provides command-line access to query Bitcoin on-chain structural data, including UTXO, large outputs, chip distribution, holding structure, and various on-chain metrics. - Supports six query modes: default (latest), limit (recent N), date-based, field query, field + limit, and field + date. - Offers comprehensive documentation for usage and available data tables/fields. - Usage restrictions: only one additional parameter per request; limit and date cannot be combined; strict parameter order. - API endpoint and detailed schema for each supported table are included.
元数据
Slug btc-data-api
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

btc数据 是什么?

查询比特币链上结构数据(UTXO、大额流出、筹码分布、持仓结构、链上指标等). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 63 次。

如何安装 btc数据?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install btc-data-api」即可一键安装,无需额外配置。

btc数据 是免费的吗?

是的,btc数据 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

btc数据 支持哪些平台?

btc数据 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 btc数据?

由 fengcheche-0(@fengcheche-0)开发并维护,当前版本 v1.0.0。

💬 留言讨论