GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Finance::Quote::FinanceAPI(3) User Contributed Perl Documentation Finance::Quote::FinanceAPI(3)

Finance::Quote::FinanceAPI - Obtain quotes from financeapi.net.

    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

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".

<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.

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.

The following labels are returned:

2025-04-27 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.