Free Currency API · Example Payload

Get Latest Rates

Example request and response for the /latest endpoint to retrieve current exchange rates with USD as base currency.

CurrencyExchange RatesFinanceHistorical DataFree

Get Latest Rates is an example object payload from Free Currency API, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Get Latest Exchange Rates",
  "description": "Example request and response for the /latest endpoint to retrieve current exchange rates with USD as base currency.",
  "request": {
    "method": "GET",
    "url": "https://api.freecurrencyapi.com/v1/latest?apikey=YOUR_API_KEY&base_currency=USD&currencies=EUR,GBP,JPY,CAD",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "data": {
        "CAD": 1.35241,
        "EUR": 0.92145,
        "GBP": 0.78432,
        "JPY": 149.83200
      }
    }
  }
}