Currency Exchange rate API


OVERVIEW
Access a list of all major currencies (FOREX), EUR/USD, USD/CAD, GBP/USD, USD/JPY, AUD/USD and many others.
The foreign exchange market is where currencies are traded. It is the largest market by daily trade volume which is approximately $5 Trillion USD per day, access the real time Forex rates.
Often correalated to the FOREX market the Stocks market offer also some great data to be explored. Unlike forex pairs, stocks can be delisted, access our Stock Delisted API to get stocks delisted.

Currency Exchange rate API


OVERVIEW
Access a list of all major currencies (FOREX), EUR/USD, USD/CAD, GBP/USD, USD/JPY, AUD/USD and many others.
The foreign exchange market is where currencies are traded. It is the largest market by daily trade volume which is approximately $5 Trillion USD per day, access the real time Forex rates.
Often correalated to the FOREX market the Stocks market offer also some great data to be explored. Unlike forex pairs, stocks can be delisted, access our Stock Delisted API to get stocks delisted.

Currency Exchange rate

https://financialmodelingprep.com/api/v3/forex?apikey=YOUR_API_KEY

curl https://financialmodelingprep.com/api/v3/forex
{
  "forexList" : [ {
    "ticker" : "EUR/USD",
    "bid" : "1.10901",
    "ask" : "1.10909",
    "open" : "1.10930",
    "low" : "1.10701",
    "high" : "1.11159",
    "changes" : -0.022536734877858424,
    "date" : "2020-01-19 18:00:45"
  }, {
    "ticker" : "USD/JPY",
    "bid" : "110.126",
    "ask" : "110.133",
    "open" : "110.115",
    "low" : "110.048",
    "high" : "110.205",
    "changes" : 0.013168051582447798,
    "date" : "2020-01-19 18:00:45"
  }, {
    "ticker" : "GBP/USD",
    "bid" : "1.30018",
    "ask" : "1.30035",
    "open" : "1.30022",
    "low" : "1.29895",
    "high" : "1.30097",
    "changes" : 0.0034609527618459,
    "date" : "2020-01-19 18:00:45"
  }, {
    "ticker" : "EUR/GBP",
    "bid" : "0.85287",
    "ask" : "0.85303",
    "open" : "0.85316",
    "low" : "0.85250",
    "high" : "0.85429",
    "changes" : -0.024614374794885308,
    "date" : "2020-01-19 18:00:45"
  },
  {...}
  ]
}

CURRENCY_EXCHANGE_RATE_WITH JAVA


URL url = new URL("https://financialmodelingprep.com/api/v3/forex?apikey=YOUR_API_KEY");

try (BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream(), "UTF-8"))) {
    for (String line; (line = reader.readLine()) != null;) {
    System.out.println(line);
  }
}
Resource List :