alpha-vantage

Solid

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market news/sentiment, insider transactions, GDP, CPI, treasury yields, gold/silver/oil prices, Bitcoin/crypto prices, forex exchange rates, or calculating technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands). Requires a free API key from alphavantage.co.

AI & Automation 2,202 stars 164 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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: ```bash export ALPHAVANTAGE_API_KEY="your_key_here" ``` ## Installation ```bash 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 ``` ```python 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 ```python # 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_CURRENC...

Details

Author
foryourhealth111-pixel
Repository
foryourhealth111-pixel/Vibe-Skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category