alpha-vantage

alpha-vantage is a skill for Claude Code, Codex from pinkpixel-dev/skills-collection-1. It costs 34 tokens per session (1,303 once invoked), scanned A, a copy of alpha-vantage, Apache-2.0.

A connection to Alpha Vantage, a service that provides historical and current financial-market data. It covers stocks, options, currencies, crypto, commodities, economic measures, and technical indicators.

In plain words
What is it for?
Use it to retrieve data for market analysis, financial dashboards, trading research, or scripts that track companies, currencies, crypto, commodities, and economic indicators.
Why use it?
It avoids collecting market data from many separate sources. It gives code a consistent way to request prices, daily trading data, company details, and other financial information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve data for market analysis, financial dashboards, trading research, or scripts that track companies, currencies, crypto, commodities, and economic indicators.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pinkpixel-dev/skills-collection-1/alpha-vantage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pinkpixel-dev/skills-collection-1 --skill alpha-vantage
Clone the repo
git clone --depth 1 https://github.com/pinkpixel-dev/skills-collection-1

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alpha-vantage

README.md
[![agentmods](https://agentmods.dev/badge/skills/pinkpixel-dev/skills-collection-1/alpha-vantage.svg)](https://agentmods.dev/skills/pinkpixel-dev/skills-collection-1/alpha-vantage)
Your own site
<a href="https://agentmods.dev/skills/pinkpixel-dev/skills-collection-1/alpha-vantage"><img src="https://agentmods.dev/badge/skills/pinkpixel-dev/skills-collection-1/alpha-vantage.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01303
Opus 5 $0.00017 $0.00651
Sonnet 5 $0.00007 $0.00261
Haiku 4.5 $0.00003 $0.00130

Measured 8d ago against content hash dcfc038f77ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

alpha-vantage scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(BASE_URL, params={"function": function, "apikey": API_KEY, **params})
Origin

This is a copy

95% identical to alpha-vantage — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

SKILLS/alpha-vantage/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Alpha Vantage — Financial Market Data

Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ technical indicators.

API Key Setup (Required)

  1. Get a free key at https://www.alphavantage.co/support/#api-key (premium plans available for higher rate limits)
  2. Set as environment variable:
export ALPHAVANTAGE_API_KEY="your_key_here"

Installation

uv pip install requests pandas

Base URL & Request Pattern

All requests go to:

https://www.alphavantage.co/query?function=FUNCTION_NAME&apikey=YOUR_KEY&...params
import requests
import os

API_KEY = os.environ.get("ALPHAVANTAGE_API_KEY")
BASE_URL = "https://www.alphavantage.co/query"

def av_get(function, **params):
    response = requests.get(BASE_URL, params={"function": function, "apikey": API_KEY, **params})
    return response.json()

Quick Start Examples

# Stock quote (latest price)
quote = av_get("GLOBAL_QUOTE", symbol="AAPL")
price = quote["Global Quote"]["05. price"]

# Daily OHLCV
daily = av_get("TIME_SERIES_DAILY", symbol="AAPL", outputsize="compact")
ts = daily["Time Series (Daily)"]

# Company fundamentals
overview = av_get("OVERVIEW", symbol="AAPL")
print(overview["MarketCapitalization"], overview["PERatio"])

# Income statement
income = av_get("INCOME_STATEMENT", symbol="AAPL")
annual = income["annualReports"][0]  # Most recent annual

# Crypto price
crypto = av_get("DIGITAL_CURRENCY_DAILY", symbol="BTC", market="USD")

# Economic indicator
gdp = av_get("REAL_GDP", interval="annual")

# Technical indicator
rsi = av_get("RSI", symbol="AAPL", interval="daily", time_period=14, series_type="close")

API Categories

Category Key Functions
Time Series (Stocks) GLOBAL_QUOTE, TIME_SERIES_INTRADAY, TIME_SERIES_DAILY, TIME_SERIES_WEEKLY, TIME_SERIES_MONTHLY
Options REALTIME_OPTIONS, HISTORICAL_OPTIONS
Alpha Intelligence NEWS_SENTIMENT, EARNINGS_CALL_TRANSCRIPT, TOP_GAINERS_LOSERS, INSIDER_TRANSACTIONS, ANALYTICS_FIXED_WINDOW
Fundamentals OVERVIEW, ETF_PROFILE, INCOME_STATEMENT, BALANCE_SHEET, CASH_FLOW, EARNINGS, DIVIDENDS, SPLITS
Forex (FX) CURRENCY_EXCHANGE_RATE, FX_INTRADAY, FX_DAILY, FX_WEEKLY, FX_MONTHLY
Crypto CURRENCY_EXCHANGE_RATE, CRYPTO_INTRADAY, DIGITAL_CURRENCY_DAILY
Commodities GOLD (WTI spot), BRENT, NATURAL_GAS, COPPER, WHEAT, CORN, COFFEE, ALL_COMMODITIES
Economic Indicators REAL_GDP, TREASURY_YIELD, FEDERAL_FUNDS_RATE, CPI, INFLATION, UNEMPLOYMENT, NONFARM_PAYROLL
Technical Indicators SMA, EMA, MACD, RSI, BBANDS, STOCH, ADX, ATR, OBV, VWAP, and 40+ more

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 135 lines · 34 tokens per session scan A dcfc038f77ec

Subscribe to this mod's changes

alpha-vantage is a skill published in the GitHub repository pinkpixel-dev/skills-collection-1 (7 stars, last pushed 29d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,303 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to alpha-vantage, differing in 12 lines, and is treated as a copy.

Related

Other skills, from other repositories