perldoc > Finance::Quote::AlphaVantage

📛 NAME

Finance::Quote::AlphaVantage — Obtain quotes from https://iexcloud.io

🚀 Quick Reference

Use CaseCommandDescription
🔍 Fetch stock quote for a symbol %info = Finance::Quote->fetch("IBM") Retrieve current quote data for IBM using AlphaVantage
🔑 Initialize with API key in code $q = Finance::Quote->new('AlphaVantage', alphavantage => {API_KEY => 'your-key'}) Create a new Finance::Quote object with AlphaVantage module and API key
🌐 Set API key via environment variable export ALPHAVANTAGE_API_KEY='your-key' Set the API key globally so it's picked up automatically
📋 Fetch multiple symbols %info = Finance::Quote->fetch("IBM", "AAPL") Retrieve quotes for multiple symbols in one call

📋 SYNOPSIS

use Finance::Quote;

$q = Finance::Quote->new('AlphaVantage', alphavantage => {API_KEY => 'your-alphavantage-api-key'});

%info = Finance::Quote->fetch("IBM", "AAPL");

📖 DESCRIPTION

This module fetches information from https://www.alphavantage.co.

This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "AlphaVantage" in the argument list to Finance::Quote->new().

This module provides the "alphavantage" fetch method.

🔑 API_KEY

https://www.alphavantage.co requires users to register and obtain an API key, which is also called a token. The token is a sequence of random characters.

The API key may be set by either providing a module specific hash to Finance::Quote->new as in the above example, or by setting the environment variable ALPHAVANTAGE_API_KEY.

🏷️ LABELS RETURNED

The following labels may be returned by Finance::Quote::AlphaVantage:

Finance::Quote::AlphaVantage
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION 🔑 API_KEY 🏷️ LABELS RETURNED

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 00:00 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format