Rates b/w two dates
If supported by your subscription plan, the Fixer API's timeseries
endpoint lets you query the API for daily historical rates between two dates of your choice, with a maximum time frame of 365 days.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
symbols | string | [optional] Enter a list of comma-separated currency codes to limit output currencies. | |
start_date | string | [required] The start date of your preferred timeframe. | |
end_date | string | [required] The end date of your preferred timeframe. | |
RESPONSES
status: OK
{"success":true,"timeseries":true,"start_date":"2012-05-01","end_date":"2012-05-25","base":"EUR","rates":{"2012-05-01":{"USD":1.322891,"EUR":1},"2012-05-02":{"USD":1.315066,"EUR":1},"2012-05-03":{"USD":1.314491,"EUR":1},"2012-05-04":{"USD":1.309598,"EUR":1},"2012-05-05":{"USD":1.310795,"EUR":1},"2012-05-06":{"USD":1.310795,"EUR":1},"2012-05-07":{"USD":1.305192,"EUR":1},"2012-05-08":{"USD":1.301463,"EUR":1},"2012-05-09":{"USD":1.294599,"EUR":1},"2012-05-10":{"USD":1.295035,"EUR":1},"2012-05-11":{"USD":1.293056,"EUR":1},"2012-05-12":{"USD":1.293268,"EUR":1},"2012-05-13":{"USD":1.293268,"EUR":1},"2012-05-14":{"USD":1.284365,"EUR":1},"2012-05-15":{"USD":1.276179,"EUR":1},"2012-05-16":{"USD":1.272686,"EUR":1},"2012-05-17":{"USD":1.269783,"EUR":1},"2012-05-18":{"USD":1.273209,"EUR":1},"2012-05-19":{"USD":1.274101,"EUR":1},"2012-05-20":{"USD":1.274101,"EUR":1},"2012-05-21":{"USD":1.278812,"EUR":1},"2012-05-22":{"USD":1.271223,"EUR":1},"2012-05-23":{"USD":1.25921,"EUR":1},"2012-05-24":{"USD":1.255457,"EUR":1},"2012-05-25":{"USD":1.252213,"EUR":1}}}