GET rates/latest

Return today's currencies rates Rest API

Resource URL

https://v2.api.forex/rates/today.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/rates/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/rates/2018-10-24.json?beautify=true&key=demo
{from}stringRequiredDefine the currency source. Default base_currency of the selected source.
Html.Raw(Transl.Api.Documentation.RequiredIfIp)
https://v2.api.forex/rates/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/rates/2018-10-24.json?to=EUR,USD,THB&key=demo

Parameters

{success}booleandecription
{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/rates/2018-10-24.json?beautify=true&key=demo

Example Result

{
  "success": true,
  "infos": {
    "date": "2007-01-01",
    "timestamp": "2020-02-17T04:23:46Z",
    "expire": "2020-02-17T04:24:46Z",
    "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": 132,
      "pack": "Gold"
    }
  },
  "rates": {
    "AED": 3.6718,
    "ALL": 89.334999,
    "ANG": 1.78,
    "ARS": 3.0675,
    "AUD": 1.2642,
    "AWG": 1.79,
    "BBD": 1.97,
    "BDT": 66.655998,
    "BGN": 1.4746,
    "BHD": 0.36129,
    "BIF": 954.859985,
    "BMD": 1.001,
    "BND": 1.5059,
    "BOB": 7.995,
    "BRL": 2.1325,
    "BSD": 0.9975,
    "BWP": 6.0334,
    "BZD": 1.8723,
    "CAD": 1.1643,
    "CDF": 540.0,
    "CHF": 1.2166,
    "CLP": 532.25,
    "CNY": 7.806,
    "COP": 2237.5,
    "CRC": 519.0,
    "CUP": 0.9601,
    "CVE": 80.124001,
    "CYP": 0.4369,
    "CZK": 20.756001,
    "DJF": 166.740005,
    "DKK": 5.6397,
    "DOP": 33.08,
    "DZD": 68.9855,
    "EGP": 5.6647,
    "ETB": 8.438,
    "EUR": 0.75649,
    "FJD": 1.6668,
    "GBP": 0.50911,
    "GMD": 26.489,
    "GNF": 5429.799805,
    "GTQ": 7.622,
    "HKD": 7.7749,
    "HNL": 18.89,
    "HRK": 5.5708,
    "HTG": 35.299,
    "HUF": 189.940002,
    "IDR": 8965.700195,
    "ILS": 4.2145,
    "INR": 44.215,
    "IQD": 1260.400024,
    "IRR": 8830.099609,
    "ISK": 69.211998,
    "JMD": 66.0,
    "JOD": 0.704,
    "JPY": 118.879997,
    "KES": 66.211998,
    "KHR": 3889.399902,
    "KMF": 376.0,
    "KRW": 917.22998,
    "KWD": 0.2876,
    "KYD": 0.82,
    "KZT": 126.81,
    "LAK": 9296.900391,
    "LBP": 1512.0,
    "LKR": 103.040001,
    "LSL": 6.975,
    "LTL": 2.5839,
    "LVL": 0.52043,
    "LYD": 1.2216,
    "MAD": 8.466,
    "MDL": 12.945,
    "MGA": 2020.0,
    "MKD": 46.675,
    "MMK": 818.0,
    "MNT": 1165.5,
    "MOP": 7.685,
    "MRO": 267.05,
    "MUR": 33.25,
    "MVR": 12.8,
    "MWK": 134.490005,
    "MXN": 10.803,
    "MYR": 3.5231,
    "NAD": 6.996,
    "NGN": 128.8,
    "NIO": 17.9,
    "NOK": 6.2231,
    "NPR": 66.862999,
    "NZD": 1.4172,
    "OMR": 0.38399,
    "PAB": 0.96366,
    "PEN": 3.19625,
    "PGK": 2.8088,
    "PHP": 48.950001,
    "PKR": 60.880001,
    "PLN": 2.8984,
    "PYG": 5170.0,
    "QAR": 3.4809,
    "RON": 2.5559,
    "RSD": 60.49,
    "RUB": 26.305,
    "RWF": 524.869995,
    "SAR": 3.7498,
    "SBD": 7.467503,
    "SCR": 5.4468,
    "SEK": 6.8413,
    "SGD": 1.532,
    "SIT": 181.479996,
    "SLL": 3000.0,
    "SOS": 1248.199951,
    "STD": 6785.0,
    "SVC": 8.75,
    "SYP": 49.82,
    "SZL": 6.975,
    "THB": 35.291,
    "TND": 1.302,
    "TRY": 1.408,
    "TTD": 6.33,
    "TWD": 32.575001,
    "TZS": 1263.5,
    "UAH": 5.053,
    "UGX": 1743.0,
    "UYU": 24.4,
    "UZS": 1240.0,
    "VND": 15374.0,
    "VUV": 102.0,
    "WST": 2.747771,
    "XAF": 477.01001,
    "XOF": 497.05,
    "XPF": 95.55,
    "YER": 196.75,
    "ZAR": 7.0,
    "ZMK": 4427.0
  }
}