Keys / Alpha Vantage

ALPHAVANTAGE_API_KEY

The Alpha Vantage API key your app reads stock, forex and crypto data with, sent as apikey. The free key allows 25 requests a day.

Expires
the docs don't say
API
none

Get it

Create one on www.alphavantage.co/support. The steps aren't recorded yet.

Set it

ALPHAVANTAGE_API_KEY=...

Alpha Vantage's marketdata-cli reads it from this variable, or from ALPHA_VANTAGE_API_KEY. For the HTTP API, your app sends it as apikey. Or keep it out of .env with keypin: keypin run -- npm run dev

Replace it

  1. Alpha Vantage's docs don't say how to replace a key. They say to email support@alphavantage.co, for example if you lose it.
  2. If you get a new key, deploy it everywhere that reads ALPHAVANTAGE_API_KEY.
  3. Check that requests succeed with the new key.

Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.

Sources, checked 2026-11-16