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