Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Currency API

15 sites Security covered
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.

Activity

Total releases
15
First release
May 2025
Latest release
11 months ago
Releases (12 mo)
2 ▼ from 13
Maintenance
Slowing

Release Timeline

Releases

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