← 返回 Skills 市场
kpaxqin

Alpha Vantage API

作者 Qin Junwen · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
523
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install alpha-vantage-api
功能描述
Alpha Vantage 金融数据 API。支持股票、外汇、加密货币的实时和历史数据。 免费 API key: demo (限流),建议申请自己的免费 key。
使用说明 (SKILL.md)

Alpha Vantage Skill

Alpha Vantage 提供股票、外汇、加密货币等金融数据接口。

快速开始

设置 API Key (推荐)

# 使用自己的 API key (免费申请: https://www.alphavantage.co/support/#api-key)
node alpha.js apikey YOUR_API_KEY

# 或使用演示 key (限流)
node alpha.js quote AAPL

查询实时报价

# 股票报价
node alpha.js quote AAPL

# 带 API key
ALPHA_KEY=your_key node alpha.js quote AAPL

获取历史 K 线

# 日K线
node alpha.js daily AAPL

# 周K线
node alpha.js weekly IBM

# 月K线
node alpha.js monthly MSFT

外汇汇率

# 美元兑日元
node alpha.js forex USD/JPY

# 欧元兑美元
node alpha.js forex EUR/USD

加密货币

# 比特币兑美元
node alpha.js crypto BTC/USD

# 以太坊兑比特币
node alpha.js crypto ETH/BTC

命令列表

命令 说明 示例
quote 实时报价 alpha quote AAPL
daily 日K线 alpha daily AAPL
weekly 周K线 alpha weekly AAPL
monthly 月K线 alpha monthly AAPL
forex 汇率 alpha forex USD/JPY
crypto 加密货币 alpha crypto BTC/USD
apikey 设置 API key alpha apikey YOUR_KEY

注意事项

  1. 免费 API 限流 - 每分钟 5 次请求,每天 500 次
  2. 演示 key - 使用 demo key 可能有严格限流
  3. 数据延迟 - 免费版数据可能有 15 分钟延迟
  4. 申请免费 key - https://www.alphavantage.co/support/#api-key
安全使用建议
This skill appears to do what it claims: it calls alphavantage.co and stores a provided API key in a local config.json. Before installing, consider: (1) the package author/source is unknown and there is no homepage — review the code if you don't trust the origin; (2) the API key is saved in plaintext to config.json in the skill directory—ensure that directory's permissions are acceptable or avoid storing sensitive/prod keys there; (3) SKILL.md mentions an ALPHA_KEY env var and shorter command names that the script doesn't actually use—follow the script's documented usage (node alpha.js ...) or inspect/adjust the code if you want env-var support; (4) prefer creating a dedicated Alpha Vantage key with limited permissions/usage and monitor usage for unexpected requests.
功能分析
Type: OpenClaw Skill Name: alpha-vantage-api Version: 1.0.0 The skill is designed to interact with the Alpha Vantage financial data API. The `alpha.js` script uses `https` to communicate with the legitimate Alpha Vantage endpoint and manages its API key by storing it in a local `config.json` file. While storing an API key in plain text is a security vulnerability, the script does not attempt to exfiltrate this key or any other sensitive data to unauthorized destinations, nor does it access unrelated sensitive files or environment variables. The `SKILL.md` instructions are clear, align with the stated purpose, and do not contain any prompt injection attempts or instructions for malicious behavior. No evidence of intentional harmful behavior, unauthorized execution, or persistence mechanisms was found.
能力评估
Purpose & Capability
Name/description match the included code: alpha.js implements calls to alphavantage.co for quotes, time series, forex and crypto. No unrelated network endpoints, binaries, or credentials are requested.
Instruction Scope
SKILL.md instructs running node alpha.js and shows expected commands, which align with the code. Minor mismatches: SKILL.md examples sometimes use 'alpha quote AAPL' and show using an ALPHA_KEY environment var, but alpha.js does not read ALPHA_KEY and expects commands invoked as 'node alpha.js ...' or via stored config. This is a documentation inconsistency but not malicious scope creep.
Install Mechanism
No install spec; skill is instruction+script only (alpha.js). Nothing is downloaded or extracted at install time.
Credentials
The skill does not require environment variables or external credentials up front. It does persist an API key to a local config.json (in the skill directory) when you run 'apikey', which is expected for this client but means your key is stored on disk in plaintext.
Persistence & Privilege
always:false (no forced presence). The script writes its own config.json in its directory to store the API key, which is normal for a CLI client and does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alpha-vantage-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alpha-vantage-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with stock quotes, K-line, forex and crypto support
元数据
Slug alpha-vantage-api
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

Alpha Vantage API 是什么?

Alpha Vantage 金融数据 API。支持股票、外汇、加密货币的实时和历史数据。 免费 API key: demo (限流),建议申请自己的免费 key。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 523 次。

如何安装 Alpha Vantage API?

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

Alpha Vantage API 是免费的吗?

是的,Alpha Vantage API 完全免费(开源免费),可自由下载、安装和使用。

Alpha Vantage API 支持哪些平台?

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

谁开发了 Alpha Vantage API?

由 Qin Junwen(@kpaxqin)开发并维护,当前版本 v1.0.0。

💬 留言讨论