GET rates/latest

Return today's currencies rates Rest API

Resource URL

https://v2.api.forex/historics/{date}.json

Return today's currencies rates Rest API

{format}TypeOptionalDescription
{source}stringOptionalDefine the currency source.
Default api forex mixed source.
List of sources Html or Json
https://v2.api.forex/historics/2018-10-24.json?source=boc&key=demo
{beautify}stringOptionalFormats the JSON files with the chosen indentation level for optimal readability.
https://v2.api.forex/historics/2018-10-24.json?beautify=true
{from}stringRequiredDefine the currency source. Default base_currency of the selected source.
Html.Raw(Transl.Api.Documentation.RequiredIfIp)
https://v2.api.forex/historics/2018-10-24.json?from=EUR&key=demo
{to}stringOptionalSeparated by comma EUR,USD,THB
Html.Raw(Transl.Api.Documentation.WeUseKey)
https://v2.api.forex/historics/2018-10-24.json?to=EUR,USD,THB&key=demo

Parameters

{format}typedecription
{infos}int

Returns informations about the API request

ParametersDescription
timestampHtml.Raw(Transl.Api.Documentation.NoAdjustment)
fromThe three-letter currency code of the currency you would like to convert from.
toThe three-letter currency code of the currency you would like to convert to.
source

Html.Raw(Transl.Api.Documentation.HigerLatDescription)

ParametersDescription
idThe unique Id for the historic source. List of sources Html or Json
nameThe name of the currencies sources
base_currencyThe base currency used to calculate the currency rates historic
countryCountry
source

Request API usages

Information about the source used for your requestDescription
api_countInteger showing the total of quotes of your request
packThe pack you are using Free, Bronze, Silver, Gold
historicsdate

The date (yyyy-mm-dd) of the given exchange rate data was collected.

ParametersDescription
openOpening prices for the specific time frame
highHighest prices for the specific time frame
lowLowest prices for the specific time frame
closeClosing prices for the specific time frame
dateThe date (format unix format) of the given exchange rate data was collected.

Example Request

https://v2.api.forex/historics/2018-10-24.json?beautify=true&key=demo

Example Result

{
  "success": true,
  "infos": {
    "date": "2018-10-24",
    "timestamp": "2020-10-31T13:55:13Z",
    "expire": "2020-10-31T13:56:13Z",
    "from": "USD",
    "converted": false,
    "source": {
      "id": "apiforex",
      "name": "Api Forex",
      "base_currency": "USD",
      "country": "World"
    },
    "terms": {
      "privacy": "https://api.forex/privacy",
      "legacy": "https://api.forex/terms"
    },
    "usage": {
      "api_count": 170,
      "pack": "Gold"
    }
  },
  "rates_histo": {
    "AED": {
      "open": 3.6727,
      "low": 3.6725,
      "high": 3.6729,
      "close": 3.6727
    },
    "AFN": {
      "open": 75.589996,
      "low": 75.300003,
      "high": 75.589996,
      "close": 75.300003
    },
    "ALL": {
      "open": 109.0,
      "low": 109.0,
      "high": 109.0,
      "close": 109.0
    },
    "AMD": {
      "open": 484.170013,
      "low": 484.170013,
      "high": 484.170013,
      "close": 484.170013
    },
    "ANG": {
      "open": 1.785,
      "low": 1.78,
      "high": 1.785,
      "close": 1.78
    },
    "AOA": {
      "open": 305.90799,
      "low": 305.90799,
      "high": 305.90799,
      "close": 305.90799
    },
    "ARS": {
      "open": 36.550999,
      "low": 36.549999,
      "high": 36.550999,
      "close": 36.550999
    },
    "AUD": {
      "open": 1.4109,
      "low": 1.4089,
      "high": 1.4121,
      "close": 1.4099
    },
    "AWG": {
      "open": 1.78,
      "low": 1.78,
      "high": 1.78,
      "close": 1.78
    },
    "AZN": {
      "open": 1.6995,
      "low": 1.6995,
      "high": 1.6995,
      "close": 1.6995
    },
    "BAM": {
      "open": 1.7073,
      "low": 1.7068,
      "high": 1.7078,
      "close": 1.7072
    },
    "BBD": {
      "open": 2.0,
      "low": 2.0,
      "high": 2.0,
      "close": 2.0
    },
    "BDT": {
      "open": 83.760002,
      "low": 83.760002,
      "high": 84.940002,
      "close": 83.830002
    },
    "BGN": {
      "open": 1.7173,
      "low": 1.7173,
      "high": 1.7173,
      "close": 1.7173
    },
    "BHD": {
      "open": 0.3768,
      "low": 0.3768,
      "high": 0.377,
      "close": 0.377
    },
    "BIF": {
      "open": 1750.97998,
      "low": 1750.97998,
      "high": 1761.0,
      "close": 1761.0
    },
    "BMD": {
      "open": 1.0,
      "low": 1.0,
      "high": 1.0,
      "close": 1.0
    },
    "BND": {
      "open": 1.3779,
      "low": 1.3766,
      "high": 1.3786,
      "close": 1.378
    },
    "BOB": {
      "open": 6.86,
      "low": 6.85,
      "high": 6.86,
      "close": 6.85
    },
    "BRL": {
      "open": 3.6944,
      "low": 3.6942,
      "high": 3.6944,
      "close": 3.6944
    },
    "BRX": {
      "open": 3.7054,
      "low": 3.7054,
      "high": 3.7054,
      "close": 3.7054
    },
    "BSD": {
      "open": 1.0,
      "low": 0.98,
      "high": 1.0,
      "close": 0.98
    },
    "BTC": {
      "open": 0.000156,
      "low": 0.000156,
      "high": 0.000156,
      "close": 0.000156
    },
    "BTN": {
      "open": 73.525002,
      "low": 73.525002,
      "high": 73.525002,
      "close": 73.525002
    },
    "BWP": {
      "open": 10.6674,
      "low": 10.6674,
      "high": 10.6674,
      "close": 10.6674
    },
    "BYN": {
      "open": 2.13,
      "low": 2.13,
      "high": 2.13,
      "close": 2.13
    },
    "BZD": {
      "open": 1.9978,
      "low": 1.9978,
      "high": 1.9978,
      "close": 1.9978
    },
    "CAD": {
      "open": 1.30856,
      "low": 1.3073,
      "high": 1.3088,
      "close": 1.30784
    },
    "CDF": {
      "open": 1565.5,
      "low": 1565.5,
      "high": 1565.5,
      "close": 1565.5
    },
    "CHF": {
      "open": 0.99495,
      "low": 0.9941,
      "high": 0.99531,
      "close": 0.99528
    },
    "CLF": {
      "open": 0.02463,
      "low": 0.02463,
      "high": 0.02463,
      "close": 0.02463
    },
    "CLP": {
      "open": 681.900024,
      "low": 681.900024,
      "high": 681.900024,
      "close": 681.900024
    },
    "CNH": {
      "open": 6.9387,
      "low": 6.9335,
      "high": 6.9431,
      "close": 6.9396
    },
    "CNY": {
      "open": 6.9372,
      "low": 6.9372,
      "high": 6.9373,
      "close": 6.9373
    },
    "COP": {
      "open": 3118.0,
      "low": 3117.0,
      "high": 3118.0,
      "close": 3118.0
    },
    "CRC": {
      "open": 589.25,
      "low": 589.25,
      "high": 591.849976,
      "close": 591.849976
    },
    "CUP": {
      "open": 1.0,
      "low": 1.0,
      "high": 1.0,
      "close": 1.0
    },
    "CVE": {
      "open": 95.18,
      "low": 95.18,
      "high": 96.699997,
      "close": 96.699997
    },
    "CZK": {
      "open": 22.4589,
      "low": 22.438999,
      "high": 22.476,
      "close": 22.464001
    },
    "DJF": {
      "open": 177.5,
      "low": 177.300003,
      "high": 177.550003,
      "close": 177.550003
    },
    "DKK": {
      "open": 6.50178,
      "low": 6.4992,
      "high": 6.50558,
      "close": 6.50347
    },
    "DOP": {
      "open": 49.950001,
      "low": 49.889999,
      "high": 49.950001,
      "close": 49.950001
    },
    "DZD": {
      "open": 118.605003,
      "low": 118.382004,
      "high": 118.704002,
      "close": 118.398003
    },
    "EGP": {
      "open": 17.870001,
      "low": 17.780001,
      "high": 17.9575,
      "close": 17.9
    },
    "ERN": {
      "open": 15.04,
      "low": 14.99,
      "high": 15.04,
      "close": 14.99
    },
    "ETB": {
      "open": 27.667999,
      "low": 27.610001,
      "high": 27.667999,
      "close": 27.610001
    },
    "ETH": {
      "open": 0.004996,
      "low": 0.004954,
      "high": 0.00505,
      "close": 0.004965
    },
    "EUR": {
      "open": 0.8715,
      "low": 0.871,
      "high": 0.8717,
      "close": 0.8715
    },
    "FJD": {
      "open": 2.1295,
      "low": 2.1295,
      "high": 2.1295,
      "close": 2.1295
    },
    "FKP": {
      "open": 0.7696,
      "low": 0.7696,
      "high": 0.7696,
      "close": 0.7696
    },
    "GBP": {
      "open": 0.77003,
      "low": 0.76994,
      "high": 0.77056,
      "close": 0.7701
    },
    "GEL": {
      "open": 2.6929,
      "low": 2.6929,
      "high": 2.6929,
      "close": 2.6929
    },
    "GHS": {
      "open": 4.8155,
      "low": 4.7819,
      "high": 4.84,
      "close": 4.84
    },
    "GIP": {
      "open": 0.7699,
      "low": 0.7699,
      "high": 0.7699,
      "close": 0.7699
    },
    "GMD": {
      "open": 49.049999,
      "low": 49.049999,
      "high": 49.049999,
      "close": 49.049999
    },
    "GNF": {
      "open": 9005.0,
      "low": 9005.0,
      "high": 9011.0,
      "close": 9011.0
    },
    "GTQ": {
      "open": 7.714,
      "low": 7.714,
      "high": 7.714,
      "close": 7.714
    },
    "GYD": {
      "open": 206.889999,
      "low": 206.470001,
      "high": 206.889999,
      "close": 206.470001
    },
    "HKD": {
      "open": 7.83815,
      "low": 7.8369,
      "high": 7.83948,
      "close": 7.8392
    },
    "HNL": {
      "open": 24.028999,
      "low": 24.017,
      "high": 24.028999,
      "close": 24.017
    },
    "HRK": {
      "open": 6.4692,
      "low": 6.4593,
      "high": 6.4714,
      "close": 6.47
    },
    "HTG": {
      "open": 70.540001,
      "low": 70.540001,
      "high": 70.599998,
      "close": 70.599998
    },
    "HUF": {
      "open": 281.339996,
      "low": 280.799988,
      "high": 281.519989,
      "close": 281.160004
    },
    "HUX": {
      "open": 282.910004,
      "low": 282.910004,
      "high": 282.910004,
      "close": 282.910004
    },
    "IDR": {
      "open": 15200.0,
      "low": 15175.0,
      "high": 15200.0,
      "close": 15180.0
    },
    "ILS": {
      "open": 3.668,
      "low": 3.667,
      "high": 3.6711,
      "close": 3.6711
    },
    "INR": {
      "open": 73.150002,
      "low": 73.129997,
      "high": 73.332001,
      "close": 73.264999
    },
    "IQD": {
      "open": 1189.0,
      "low": 1189.0,
      "high": 1189.0,
      "close": 1189.0
    },
    "IRR": {
      "open": 42000.0,
      "low": 42000.0,
      "high": 42000.0,
      "close": 42000.0
    },
    "ISK": {
      "open": 119.290001,
      "low": 119.290001,
      "high": 120.199997,
      "close": 120.199997
    },
    "JMD": {
      "open": 129.009995,
      "low": 128.949997,
      "high": 129.309998,
      "close": 128.949997
    },
    "JOD": {
      "open": 0.7085,
      "low": 0.7075,
      "high": 0.7085,
      "close": 0.7085
    },
    "JPY": {
      "open": 112.404999,
      "low": 112.32,
      "high": 112.486,
      "close": 112.417999
    },
    "KES": {
      "open": 100.900002,
      "low": 100.849998,
      "high": 100.949997,
      "close": 100.949997
    },
    "KGS": {
      "open": 69.249397,
      "low": 69.249397,
      "high": 69.249397,
      "close": 69.249397
    },
    "KHR": {
      "open": 4051.0,
      "low": 4035.5,
      "high": 4051.0,
      "close": 4035.5
    },
    "KMF": {
      "open": 424.01001,
      "low": 424.01001,
      "high": 424.019989,
      "close": 424.019989
    },
    "KPW": {
      "open": 900.0,
      "low": 900.0,
      "high": 900.0,
      "close": 900.0
    },
    "KRW": {
      "open": 1135.77002,
      "low": 1132.300049,
      "high": 1136.300049,
      "close": 1133.839966
    },
    "KWD": {
      "open": 0.3031,
      "low": 0.3031,
      "high": 0.3035,
      "close": 0.3034
    },
    "KYD": {
      "open": 0.82,
      "low": 0.82,
      "high": 0.82,
      "close": 0.82
    },
    "KZT": {
      "open": 362.869995,
      "low": 362.869995,
      "high": 366.570007,
      "close": 365.670013
    },
    "LAK": {
      "open": 8518.0,
      "low": 8492.0,
      "high": 8520.0,
      "close": 8492.0
    },
    "LBP": {
      "open": 1505.699951,
      "low": 1505.699951,
      "high": 1508.0,
      "close": 1508.0
    },
    "LKR": {
      "open": 172.399994,
      "low": 172.399994,
      "high": 172.649994,
      "close": 172.399994
    },
    "LRD": {
      "open": 156.589996,
      "low": 156.589996,
      "high": 156.690002,
      "close": 156.690002
    },
    "LSL": {
      "open": 14.48,
      "low": 14.48,
      "high": 14.48,
      "close": 14.48
    },
    "LTC": {
      "open": 0.019339,
      "low": 0.019099,
      "high": 0.019451,
      "close": 0.019164
    },
    "LYD": {
      "open": 1.3832,
      "low": 1.3832,
      "high": 1.3833,
      "close": 1.3833
    },
    "MAD": {
      "open": 9.4875,
      "low": 9.478,
      "high": 9.4929,
      "close": 9.4832
    },
    "MDL": {
      "open": 17.01,
      "low": 17.01,
      "high": 17.035,
      "close": 17.035
    },
    "MGA": {
      "open": 3476.699951,
      "low": 3445.0,
      "high": 3479.300049,
      "close": 3445.0
    },
    "MKD": {
      "open": 53.380001,
      "low": 53.380001,
      "high": 53.470001,
      "close": 53.419998
    },
    "MMK": {
      "open": 1579.0,
      "low": 1579.0,
      "high": 1579.0,
      "close": 1579.0
    },
    "MNT": {
      "open": 2538.0,
      "low": 2538.0,
      "high": 2558.669922,
      "close": 2552.0
    },
    "MOP": {
      "open": 8.0731,
      "low": 8.0722,
      "high": 8.0743,
      "close": 8.0741
    },
    "MRO": {
      "open": 355.0,
      "low": 355.0,
      "high": 355.0,
      "close": 355.0
    },
    "MRU": {
      "open": 35.599998,
      "low": 35.599998,
      "high": 35.599998,
      "close": 35.599998
    },
    "MUR": {
      "open": 34.5,
      "low": 33.139999,
      "high": 34.549999,
      "close": 33.709999
    },
    "MVR": {
      "open": 15.57,
      "low": 15.55,
      "high": 15.57,
      "close": 15.57
    },
    "MWK": {
      "open": 719.859985,
      "low": 718.0,
      "high": 719.859985,
      "close": 718.0
    },
    "MXN": {
      "open": 19.2824,
      "low": 19.277,
      "high": 19.298901,
      "close": 19.288
    },
    "MXV": {
      "open": 3.158511,
      "low": 3.158395,
      "high": 3.176822,
      "close": 3.175001
    },
    "MYR": {
      "open": 4.1615,
      "low": 4.16,
      "high": 4.1637,
      "close": 4.1637
    },
    "MZN": {
      "open": 59.990002,
      "low": 59.990002,
      "high": 60.549999,
      "close": 60.549999
    },
    "NAD": {
      "open": 14.232,
      "low": 14.225,
      "high": 14.255,
      "close": 14.252
    },
    "NGN": {
      "open": 360.0,
      "low": 360.0,
      "high": 360.0,
      "close": 360.0
    },
    "NIO": {
      "open": 32.037399,
      "low": 32.037399,
      "high": 32.037399,
      "close": 32.037399
    },
    "NOK": {
      "open": 8.2904,
      "low": 8.2811,
      "high": 8.29434,
      "close": 8.28935
    },
    "NPR": {
      "open": 117.582298,
      "low": 116.849998,
      "high": 117.582298,
      "close": 117.410004
    },
    "NZD": {
      "open": 1.5258,
      "low": 1.5249,
      "high": 1.5271,
      "close": 1.5257
    },
    "OMR": {
      "open": 0.3848,
      "low": 0.3846,
      "high": 0.3849,
      "close": 0.3848
    },
    "PAB": {
      "open": 1.0,
      "low": 1.0,
      "high": 1.0,
      "close": 1.0
    },
    "PEN": {
      "open": 3.3307,
      "low": 3.3307,
      "high": 3.3345,
      "close": 3.3345
    },
    "PGK": {
      "open": 3.3532,
      "low": 3.3532,
      "high": 3.3532,
      "close": 3.3532
    },
    "PHP": {
      "open": 53.700001,
      "low": 53.700001,
      "high": 53.849998,
      "close": 53.849998
    },
    "PKR": {
      "open": 133.729996,
      "low": 132.199997,
      "high": 133.729996,
      "close": 132.199997
    },
    "PLN": {
      "open": 3.742,
      "low": 3.7416,
      "high": 3.7466,
      "close": 3.7446
    },
    "PYG": {
      "open": 5978.0,
      "low": 5941.799805,
      "high": 5990.200195,
      "close": 5952.899902
    },
    "QAR": {
      "open": 3.6406,
      "low": 3.6398,
      "high": 3.6413,
      "close": 3.6406
    },
    "RON": {
      "open": 4.063,
      "low": 4.0599,
      "high": 4.0649,
      "close": 4.0633
    },
    "RSD": {
      "open": 103.097198,
      "low": 103.097198,
      "high": 103.097198,
      "close": 103.097198
    },
    "RUB": {
      "open": 65.542397,
      "low": 65.433502,
      "high": 65.848701,
      "close": 65.680298
    },
    "RWF": {
      "open": 862.429993,
      "low": 862.429993,
      "high": 862.429993,
      "close": 862.429993
    },
    "SAR": {
      "open": 3.7516,
      "low": 3.751,
      "high": 3.7516,
      "close": 3.7513
    },
    "SBD": {
      "open": 8.1574,
      "low": 8.1574,
      "high": 8.1574,
      "close": 8.1574
    },
    "SCR": {
      "open": 13.485,
      "low": 13.3,
      "high": 13.51,
      "close": 13.51
    },
    "SDG": {
      "open": 47.000198,
      "low": 46.9902,
      "high": 47.000198,
      "close": 46.9902
    },
    "SEK": {
      "open": 9.02055,
      "low": 9.01849,
      "high": 9.0265,
      "close": 9.02283
    },
    "SGD": {
      "open": 1.37808,
      "low": 1.3768,
      "high": 1.37885,
      "close": 1.37818
    },
    "SHP": {
      "open": 0.7699,
      "low": 0.7699,
      "high": 0.7699,
      "close": 0.7699
    },
    "SLL": {
      "open": 8460.0,
      "low": 8460.0,
      "high": 8545.0,
      "close": 8545.0
    },
    "SOS": {
      "open": 571.0,
      "low": 571.0,
      "high": 571.0,
      "close": 571.0
    },
    "SRD": {
      "open": 7.4,
      "low": 7.4,
      "high": 7.43,
      "close": 7.43
    },
    "STD": {
      "open": 21356.300781,
      "low": 21350.800781,
      "high": 21367.5,
      "close": 21358.199219
    },
    "STN": {
      "open": 21.4,
      "low": 21.4,
      "high": 21.4,
      "close": 21.4
    },
    "SVC": {
      "open": 8.75,
      "low": 8.75,
      "high": 8.75,
      "close": 8.75
    },
    "SYP": {
      "open": 514.97998,
      "low": 514.97998,
      "high": 514.97998,
      "close": 514.97998
    },
    "SZL": {
      "open": 14.2183,
      "low": 14.1993,
      "high": 14.2573,
      "close": 14.238
    },
    "THB": {
      "open": 32.82,
      "low": 32.754002,
      "high": 32.860001,
      "close": 32.810001
    },
    "TJS": {
      "open": 9.4177,
      "low": 9.4177,
      "high": 9.4177,
      "close": 9.4177
    },
    "TMT": {
      "open": 3.41,
      "low": 3.41,
      "high": 3.41,
      "close": 3.41
    },
    "TND": {
      "open": 2.8421,
      "low": 2.84,
      "high": 2.8459,
      "close": 2.8426
    },
    "TOP": {
      "open": 2.3444,
      "low": 2.3444,
      "high": 2.3444,
      "close": 2.3444
    },
    "TRY": {
      "open": 5.7404,
      "low": 5.723,
      "high": 5.763,
      "close": 5.7582
    },
    "TTD": {
      "open": 6.752,
      "low": 6.752,
      "high": 6.752,
      "close": 6.752
    },
    "TWD": {
      "open": 30.944,
      "low": 30.921,
      "high": 30.952,
      "close": 30.931
    },
    "TZS": {
      "open": 2291.0,
      "low": 2283.0,
      "high": 2291.0,
      "close": 2284.0
    },
    "UAH": {
      "open": 28.131001,
      "low": 28.129999,
      "high": 28.15,
      "close": 28.15
    },
    "UGX": {
      "open": 3785.5,
      "low": 3785.5,
      "high": 3785.5,
      "close": 3785.5
    },
    "USD": {
      "open": 1.0,
      "low": 1.0,
      "high": 1.0,
      "close": 1.0
    },
    "UYU": {
      "open": 32.959999,
      "low": 32.959999,
      "high": 32.959999,
      "close": 32.959999
    },
    "UZS": {
      "open": 8185.0,
      "low": 8185.0,
      "high": 8185.0,
      "close": 8185.0
    },
    "VEF": {
      "open": 248208.0,
      "low": 248208.0,
      "high": 248208.0,
      "close": 248208.0
    },
    "VND": {
      "open": 23343.0,
      "low": 23343.0,
      "high": 23345.0,
      "close": 23345.0
    },
    "VUV": {
      "open": 113.470001,
      "low": 111.669998,
      "high": 113.5,
      "close": 111.669998
    },
    "WST": {
      "open": 2.6663,
      "low": 2.6663,
      "high": 2.6663,
      "close": 2.6663
    },
    "XAF": {
      "open": 571.299988,
      "low": 571.150024,
      "high": 571.460022,
      "close": 571.27002
    },
    "XAG": {
      "open": 0.067682,
      "low": 0.067613,
      "high": 0.067705,
      "close": 0.067682
    },
    "XAU": {
      "open": 0.000811,
      "low": 0.00081,
      "high": 0.000811,
      "close": 0.00081
    },
    "XCD": {
      "open": 2.7,
      "low": 2.7,
      "high": 2.7,
      "close": 2.7
    },
    "XCP": {
      "open": 0.362188,
      "low": 0.361533,
      "high": 0.362582,
      "close": 0.362384
    },
    "XDR": {
      "open": 0.72103,
      "low": 0.72103,
      "high": 0.72103,
      "close": 0.72103
    },
    "XOF": {
      "open": 571.299988,
      "low": 571.150024,
      "high": 571.460022,
      "close": 571.27002
    },
    "XPD": {
      "open": 0.000887,
      "low": 0.000887,
      "high": 0.000889,
      "close": 0.000889
    },
    "XPF": {
      "open": 103.43,
      "low": 103.400002,
      "high": 103.599998,
      "close": 103.599998
    },
    "XPT": {
      "open": 0.001195,
      "low": 0.001195,
      "high": 0.001198,
      "close": 0.001198
    },
    "YER": {
      "open": 249.850006,
      "low": 249.600006,
      "high": 249.899994,
      "close": 249.899994
    },
    "ZAR": {
      "open": 14.2348,
      "low": 14.2195,
      "high": 14.2614,
      "close": 14.2518
    },
    "ZMW": {
      "open": 11.63,
      "low": 11.63,
      "high": 11.63,
      "close": 11.63
    }
  }
}