Keys / Finnhub
FINNHUB_API_KEY
The Finnhub API key your app reads stock, forex and crypto data with. The free plan allows 60 calls a minute for personal use.
- Expires
- the docs don't say
- API
- none; dashboard only
Get it
Create one on finnhub.io/dashboard. The steps aren't recorded yet.
Set it
FINNHUB_API_KEY=...
Finnhub's official clients take the key from your app; none reads this variable. Over HTTP, send it as the token parameter or the X-Finnhub-Token header. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- Finnhub's docs don't say how to replace a key. Your key is on the Dashboard.
- If you get a new key, deploy it everywhere that reads
FINNHUB_API_KEY. - 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.