Exchange Rates

GET https://api.quantextive.net/currency-rate

Provides End of Day (EOD) exchange rates for the African currencies that we cover versus the U.S Dollar (USD), British Pound (GBP) and the Euro (EUR).

Parameters

curl -H 'X-Api-Key: {API_KEY}' https://api.quantextive.net/currency-rate?curr_code=DZD&startDate=2017-03-30&endDate=2017-03-31&base_curr=USD

curr_code (required) - Currency code for Country. **Use the https://api.quantextive.net/currency endpoint to see a list of currencies that we cover
base_curr (required) - Base currency code for which you want to see the rate for. Options are 'USD', 'GBP' or 'EUR'
startDate (required) - The start date range for the data you want returned (format: YYYY-MM-DD)
endDate (required) - The end date range for the data you want returned. To return data for just one day, use the same date as the startDate (format: YYYY-MM-DD)
x-api-key (required) - Your API key to be used within the x-api-key HTTP header

Response

{
"rate": "109.69",
"curr_code": "DZD",
"price_change_percent": "-0.02",
"base": "USD",
"rate_date": "2017-03-30"
},
{
"rate": "109.80",
"curr_code": "DZD",
"price_change_percent": "0.1",
"base": "USD",
"rate_date": "2017-03-31"
}
rate (string) - Exchange rate for requested rate, base currency and date
curr_code (string) - Currency code for requested rate
price_change_percent (string) - Percentage change from previous day's rate
base (string) - Base currency which the currency is evaluated against
rate_date (string) - Date for returned rate data