Gold Prices
This API returns gold prices for the requested date.
API Information
URL |
/getGoldPrices |
Method |
POST |
Version |
1.0 |
Scope |
public |
Authorization Flow |
Client Credentials |
Input Information
| Name | Format | Description | Required/Optional |
PriceDate |
yyyy-MM-ddTHH24:mm:ss | Date of gold prices | Required |
Output Information
| Name | Format | Description |
GoldRate |
List< GoldRate > | Gold rate information |
GoldRate
| Name | Format | Description |
RateDate |
yyyy-MM-ddTHH24:mm:ss | Date of gold price |
ProductName |
String | Gold product name |
PurchaseRate |
Decimal | Purchase rate |
SaleRate |
Decimal | Sale rate |
CurrencyCode |
String | Currency code |
Message Codes
| Message Code | Description |
ACBH000023 |
Date format is incorrect. |
ACBH000083 |
Date cannot be grater than today. |
Example
Request:
{
"PriceDate": "2020-08-14T00:00:00+03:00"
}
Response:
{
"Header": {
"StatusCode": "APIGW000000",
"StatusDescription": "Completed",
"ObjectID": "833c0ce6-e0da-43d9-b7c8-de8b538c8c56"
},
"Data": {
"GoldRate": [
{
"RateDate": "2020-08-14T10:54:15",
"CurrencyCode": "TL",
"ProductName": "2 Gr Vakıf Altını",
"SaleRate": "916.44",
"PurchaseRate": "926.44"
},
{
"RateDate": "2020-08-14T10:54:15",
"CurrencyCode": "TL",
"ProductName": "100 Gr Vakıf Altını",
"SaleRate": "45822.0",
"PurchaseRate": "46322.0"
},
{
"RateDate": "2020-08-14T10:54:15",
"CurrencyCode": "TL",
"ProductName": "IAB1Gr Altını",
"SaleRate": "458.18",
"PurchaseRate": "463.33"
},
...
{
"RateDate": "2020-08-14T09:05:12",
"CurrencyCode": "TL",
"ProductName": "IAB1Ons Altını",
"SaleRate": "",
"PurchaseRate": ""
}
]
}
}
-
API URL : https://apigw.vakifbank.com.tr:8443
-
-
-