Alpha Vantage logo

Alpha Vantage

Community
gauss314
alpha-vantage

API de datos financieros de EE.UU.: acciones, forex, crypto, indicadores técnicos, fundamental data.

Overview

Publishergauss314
Repositoryskills
Skill namealpha-vantage
Stars
250
Forks
35
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by gauss314 on GitHub. Read the source before you install it.

Installation

Install the Alpha Vantage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gauss314/skills/tree/main/skills/alpha-vantage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gauss314/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/alpha-vantage .claude/skills/alpha-vantage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alpha Vantage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alpha Vantage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alpha Vantage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Alpha Vantage — Financial Data API

⚠️ IMPORTANTE: Requiere API Key gratuita. Ver sección de Autenticación.

API de datos financieros con cobertura global (20+ bolsas, 200,000+ tickers).

Base URL: https://www.alphavantage.co/query
Documentación completa: alphavantage.co/documentation


Autenticación

Obtener API Key (GRATIS)

  1. Ir a: https://www.alphavantage.co/support/#api-key
  2. Completar el formulario (email, nombre, tipo de uso)
  3. Recibir key instantáneamente por email
  4. No requiere tarjeta de crédito

Usar la API Key

python
import os
API_KEY = os.getenv("ALPHAVANTAGE_API_KEY")  # Recomendado
# o directamente:
API_KEY = "TU_API_KEY_AQUI"

⚠️ NUNCA hardcodear la API key en código que se va a compartir/commits.


Rate Limits

PlanRequests/DíaRequests/MinutoPrecio
Free255$0
Standard∞75$49.99/mes
Premium∞150$99.99/mes
Enterprise∞1,200$249.99/mes

Recomendaciones para Free Tier

  • Cachear respuestas — los datos no cambian frecuentemente
  • Usar outputsize=compact — retorna últimos 100 datos (gratis)
  • No hacer llamadas en cada request de usuario
  • Esperar 12+ segundos entre requests (5 req/min máximo)

Si llegás al límite

El API retorna:

json
{
  "Error Message": "Thank you for using Alpha Vantage! Our standard API call frequency is 5 requests per minute and 25 requests per day. Please subscribe to a premium plan for higher API call volume."
}

Endpoints Disponibles

Time Series — Acciones (Free Tier)

FunctionDescripciónNotas
TIME_SERIES_DAILYOHLCV diario⚠️ Solo compact (100 datos)
TIME_SERIES_WEEKLYOHLCV semanalFull history
TIME_SERIES_MONTHLYOHLCV mensualFull history
GLOBAL_QUOTEQuote último precioRápido
SYMBOL_SEARCHBuscar símbolos

Time Series — PREMIUM

FunctionDescripción
TIME_SERIES_INTRADAYDatos intraday (1/5/15/30/60 min)
TIME_SERIES_DAILY_ADJUSTEDCon splits/dividendos
outputsize=fullHistoria completa (20+ años)

Fundamental Data (Free Tier)

FunctionDescripción
OVERVIEWCompany overview
INCOME_STATEMENTEstado de resultados
BALANCE_SHEETBalance general
CASH_FLOWFlujo de caja
EARNINGSGanancias históricas

Forex (Free Tier)

FunctionDescripción
CURRENCY_EXCHANGE_RATETipo de cambio actual
FX_INTRADAYIntraday forex
FX_DAILYForex diario
FX_WEEKLYForex semanal
FX_MONTHLYForex mensual

Cryptocurrency (Free Tier)

FunctionDescripción
CURRENCY_EXCHANGE_RATECrypto vs fiat
DIGITAL_CURRENCY_DAILYCrypto diario
DIGITAL_CURRENCY_WEEKLYCrypto semanal
DIGITAL_CURRENCY_MONTHLYCrypto mensual

Technical Indicators (50+ Free Tier)

Ver lista completa en ./references/indicators.md:

CategoríaIndicadores
TrendSMA, EMA, WMA, DEMA, TEMA, KAMA, etc.
MomentumRSI, MACD, STOCH, WILLR, ADX, CCI, etc.
VolatilityBBANDS, ATR, NATR, TRANGE
VolumeOBV, AD, ADOSC

Economic Indicators (Free Tier)

FunctionDescripción
REAL_GDPPIB de EE.UU.
CPIÍndice de Precios al Consumidor
INFLATIONTasa de inflación
UNEMPLOYMENTTasa de desempleo
FEDERAL_FUNDS_RATETasa de fondos federales
TREASURY_YIELDRendimientos del tesoro

Alpha Intelligence (Free Tier)

FunctionDescripciónNotas
NEWS_SENTIMENTAnálisis de sentimientoFree
TOP_GAINERS_LOSERSMejores/peoresFree
INSIDER_TRANSACTIONSTransacciones insiders⚠️ PREMIUM
ANALYTICS_FIXED_WINDOWAnalytics avanzado⚠️ PREMIUM

Ejemplos de Uso

Quote actual (más simple)

python
import requests

url = "https://www.alphavantage.co/query"
params = {
    "function": "GLOBAL_QUOTE",
    "symbol": "AAPL",
    "apikey": API_KEY
}
r = requests.get(url, params=params)
quote = r.json()["Global Quote"]
print(f"AAPL: ${quote['05. price']}")

Time Series Diario

python
params = {
    "function": "TIME_SERIES_DAILY",
    "symbol": "IBM",
    "outputsize": "compact",  # últimos 100 días (free)
    "apikey": API_KEY
}
r = requests.get(url, params=params)
data = r.json()["Time Series (Daily)"]

Indicador Técnico (RSI)

python
params = {
    "function": "RSI",
    "symbol": "IBM",
    "interval": "daily",
    "time_period": 14,
    "apikey": API_KEY
}

Forex

python
params = {
    "function": "CURRENCY_EXCHANGE_RATE",
    "from_currency": "BTC",
    "to_currency": "USD",
    "apikey": API_KEY
}

Scripts de Descarga

Usá los scripts en ./scripts/:

bash
# Descargar quotes de múltiples símbolos
python ./scripts/download_quotes.py --symbols AAPL,GOOGL,MSFT --output data/

# Descargar time series diarios
python ./scripts/download_timeseries.py --symbol AAPL --output data/

# Descargar indicadores técnicos
python ./scripts/download_indicators.py --symbol AAPL --indicator RSI --output data/

Errores Comunes

ErrorCausaSolución
"5 requests per minute"Rate limitEsperar 12+ segundos
"25 requests per day"Daily limitEsperar 24 horas o upgrade
"Invalid API call"Symbol no existeUsar SYMBOL_SEARCH primero
"premium" en responseEndpoint premiumUsar alternativa free o upgrade

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Alpha Vantage AI skill do?

API de datos financieros de EE.UU.: acciones, forex, crypto, indicadores técnicos, fundamental data.

Why use Alpha Vantage on TypingMind?

Because you install it once and use it with any model. Alpha Vantage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alpha Vantage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gauss314/skills/tree/main/skills/alpha-vantage. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Alpha Vantage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alpha Vantage?

As many as you like. As long as a model supports skills, you can use Alpha Vantage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alpha Vantage AI skill free?

Yes. It is published on GitHub by gauss314 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇