Alpha Vantage API

v1.0.0

Alpha Vantage 金融数据 API。支持股票、外汇、加密货币的实时和历史数据。 免费 API key: demo (限流),建议申请自己的免费 key。

1· 484·2 current·2 all-time
byQin Junwen@kpaxqin
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

cryptovk970s0zqf5tb7d0pd0xy0errs1827te4financevk970s0zqf5tb7d0pd0xy0errs1827te4forexvk970s0zqf5tb7d0pd0xy0errs1827te4latestvk970s0zqf5tb7d0pd0xy0errs1827te4stockvk970s0zqf5tb7d0pd0xy0errs1827te4
484downloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

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 keyalpha apikey YOUR_KEY

注意事项

  1. 免费 API 限流 - 每分钟 5 次请求,每天 500 次
  2. 演示 key - 使用 demo key 可能有严格限流
  3. 数据延迟 - 免费版数据可能有 15 分钟延迟
  4. 申请免费 key - https://www.alphavantage.co/support/#api-key

Comments

Loading comments...