Use the Rates endpoint to get the quotes for one or more currency pairs. If applicable, the number of quotes returned is charged against the quote limit for your plan. You may request quotes for a single date, or as an average euro dollar umrechner oanda forex a date range.
If your plan has a quote limit, each response will include the X-Rate-Limit-Remaining header containing the number of remaining quotes available for the current billing period. This parameter controls the number of quotes that are charged against your quote limit. You may assume that no more than about 200 quotes will be returned per API call. In a date range request, this is the midpoint between the date range average bid and ask quotes. NOTE: The midpoint is always rounded to the same level of precision as the bid and ask quotes. 7533 and a bid of 1. 7522 would have a midpoint of 1.
NOTE: The Central Bank exchange rates consist of a single spot rate. For those currency pairs, the quotes returned are padded with zeroes to match the number of decimal places requested. You may request the maximum number of stored decimal places for a currency pair by specifying all. If multiple quote currencies are requested, the precision for each pair may vary.
NOTE: Omitting this paramter or specifying today’s date returns the latest quotes available. If today’s quotes exist, they are returned, otherwise the API returns the latest quotes available. Caveats section for information on restriction at the date range determined by start and end. Responses If your plan has a quote limit, all responses from the Rates endpoint will also include the X-Rate-Limit-Remaining HTTP header. The header’s value is the number of quotes remaining for the current billing period. This value is also available from the Remaing Quotes endpoint.
Response Fields Note: The meta section is not returned as part of CSV responses. For requests containing those currency pairs, the API returns the most recent quote. This may result in the same quote being returned over several consecutive days. For Central Bank exchange rates only. This is calculated just as bid and ask are. The midpoint between the date range average bid and ask quotes.
Rates are updated and posted daily at 22:00 ET. All requested and returned dates and times are UTC. Rates are rounded half to even when requesting less number of decimal places than we have. The Central Bank exchange rates consist solely of a spot price. As such, the fields option will be ignored when requesting Central Bank exchange rates. Quotes availability on certain date of certain currency pair varies on data set. You may check the Currencies endpoint to see what is available for certain data set.
When quotes are absent for one or more currencies on specified date or date range, the API will return quotes for only the currency pairs that have data available. For example, if you pass a date that is before January 1, 1999, the API will not return any EUR currency pairs. Please note that quotes that are not returned by the API are not counted against your quote limit. If these fields are requested and are not available, they are omitted from the results. If the output format is JSON or XML the fields are not included in the quote. Not all currency pairs are updated daily.
For those currency pairs, requesting a particular date’s quote returns the most recent quote prior or equal to that day. If you specify a date range, there is a limit of 10,000 on the number of days in the range combining with the number of quote currencies per request. For example, if a request specifies 10 quote currencies, its start and end date may not span over 1,000 days. In other words, the product of number of quote currencies and number of days between start and end may not exceed 10,000. The other fields are updated to show what the amount is worth in today’s rates for each of the other currencies. By default, the conversions use an interbank rate generally not available to the public. To avoid disappointment, choose a percentage add-on from the Interbank rate pull-down list to approximate the spread charged by your financial institution.
Looking for the new Historical Currency Converter? All other trademarks appearing on this Website are the property of their respective owners. Leveraged trading in foreign currency contracts or other off-exchange products on margin carries a high level of risk and may not be suitable for everyone. We advise you to carefully consider whether trading is appropriate for you in light of your personal circumstances. You may lose more than you invest. Information on this website is general in nature. We recommend that you seek independent financial advice and ensure you fully understand the risks involved before trading.