# man > Finance::Quote::AlphaVantage

## NAME
    [Finance::Quote::AlphaVantage](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote%3A%3AAlphaVantage/markdown) - Obtain quotes from <https://iexcloud.io>

## SYNOPSIS
        use [Finance::Quote](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown);

        $q = [Finance::Quote](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown)->new('AlphaVantage', alphavantage => {API_KEY => 'your-alphavantage-api-key'});

        %info = [Finance::Quote](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown)->fetch("IBM", "AAPL");

## DESCRIPTION
    This module fetches information from <https://www.alphavantage.co>.

    This module is loaded by default on a [Finance::Quote](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown) object. It's also possible to load it
    explicitly by placing "AlphaVantage" in the argument list to [Finance::Quote](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown)->new().

    This module provides the "alphavantage" fetch method.

## APIKEY
    <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](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown)->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](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote%3A%3AAlphaVantage/markdown) : symbol, open, close,
    high, low, last, volume, method, isodate, currency.

