Gold Prices

This API returns gold prices for the requested date.

API Information

URL

/getGoldPrices

Method

POST

Version

1.0

Scope

Information Services

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

PriceDate

yyyy-MM-ddTHH24:mm:ss Date of gold price Required


Output Information

Name Format Description

RateDate

yyyy-MM-ddTHH24:mm:ss Date of gold price

ProductName

String Gold product name

BuyRate

Decimal Purchase rate

SellRate

Decimal Sale rate

Example

Request:

{
    "PriceDate": "2020-01-15T00:00:00+03:00"
}

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "472f4164-b40a-4d3b-9238-a5c6e6f3169d"
    },
    "Data": {
        "GoldRate": [
            {
                "RateDate": "2020-01-15T14:59:47",
                "ProductName": "2 Gr Vakıf Altını",
                "BuyRate": "588.9",
                "SellRate": "584.5"
            },
            {
                "RateDate": "2020-01-15T14:59:47",
                "ProductName": "50 Gr Vakıf Altını",
                "BuyRate": "14722.5",
                "SellRate": "14612.5"
            },
            {
                "RateDate": "2020-01-15T14:59:47",
                "ProductName": "Osmanlı Altını",
                "BuyRate": "9157.4",
                "SellRate": "9088.98"
            },
            ...
        ]
    }
}