invantive documentation
Invantive Support ForumsLog In / Sign Up

HistoricalRatesByDateAndBase: Open Exchange Rates Historical Rates by Date and Currency

read only REST

  • Catalog: OpenExchangeRates
  • Schema: OpenExchangeRates
  • Label: Historical Rates by Date and Currency

Can only retrieve data.

Summary

Provides a standard response object containing all the conversion rates for all available symbols/currencies on your requested date, labeled by their international-standard 3-letter ISO currency codes. Historical data are End-Of-Day values, and are currently available from Jan 1st, 1999.

API Source

  • Endpoint: historical/{date}.json?base={base}&show_alternative={show_alternative}

Performance Characteristics

Characteristic Value
Full scan rows per minute 31,500

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
base `` USD Change base currency (3-letter code, default: USD)
date `` Date without time.
show_alternative `` True Extend returned values with alternative, black market and digital currency rates

Table Columns

The columns of the table HistoricalRatesByDateAndBase are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
base varchar2 Base filters on the platform, writable
name varchar2 Base filters on the platform, writable
rate decimal Rate filters on the platform, writable
timestamp_utc datetime Timestamp (UTC) filters on the platform, writable

Sample Queries

--
-- Historical exchange rates of today against the Euro.
--
-- Table documentation: https://documentation.invantive.eu/2017R2/open-exchange-rates-data-model/webhelp/open-exchange-rates-connector-openexchangerates-historicalratesbydateandbase.html
--
-- Related forum post: https://forums.invantive.eu/t/what-are-table-functions-and-table-function-parameters/1868
--
select *
from   OpenExchangeRates.OpenExchangeRates.HistoricalRatesByDateAndBase[(trunc(sysdate), 'EUR', false)]@exr
limit  100

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: