/tcmb-exchange-rates-api

TCMB exchange rates API using Express.

Primary LanguageJavaScriptMIT LicenseMIT

🪙 TCMB Exchange Rates API

This API service provides TCMB's exchange rates data.

❗ Notice

If you are having problems, please check the changelog. The source of the problem you are experiencing may be a changed feature.

💡 Example

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;

⌛ Rate Limits & Caching

Default rate limits are set to 100 requests per hour. API requests are cached for 5 minutes by default.

🔗 Installation

Clone Repository

git clone https://github.com/aytacmalkoc/tcmb-exchange-rates-api.git

Install Dependencies

yarn install

Run Development Server

yarn dev

💁 License

MIT license, Copyright (c) Aytac Malkoc. For more information see LICENSE.