This API service provides TCMB's exchange rates data.
If you are having problems, please check the changelog. The source of the problem you are experiencing may be a changed feature.
const axios = require("axios");
const API_URL = "https://tcmb-exchange-rates-api.vercel.app/exchange-rates";
const { data } = await axios.get(API_URL);
const { usd, eur, sek } = data.exchangeRates;
Default rate limits are set to 100
requests per hour. API requests are cached for 5 minutes
by default.
git clone https://github.com/aytacmalkoc/tcmb-exchange-rates-api.git
yarn install
yarn dev
MIT license, Copyright (c) Aytac Malkoc. For more information see LICENSE.