alpha-vantage
Python module to get stock data from the Alpha Vantage Api
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and uses a permissive MIT license. It's a straightforward wrapper around a free API with broad financial data coverage. Install it if you need to pull stock, crypto, or forex data into Python; skip it only if you prefer lower-level HTTP control or a different data source.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a free API key from Alpha Vantage (http://www.alphavantage.co/support/#api-key); API calls are rate-limited.
- Low friction install with only two runtime dependencies (aiohttp and requests).
- Actively maintained with recent commits and a stable production release status.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
last release 2024-07-18 (757 days) · last repo commit 2026-07-26 · 4,894 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 233,721 downloads/mo, #9,035 on PyPI
Alternatives
Verify before relying
pip install alpha_vantage
from alpha_vantage.timeseries import TimeSeries
ts = TimeSeries(key='YOUR_API_KEY')
data, meta_data = ts.get_intraday('GOOGL')- Whether asyncio support (mentioned as available from version 2.2.0) is fully documented and production-ready in current releases.
- Current rate limits and quota constraints for the free Alpha Vantage API tier.
- Whether pandas is truly optional or required for certain output formats despite being listed as optional.
What it is and what it does
Alpha Vantage is a Python wrapper around the free Alpha Vantage financial data API. It lets you retrieve real-time and historical stock prices, cryptocurrency rates, forex exchange rates, and technical indicators (like moving averages and Bollinger Bands) in a format you can work with directly—JSON dictionaries, pandas DataFrames, or CSV. The library handles API authentication, retries, and response parsing so you don't have to.
It's built for developers who want to integrate live financial market data into Python applications without building HTTP calls from scratch. You can query intraday, daily, or weekly data; pull technical indicators for analysis; or fetch fundamental company data. Pandas support is optional, so you can use it for lightweight scripts or integrate it into larger data pipelines. The library supports both standard Alpha Vantage keys and rapidAPI keys.
Use it for
- Build a stock price monitoring dashboard that pulls live OHLC data and plots it with matplotlib.
- Backtest trading strategies by fetching historical intraday or daily price data for multiple symbols.
- Calculate technical indicators (SMA, RSI, Bollinger Bands) on demand for charting or algorithmic analysis.
- Track cryptocurrency prices across different market pairs and export to pandas for statistical analysis.
- Integrate real-time forex exchange rates into a financial application without managing raw HTTP requests.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and uses a permissive MIT license. It's a straightforward wrapper around a free API with broad financial data coverage. Install it if you need to pull stock, crypto, or forex data into Python; skip it only if you prefer lower-level HTTP control or a different data source.
Install
alpha-vantage on PyPI
Before you install
Low friction install with only two runtime dependencies (aiohttp and requests). Actively maintained with recent commits and a stable production release status.
Requires a free API key from Alpha Vantage (http://www.alphavantage.co/support/#api-key); API calls are rate-limited.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install alpha_vantage
from alpha_vantage.timeseries import TimeSeries
ts = TimeSeries(key='YOUR_API_KEY')
data, meta_data = ts.get_intraday('GOOGL')
Verify before relying
- Whether asyncio support (mentioned as available from version 2.2.0) is fully documented and production-ready in current releases.
- Current rate limits and quota constraints for the free Alpha Vantage API tier.
- Whether pandas is truly optional or required for certain output formats despite being listed as optional.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttprequests |
| Maintenance | Actively maintained 757 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 233,721 / month, #9,035 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Office/Business :: Financial :: Investment |
Evidence: alpha_vantage-3.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “financial data fetching”
- alpha-vantageFetches real-time and historical stock, cryptocurrency, forex, and…
- finance-datareaderFetches historical and current financial data—stock prices, indices,…
- QuandlQuandl provides a Python client for accessing financial and economic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Investment packages
Generates country- and subdivision-specific government holiday calendars on demand, supporting 250 country codes with optional language localization and holiday categories.
Fetches financial and market data from Yahoo Finance's public APIs, including ticker information, historical prices, and live streaming data.
However, do not use it for commercial applications or high-volume data collection without confirming compliance with Yahoo's terms of service.
Provides elementary financial functions (IRR, NPV, PMT, and others) that were deprecated and removed from NumPy, offering a dedicated replacement for financial calculations.
However, given the aging status (no releases since 2019) and unclear compatibility with modern Python and recent numpy versions, verify that it works with your target…
CCXT is a unified API library for connecting to and trading on more than 100 cryptocurrency exchanges and prediction markets, supporting both REST and WebSocket protocols with normalized cross-exchange data access.
Official Python client for accessing live and historical market data from Databento, supporting multiple asset classes, schemas, and data formats with normalized message structures.
Install it if you need programmatic access to Databento's historical or live market data; skip it if you don't have a Databento account or need data from a different…
EdgarTools parses SEC EDGAR filings into typed Python objects and pandas DataFrames, extracting financial statements, insider trades, fund holdings, and other filing types with a consistent API.
The main gotcha is that you must provide an email to the SEC with every request, but that is a documented requirement.
See also yahooquery · tushare · finance-datareader · tradingeconomics · stockstats · efinance · fear-and-greed · finnhub-python · Nasdaq-Data-Link · json-timeseries