← Back to Skills Marketplace
kpaxqin

Alpha Vantage API

by Qin Junwen · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
523
Downloads
1
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install alpha-vantage-api
Description
Alpha Vantage 金融数据 API。支持股票、外汇、加密货币的实时和历史数据。 免费 API key: demo (限流),建议申请自己的免费 key。
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alpha-vantage-api
  3. After installation, invoke the skill by name or use /alpha-vantage-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with stock quotes, K-line, forex and crypto support
Metadata
Slug alpha-vantage-api
Version 1.0.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is Alpha Vantage API?

Alpha Vantage 金融数据 API。支持股票、外汇、加密货币的实时和历史数据。 免费 API key: demo (限流),建议申请自己的免费 key。 It is an AI Agent Skill for Claude Code / OpenClaw, with 523 downloads so far.

How do I install Alpha Vantage API?

Run "/install alpha-vantage-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Alpha Vantage API free?

Yes, Alpha Vantage API is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Alpha Vantage API support?

Alpha Vantage API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Alpha Vantage API?

It is built and maintained by Qin Junwen (@kpaxqin); the current version is v1.0.0.

💬 Comments