---
name: "Finance::Quote::CurrencyRates::CurrencyFreaks"
section: "3pm"
platform: "linux"
package: "libfinance-quote-perl"
version: "1.65-1+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Finance::Quote::CurrencyRates::CurrencyFreaks"
---

# Finance::Quote::CurrencyRates::CurrencyFreaks(3pm)

Obtain currency rates from CurrencyFreaks.

## NAME

Finance::Quote::CurrencyRates::CurrencyFreaks - Obtain currency rates from CurrencyFreaks.

## SYNOPSIS

```
    use Finance::Quote;
    $q = Finance::Quote->new(currency_rates =>
        {order => ['CurrencyFreaks'], currencyfreaks => {API_KEY => ...} } );
    $value = $q->currency('18.99 EUR', 'USD');
```

## DESCRIPTION

This module fetches currency rates from https://currencyfreaks.com/ provides  data to Finance::Quote to convert the first argument to the equivalent value  in the currency indicated by the second argument.

This module is not the default currency conversion module for a Finance::Quote object.

## API\_KEY

https://currencyfreaks.com/ requires users to register and obtain an API key, which is also called a token.

The API key may be set by either providing a currencyfreaks hash inside the currency\_rates hash to Finance::Quote-\>new as in the above example, or by setting the environment variable CURRENCYFREAKS\_API\_KEY.

## Terms & Conditions

Use of https://currencyfreaks.com/ is governed by any terms & conditions of that  site.

Finance::Quote is released under the GNU General Public License, version 2, which explicitly carries a "No Warranty" clause.
