Stocks Widget
Shows stock prices and percentage changes for a list of symbols, plus market index performance.
Requirements
A free Alpha Vantage API key.
The free tier allows 25 requests/day and 5 requests/minute.
Getting an API key
- Go to alphavantage.co and click Get Free API Key
- Fill in the short form — no credit card required
- Copy the API key
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Alpha Vantage API key |
symbols | string[] | ["AAPL", "GOOGL", "MSFT", "AMZN", "TSLA"] | Stock ticker symbols |
markets | string[] | ["^GSPC", "^DJI", "^IXIC"] | Market index symbols |
showMarkets | boolean | true | Show market indices section |
Example config
json
{
"apiKey": "YOUR_KEY_HERE",
"symbols": ["AAPL", "MSFT", "NVDA"],
"markets": ["^GSPC", "^DJI"],
"showMarkets": true
}Rate limit notes
With the free tier (25 requests/day), keep your symbol list short. The widget fetches one request per symbol plus one per market index. Consider the premium tier for larger watchlists.