Finance...anceAPI(3)
okay bestie, welcome to Finance...anceAPI(3) from User Contributed Perl Documentation π β this one is all about the Finance::Quote::FinanceAPI module, and it's lowkey iconic. no preamble, we're going straight in. β¨
πΈ NAME πΈ
Finance::Quote::FinanceAPI β obtain quotes from financeapi.net. periodt. π
π¦ SYNOPSIS π¦
use Finance::Quote;
# API Key passed during object creation
$q = Finance::Quote->new('FinanceAPI', financeapi => {API_KEY => 'your-financeapi-api-key'});
# FINANCEAPI_API_KEY environment variable set
$q = Finance::Quote->new;
%info = $q->fetch("financeapi", "AAPL"); # Only query financeapi
β¨ DESCRIPTION β¨
This module fetches information from https://financeapi.net/ π«Ά. The API URL is https://yfapi.net/.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "financeapi" in the argument list to Finance::Quote->new().
This module provides the "financeapi" fetch method. In addition it advertises "nyse", "usa", and "nasdaq" π.
π API_KEY π
https://financeapi.net/ requires users to register for an API Key (token). The free Basic API Key allows 100 queries per day and a 300 per minute rate. fr fr, those are the numbers.
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 FINANCEAPI_API_KEY. iykyk π
π LABELS RETURNED π
The following labels are returned:
namesymbolopenhighlowpricedatevolumecurrency
mwah π that's the whole page. source/version: perl v5.32.1; date: 2026-10-26. slay and goodbye, bestie π«ΆπΈ
π¦ where this page comes from
- epel 9: perl-Finance-Quote 1.7200-1.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms