PHPackages                             avenyra/module-currency-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. avenyra/module-currency-api

ActiveMagento2-module[API Development](/categories/api)

avenyra/module-currency-api
===========================

A Magento 2 module that integrates with currencyapi.com to fetch and import real-time currency exchange rates into your Magento store.

2.0.0(4mo ago)362MITPHP

Since Feb 12Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Avenyra/magento2-CurrencyApiConverter)[ Packagist](https://packagist.org/packages/avenyra/module-currency-api)[ RSS](/packages/avenyra-module-currency-api/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/a37ade452990ad5b82ce6c8e864f06516110a9b7dbb713459bd9d9747956f16c/687474703a2f2f706f7365722e707567782e6f72672f6176656e7972612f6d6f64756c652d63757272656e63792d6170692f76)](https://packagist.org/packages/avenyra/module-currency-api)[![Total Downloads](https://camo.githubusercontent.com/8c10ff2e2cb86acd36c9e7a741995663bcbddb526d96bc7c731484299fc56d64/687474703a2f2f706f7365722e707567782e6f72672f6176656e7972612f6d6f64756c652d63757272656e63792d6170692f646f776e6c6f616473)](https://packagist.org/packages/avenyra/module-currency-api)[![License](https://camo.githubusercontent.com/7b2642f8f19dd3b86916afcc31a73516911cc231e765c41bfeaf5037456269ed/687474703a2f2f706f7365722e707567782e6f72672f6176656e7972612f6d6f64756c652d63757272656e63792d6170692f6c6963656e7365)](https://packagist.org/packages/avenyra/module-currency-api)

Avenyra Currency Converter Module
=================================

[](#avenyra-currency-converter-module)

A Magento 2 module that integrates with [currencyapi.com](https://currencyapi.com/) to fetch and import real-time currency exchange rates into your Magento store.

Features
--------

[](#features)

- **Real-time Currency Rates**: Fetch live exchange rates from currencyapi.com API
- **Batch Processing**: Efficiently processes multiple currency conversions in a single API call
- **Magento Integration**: Seamlessly integrates with Magento's native currency import system

System Requirements
-------------------

[](#system-requirements)

- **PHP**: 8.1+
- **Magento**: 2.4.5+

Installation
------------

[](#installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

```
composer require avenyra/module-currency-api
php bin/magento module:enable Avenyra_CurrencyApi
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
```

Configuration
-------------

[](#configuration)

### Step 1: Obtain API Key

[](#step-1-obtain-api-key)

1. Visit [currencyapi.com](https://currencyapi.com/)
2. Sign up for a free account or choose a paid plan
3. Generate your API key from the dashboard

### Step 2: Configure in Magento Admin

[](#step-2-configure-in-magento-admin)

1. Navigate to **Stores &gt; Configuration &gt; General &gt; Currency Setup**
2. Locate the **CurrencyApi** section
3. Enter your API key in the **API Key** field (encrypted automatically)
4. Set the **Connection Timeout in Seconds** (recommended: 30 seconds)
5. Click **Save Config**

### Step 3: Import Currency Rates

[](#step-3-import-currency-rates)

1. Go to **Stores &gt; Currency &gt; Currency Rates**
2. Select **Currency API (currencyapi.com)** from the **Import Service** dropdown
3. Click **Import** to fetch the latest rates

API Pricing &amp; Disclaimer
----------------------------

[](#api-pricing--disclaimer)

⚠️ **Important**: While this module is **free to use**, the currencyapi.com API service has its own pricing structure:

- **Free Plan**: Limited API calls per month (suitable for small stores)
- **Paid Plans**: Higher call limits and additional features available

Please review the currencyapi.com [pricing page](https://currencyapi.com/pricing) to choose the plan that best fits your store's needs.

Troubleshooting
---------------

[](#troubleshooting)

### "No API Key was specified or an invalid API Key was specified"

[](#no-api-key-was-specified-or-an-invalid-api-key-was-specified)

- Verify your API key is correctly entered in the admin configuration
- Ensure the API key is valid and active on currencyapi.com

### "We can't retrieve a rate from currencyapi.com for \[CURRENCY\]"

[](#we-cant-retrieve-a-rate-from-currencyapicom-for-currency)

- Check if the currency code is supported by currencyapi.com
- Verify your API plan supports the requested currency pair

### Connection Timeout Issues

[](#connection-timeout-issues)

- Increase the **Connection Timeout in Seconds** value in configuration
- Check your server's internet connectivity
- Verify currencyapi.com service status

Support
-------

[](#support)

For issues or questions:

- Check the Magento logs: `var/log/system.log`
- Visit currencyapi.com [documentation](https://currencyapi.com/docs)
- Found a bug or issue? Please [open an issue](https://github.com/Avenyra/magento2-CurrencyApiConverter/issues) on GitHub.

Author
------

[](#author)

**Avenyra Solutions**

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance74

Regular maintenance activity

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

141d ago

Major Versions

1.0.0 → 2.0.02026-02-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/43a0e0112388db576cfbb5301b005b99c6a4e913dc087793f9c1b460ca653acc?d=identicon)[Avenyra](/maintainers/Avenyra)

---

Top Contributors

[![Avenyra](https://avatars.githubusercontent.com/u/88397713?v=4)](https://github.com/Avenyra "Avenyra (11 commits)")

---

Tags

currency-apicurrency-convertercurrency-exchangecurrency-exchange-ratescurrencyconvert-modulemagentomagento-modulemagento2magento2-extensionmagento2-extension-freemagento2-module

### Embed Badge

![Health badge](/badges/avenyra-module-currency-api/health.svg)

```
[![Health](https://phpackages.com/badges/avenyra-module-currency-api/health.svg)](https://phpackages.com/packages/avenyra-module-currency-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
