Blog Content
February 9, 2026

What is the Shopify Central Bank Currency and Gold Module? How to Use It?

The Shopify Central Bank currency and gold module lets you automatically integrate the Central Bank's published exchange rates and gold prices into your Shopify store.

The Shopify Central Bank currency and gold module pulls TCMB's published exchange rates and the gram gold price from a market data provider and updates product prices with your formula. It works in three stages: data is pulled from the XML source hourly or daily, a multiplier such as "Gram gold x 1.10" is applied, and the prices are written through the Shopify Admin API. You can use a ready-made app or custom software.

The Shopify Central Bank currency and gold module is a dedicated system that automatically brings the exchange rates published by the Central Bank of the Republic of Turkey (TCMB) and gold prices from a market data provider into your Shopify store. It is especially useful for e-commerce sites that trade in foreign currency or sell gold-based products. With this system, prices update automatically every day and no manual work is needed. You save time and avoid pricing errors at the same time.

XML block with buying and selling exchange rates for the US dollar in the TCMB today.xml output

Modules of this kind pull the exchange rate from TCMB's XML data source and the gold price from the API of a market data provider such as AltınAPI, and feed them into the store. Shopify does not offer a direct exchange rate integration specific to Turkey, so this is usually done through custom software or third-party systems. For stores that sell in foreign currency in particular, this setup brings clear benefits in price stability and operational efficiency.

Why does Shopify need a currency and gold module?

Exchange rates and gold prices change frequently in Turkey, so fixed pricing is not enough in many sectors. Importers and gold retailers in particular are directly affected by rate changes. If your Shopify store prices products in foreign currency or gold, updating prices by hand every day is both time-consuming and error-prone.

This is where an automated pricing system comes in. The module pulls current data at set intervals and recalculates product prices using the ratios you define. For example, a formula such as gram gold x 1.05 can be applied. That way you protect your profit margin and your prices never go stale. Knowing that prices are based on a current source also builds customer trust. It shortens processing times and speeds up sales.

How can you integrate Central Bank data with Shopify?

TCMB publishes daily exchange rates openly in XML format, and this data can be accessed systematically. The gram gold price, however, is not included in TCMB's exchange rate files; it comes from a separate market data provider. There are two main ways to build automation on this data in your Shopify store: ready-made integration apps or custom software development.

Shopify App Store page of the Goldus app, which prices products indexed to TCMB exchange and gold rates

The Shopify App Store has some apps for this purpose, but comprehensive solutions built for Turkey are limited; the Shopify Currency and Gold App developed by Nodus Works fills this gap with a ready-made solution based on TCMB data. When a fully customized system is needed instead of a ready-made app, most store owners turn to custom software development; our Shopify integration solutions and custom app development service also covers TCMB-based pricing systems like these. A common approach is middleware software running on a server or cloud platform. This system pulls data from the TCMB XML feed, runs formula-based calculations and updates product prices through the Shopify GraphQL Admin API.

Comparison Criterion Ready-Made App Custom Software Development
Setup Time Short; installs instantly from the App Store. Can take days or weeks depending on project scope.
Customization Limited; depends only on the settings the app offers. Fully customizable; product-level formulas, conditional rules and more can be defined.
ERP / Accounting Integration Usually not supported. Flexible; can be added specifically as needed.
Cost Structure Monthly / annual subscription fee Project-based development cost + periodic maintenance

For more advanced scenarios, tools such as metafields and Shopify Functions can also be used. With this setup, product prices are set in the background by technical formulas, while the storefront shows them converted at the current rate. The process requires technical knowledge but offers a high degree of flexibility and automation.

How do you set up a Shopify currency and gold module?

Setup usually has three main stages: fetching the data, processing it and syncing it with the store. In the first stage, the software regularly pulls TCMB's current exchange rate data from the XML source and the gram gold price from the market data provider's API. This fetching can run hourly or daily on automated schedulers (cron jobs).

TCMB data source, USD and gram gold rates and automatic update interval in Goldus settings

In the second stage, the data is converted using the calculation formulas you define. For example, ratios such as "USD rate x 1.08" or "Gram gold x 1.10" are applied. You can use a different multiplier for each product, which gives you product-level flexibility. To index product prices to TCMB exchange rates and gold prices automatically, you can use the Goldus pricing app we developed.

Product Type Example Formula
Currency-Based Product USD rate × 1.08 (profit margin multiplier)
Gold-Based Product (General) Gram gold × 1.10
Gold-Based Product (By Weight) 5 g bracelet = Gram gold × 5 × 1.08

In the final stage, prices are pushed to the store through Shopify's API. If you would rather show prices calculated at a different rate on the storefront instead of changing them directly, your theme can be customized for this with Liquid code and metafields. If you lack the technical knowledge, Shopify developers or specialist agencies can handle this work easily.

How do you manage the impact of exchange rates and gold prices on store prices?

By default, Shopify uses fixed pricing. In markets exposed to financial volatility, such as Turkey, a fixed pricing system can be risky for businesses. That is why dynamic pricing has become unavoidable. Modules that update prices automatically with the current exchange rate from the Central Bank and the gold price from a market source remove this risk.

There are, however, strategic points to watch when using dynamic pricing like this. For example, updating prices every hour can cause user experience problems. If the price has changed by the time a customer adds a product to the cart and moves on to checkout, it can hurt the purchase decision. That is why it matters to add mechanisms such as a "price lock period".

The storefront should also state clearly which source the displayed price is based on. Example: "Prices are calculated based on the TCMB USD buying rate." Notes like this increase trust. When rate swings cause sudden price increases, you can use campaigns, a loyalty program or a fixed rate for a set period to avoid losing customers. That way you keep customers satisfied and price your products without putting your profit at risk.

How do you update exchange rates in real time on Shopify?

Shopify does not connect directly to TCMB data, so real-time rate updates have to be handled by external systems. This is usually done by automated software. These systems fetch TCMB exchange rate data at set intervals (for example, every hour) and recalculate and update the prices in your store.

The most common method for this is automatically triggered tasks (cron jobs). The software fetches TCMB's XML data, applies the defined rate formulas and updates product prices through the Shopify GraphQL Admin API. If you would rather keep fixed prices and only show currency-based prices on the storefront, you can also update the displayed prices visually with conversion code in your Liquid theme.

Those who want a more advanced system can pull real-time data from dedicated financial API providers (for example, Fixer.io, CurrencyLayer). This matters for businesses in currency-driven sectors that need to update prices within minutes. With real-time updates, the thing to watch is the balance between update frequency, API limits, Shopify's price update limits and user experience.

How do you offer multiple currencies on Shopify?

On Shopify, collecting payment in local currencies is only possible with Shopify Payments or Adyen. Since Shopify Payments is not available in Turkey, Markets can display storefront prices in different currencies, but at checkout the amount is converted to the store's default currency and charged in it. This gap can, however, be closed with third-party apps or custom theme development. For more detail, see our guide to multi-currency transactions.

Apps in the Shopify App Store such as Currency Converter Plus or BEST Currency Converter automatically convert the storefront price into a currency based on the visitor's IP address. Because these apps cannot touch the checkout step, only the price shown on the storefront changes; payment is still taken in the store's main currency (usually Turkish lira).

Alternatively, Liquid code placed in the theme can show each product's price in a different currency. This lets the storefront offer currency equivalents with options such as "TRY, USD, EUR". The fixed price still applies at checkout, though. Shopify Plus users can get past these limits with more advanced currency solutions and custom payment gateway integrations.

How do you sell products priced on gold on Shopify?

For e-commerce stores selling gold-based products (for example, jewellers or companies offering investment products), the biggest need on Shopify is dynamic pricing based on the current gram gold price. Shopify does not offer a ready-made solution for this, but the system can be set up easily with custom integrations.

Shopify product price calculated from gold grams, karat, labor and VAT on the Goldus product prices screen

The most common method works like this: the current gram gold price is fetched from a market data provider such as AltınAPI (TCMB's XML files do not include a gram gold price), then the selling price is calculated from the product's weight and the profit margin. Example formula: 5 g bracelet = gram gold x 5 x 1.08. An automated script runs this calculation and the product prices are updated through the Shopify API.

Alternatively, product prices can be left fixed while the storefront shows a price multiplied by gram gold. However, this can cause confusion because the customer will see the fixed price at checkout. That is why systems that update prices in real time in the background are the safer choice and give a better user experience.

How do you integrate the Central Bank API with Shopify?

The Central Bank of the Republic of Turkey publishes exchange rates openly in XML format; this file does not include gold prices. The gold line in TCMB's hourly rate files (rediscount rates) has also been missing since the second half of January 2026. The most widely used data sources are:

Exchange rates: https://www.tcmb.gov.tr/kurlar/today.xml

Gram gold: a market data provider such as AltınAPI (altinapi.com; provides gram, quarter coin and 24-karat gold prices in real time over REST or WebSocket with an API key)

To integrate this data with Shopify, you first set up a middleware system. This software fetches the XML data at set intervals and converts it to JSON. The USD buying rate is then taken from the XML and the gram gold price from the gold API, and both are processed with predefined calculation formulas.

Next, the price fields of the relevant products are updated through Shopify's REST Admin API or GraphQL API. The store owner's access tokens are used for this. To run the process on a regular basis, you can set up a cron job or a webhook system.

The integration is technically feasible and sustainable, but it takes expertise in security measures, API limits and data accuracy. Set up correctly, this turns the Shopify Central Bank currency and gold module into a fully automated, reliable price management system with a legal basis.

Conclusion

Whether you start with a ready-made app or build a custom system based on TCMB data depends on your store's volume and product range. If you would like to assess which approach suits your store better, you can get in touch with Nodus Works.