GET
/
v1
/
doviz
curl --request GET \
  --url https://api.mzrdev.xyz/v1/doviz \
  --header 'Authorization: <api-key>'
{

    "success": true,

    "data": {

        "lastUpdate": 1722706202,

        "USD": {

            "currency": "TRY",

            "buy": "33,1715",

            "sell": "33,2309",

            "stonks": true,

            "oneDayChange": "%0,34"

        },

        "EUR": {

            "currency": "TRY",

            "buy": "36,2490",

            "sell": "36,2864",

            "stonks": true,

            "oneDayChange": "%1,28"

        },

        "GBP": {

            "currency": "TRY",

            "buy": "42,4744",

            "sell": "42,7126",

            "stonks": true,

            "oneDayChange": "%0,77"

        },

        "CHF": {

            "currency": "TRY",

            "buy": "38,6749",

            "sell": "38,7578",

            "stonks": true,

            "oneDayChange": "%2,14"

        },

        "CAD": {

            "currency": "TRY",

            "buy": "23,9158",

            "sell": "23,9446",

            "stonks": true,

            "oneDayChange": "%0,35"

        },

        "RUB": {

            "currency": "TRY",

            "buy": "0,3881",

            "sell": "0,3885",

            "stonks": true,

            "oneDayChange": "%0,40"

        },

        ...

    }

}

Response

success
boolean

Indicates whether the request was successful. A value of true means the request was successful, while false indicates an issue or failure.

data
object

Contains the data related to the latest currency exchange rates in Turkiye, including the timestamp of the last update and various currencies with their buy and sell prices.

Response