Skip to content
TurkishLiraRates

Free live rate widgets

Build your widget

Widget type
Colour theme

Preview

Preview width

Copy the code

Accept the terms of use first to copy the code.

The widget opens at a fixed height, so your page does not shift. A width of at least 300 pixels is recommended; the rate strip spans the full width of the page. The link under the code credits the source; please keep it.

How to add the widget to your site

  1. Above, pick the widget type, currency, language and colour theme; the preview changes at once.
  2. Accept the terms of use and copy the code with «Copy». The script code is recommended; if your site does not allow scripts, use the «iframe only» code.
  3. Paste the code where the widget should appear on your page and publish the page.

Where to paste it, by platform

Good to know

Archive data for Google Sheets and Excel

Pull the dollar, euro, pound, gram of gold and gram of silver archives into your own spreadsheet. Paste the formula into a cell and the sheet fetches the current data each time it opens. For Excel or your own code, use the CSV link.

Step by step in Google Sheets

  1. Open a new sheet (sheets.new) or an empty tab in your own spreadsheet.
  2. Take one of the formulas below with «Copy», paste it into an empty cell and press Enter.
  3. The first time, Google asks you to «Allow access»; click it. The data fills the cells down and to the right.
  4. If your spreadsheet uses a Turkish or Russian locale, replace the commas between the arguments with semicolons (;).

Excel: on the «Data» tab choose «From Web», paste the CSV link and press «Load»; «Refresh All» updates it. Numbers use a dot as the decimal separator.

ArchiveGoogle Sheets formulaCSV
Dollar · yearly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/usd/yearly.csv", ",", "en_US")usd-yearly.csv
Dollar · monthly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/usd/monthly.csv", ",", "en_US")usd-monthly.csv
Euro · yearly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/eur/yearly.csv", ",", "en_US")eur-yearly.csv
Euro · monthly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/eur/monthly.csv", ",", "en_US")eur-monthly.csv
Pound · yearly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/gbp/yearly.csv", ",", "en_US")gbp-yearly.csv
Pound · monthly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/gbp/monthly.csv", ",", "en_US")gbp-monthly.csv
Gram of gold · yearly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/gold/yearly.csv", ",", "en_US")gold-yearly.csv
Gram of gold · monthly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/gold/monthly.csv", ",", "en_US")gold-monthly.csv
Gram of silver · yearly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/silver/yearly.csv", ",", "en_US")silver-yearly.csv
Gram of silver · monthly=IMPORTDATA("https://turkishlirarates.com/data/v1/archive/silver/monthly.csv", ",", "en_US")silver-monthly.csv

On first use Google Sheets asks you to click «Allow access». Free to use; keep the source lines at the bottom of the data (TurkishLiraRates and the data source). Gold and silver values are computed from the World Bank monthly ounce averages (CC BY licence) and the CBRT dollar rate; currency rates are CBRT indicative buying rates. Bank rates are not shared.

Today's CBRT bulletin (tcmb.csv) and the live free-market prices (rates.json) can be pulled the same way. Addresses and samples of the free exchange rate API →

What the columns mean

As an image: for forums, e-mail and Telegram

Where no code runs (forums, e-mail signatures, Telegram channels, Facebook groups), show the current prices as an image: it refreshes every five minutes and a click leads to our page.

Content
Look
Gram, quarter and full gold coin prices in Turkey: TurkishLiraRates
<a href="https://turkishlirarates.com/en/gold/"><img src="https://turkishlirarates.com/i/v1/gold-en-light.png" width="440" height="150" alt="Gram, quarter and full gold coin prices in Turkey: TurkishLiraRates"></a>

Price converter for listings

Shows a price on an estate agent's, tour or hotel site in the visitor's money: next to a listing priced in euros, its lira, pound or ruble amount appears. Rates are the free market's mid rate, the CBRT rate for currencies the market does not quote.

Currencies to show

Preview

€185,000 ≈ TRY 10,274,808 · £155,107 · RUB 16,933,473

<span data-tlr-price="185000" data-from="EUR" data-to="TRY,GBP,RUB" data-lang="en"></span>
<script async src="https://turkishlirarates.com/w/p1.js"></script>
<!-- Once per page: the source link -->
<a href="https://turkishlirarates.com/">Rates: TurkishLiraRates</a>

Terms of use