Precious Metal Prices
This API returns precious metal price for demanded date.
API Information
URL |
/preciousMetalPrices |
Method |
POST |
Version |
1.0 |
Scope |
public |
Authorization Flow |
Client Credentials |
Input Information
| Name | Format | Description | Required/Optional |
PriceDate |
yyyy-MM-ddTHH24:mm:ss | Metal price date | Required |
Output Information
List< Prices >
| Name | Format | Description |
PriceDate |
yyyy-MM-ddTHH24:mm:ss | Metal price date |
PurchaseRate |
Decimal | Purchase rate |
SaleRate |
Decimal | Sale rate |
CurrencyCode |
String | Currency code |
ISIN |
String |
International Securities Identification Number Silver: MDNGMS1GR1000 Ounce Gold: MDNALTIAB1ONS1000 |
Message Codes
| Message Code | Description |
ACBH000023 |
Date format is incorrect. |
ACBH000083 |
Date cannot be grater than today. |
Example
Request:
{
"PriceDate": "2021-08-18T00:00:00+03:00"
}
Response:
{
"Header": {
"StatusCode": "APIGW000000",
"StatusDescription": "Tamamlandı",
"StatusDescriptionEn": "Completed",
"ObjectID": "81060920-65a7-40d6-821e-fa5e14e4e940"
},
"Data": {
"Prices": [
{
"CurrencyCode": "TL",
"PriceDate": "2021-08-18T00:00:00+03:00",
"SaleRate": "15172.66",
"ISIN": "MDNALTIAB1ONS1000",
"PurchaseRate": "15172.66"
},
{
"CurrencyCode": "TL",
"PriceDate": "2021-08-18T00:00:00+03:00",
"SaleRate": "6.45415",
"ISIN": "MDNGMS1GR1000",
"PurchaseRate": "6.50415"
}
]
}
}
-
API URL : https://apigw.vakifbank.com.tr:8443
-
-
-