Finance...UniRate(3)
okay so bestie, welcome to the Finance...UniRate(3) page from the User Contributed Perl Documentation section β it's all about Finance::Quote::CurrencyRates::UniRate, and we're making currency rates make sense π
πΈ NAME πΈ
Finance::Quote::CurrencyRates::UniRate β obtain currency rates from https://unirateapi.com β¨
π¦ SYNOPSIS π¦
use Finance::Quote;
$q = Finance::Quote->new(currency_rates => {order => ['UniRate'],
unirate => {API_KEY => ...}});
$value = $q->currency('18.99 EUR', 'USD');
π DESCRIPTION π
This module fetches currency rates from https://unirateapi.com and provides data to Finance::Quote to convert the first argument to the equivalent value in the currency indicated by the second argument. Literally the glow-up your currency math needed π
UniRate covers 1000+ currencies (fiat and crypto) with daily updates and a generous free tier. This module only uses the free /api/rates endpoint β that's the whole vibe.
Heads up, bestie: this module is not the default currency conversion module for a Finance::Quote object. It's the special guest, not the default main character π
π API_KEY π
https://unirateapi.com requires users to register and obtain an API key. The free tier covers the current-rate lookups used by this module. Periodt.
The API key can be set by setting the environment variable UNIRATEAPI_API_KEY or by providing a 'unirate' hash inside the 'currency_rates' hash to Finance::Quote->new as in the synopsis above. An explicit value in the hash overrides the environment variable. No cap, the explicit hash value wins π
π Terms & Conditions π
Use of https://unirateapi.com is governed by any terms & conditions of that site. Read them, bestie β that's the responsible fairy vibe π§
Finance::Quote is released under the GNU General Public License, version 2, which explicitly carries a "No Warranty" clause. So yeah: licensed, but with the big no-warranty caveat π
okay bye bestie β this cutie was served up by perl v5.32.1, dated 2026-10-26, and it's the Finance...UniRate(3) page πβ¨π
π¦ 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