---
title: "HistoricalRatesByDateAndBase (Open Exchange Rates)"
description: "Historical Rates by Date and Currency"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/openexchangerates/OpenExchangeRates.OpenExchangeRates.HistoricalRatesByDateAndBase
original: https://documentation.invantive.eu/en/datamodels/openexchangerates/OpenExchangeRates.OpenExchangeRates.HistoricalRatesByDateAndBase
updated: 2026-11-01T16:20:59Z
license: https://documentation.invantive.eu/en/
---

# 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` | `` | [x] |  | 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

```sql
--
-- 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:

- [Open Exchange Rates](/en/release-notes/drivers/open-exchange-rates)

