Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Currency API

12 sites Security covered Drupal 10–11
View on drupal.org

This module integrates with CurrencyAPI.com to provide real-time exchange rates and allows you to apply custom markups for things like fees or profit margins. It supports over 150 currencies and can be used to display adjusted rates on your site through various Drupal components.

CurrencyAPI Module for Drupal

Real-Time Exchange Rates with Custom Markup Capabilities

The CurrencyAPI module seamlessly integrates Drupal with currencyapi.com, providing real-time currency exchange rate data with a unique business advantage: the ability to expose custom exchange rate markups to customers (e.g., for FX fees or profit margins). Ideal for financial services, e-commerce, and multi-currency platforms.

Key Features

  • Earnings via Dynamic Exchange Rate Tables with Custom Markup
    • Apply fixed fees, percentage-based markups, or blended rates to buy/sell prices.
    • Display customer-facing rate tables with your adjusted values (via Views, blocks, or templates).
  • Enterprise-Grade API Integration
    • Fetch real-time or historical rates via currencyapi.com’s REST API (JSON).
    • Supports 150+ currencies with optional crypto/fiat pairs.
  • Automated & Efficient
    • Scheduled rate updates (cron-driven) with configurable intervals.
    • Smart caching to reduce API calls and ensure performance.
  • Flexible Display Options
    • Embed rates anywhere: product pages, checkout flows, or financial dashboards.
    • Customize formatting (decimals, rounding) and currency groupings.
  • No Dependencies
    • Lightweight standalone module, though compatible with Commerce modules.

Use Cases

  • Financial Platforms: Show buy/sell rates with transparent fee structures.
  • E-Commerce: Dynamic pricing with wholesale/retail exchange margins.
  • Travel/Ticketing: Display customer rates inclusive of service fees.

Setup in Minutes

  1. Add your currencyapi.com key (free tier available).
  2. Configure markup rules (flat fees, percentages, or tiered rates).
  3. Select currencies and refresh intervals.

Comparison to Alternatives

Feature CurrencyAPI (this) Currency Commerce Exchanger
Custom Rate Markup ✅ Yes ❌ No ❌ No Real-Time API ✅ Yes ⚠️ Limited ✅ Yes Commerce 2.x Support ✅ Manual ✅ Native ✅ Native

Unique selling point: This module empowers businesses to transparently apply and display exchange rate adjustments—perfect for FX brokers, import/export sites, or multi-currency marketplaces.

Contribute & Sponsor

This project welcomes collaboration! Developers, designers, and financial service providers are encouraged to:

  • Submit PRs for new markup calculation models (e.g., spread-based pricing).
  • Sponsor priority features like Commerce 2.x native integration.

Let’s build the most flexible currency tool for Drupal.

Why Choose This Module?

Unlike alternatives, CurrencyAPI puts you in control of how rates are presented to customers—whether adding a 2% margin for services or flat fees for conversions.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
15
Tracked since
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 15
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.10.13 Stable 10–11 Aug 11, 2025
1.10.12 Stable 10–11 Jul 25, 2025
1.10.11 Stable 10–11 Jul 17, 2025
1.0.10 Stable 10–11 Jul 16, 2025
1.0.9 Stable 10–11 Jul 16, 2025
1.0.8 Stable 10–11 Jul 16, 2025
1.0.7 Stable 10–11 Jul 11, 2025
1.0.6 Stable 10–11 Jun 26, 2025
1.0.5 Stable 10–11 Jun 24, 2025
1.0.4 Stable 10–11 Jun 5, 2025
1.0.3 Stable 10–11 Jun 4, 2025
1.0.2 Stable 10–11 Jun 2, 2025
1.0.1 Stable 10–11 Jun 2, 2025
1.0.0 Stable 11 May 28, 2025
1.0.x-dev Dev 10–11 May 27, 2025