Exchange Rates
Exchange Rates API allows you to get current and historical exchange rates.
Parameters
Name | Type | Description |
date |
string | A specific rate date. In the format yyyy-MM-dd. |
currencyCode |
string | Currency code. (Example : 001, 002, 003) |
Data Returned
Data is returned as JSON as specified by the dataFormat parameter.
Regardless of format, the data contains the following fields:
Name | Type | Description |
sellPrice |
string | Selling rate of exchange |
buyPrice |
string | Buying rate of exchange |
usdCrossRate |
string | USD Cross Rate |
parity |
string | Parity |
currencyCode |
string | Currency Code(Numerical) |
banknoteBuying |
string | Banknote Buying |
currencyCodeAlpha |
string | Currency Code(Alpha-3) |
banknoteSelling |
string | Banknote Selling |
unit |
string | Unit (Y:100, B:1) |
Examples
Request:
GET https://apigate.akbank.com/api/mock/ExchangeRatesApi/001
Response:
{
"resultCode": "00",
"resultMessage": "OK".
"data":
{
"sellPrice": 2.9044000,
"buyPrice": 2.8855000,
"usdCrossRate": 1.00000,
"parity": D,
"currencyCode": "001",
"banknoteBuying": 2.8999000,
"currencyCodeAlpha": "USD",
"banknoteSelling": 2.9044000,
"unit": B
}
}
-
API URL : https://apigate.akbank.com/api/mock
-
-
-