Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

ExchangeRate-API Historical Rates API

Historical exchange rates for a specific date back to 1990 (Pro / Business / Volume plans only).

ExchangeRate-API Historical Rates API is one of 7 APIs that ExchangeRate-API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 14 JSON Schema definitions.

Tagged areas include Historical Rates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 14 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 6.0.0.

Requests are made against 2 base URLs: https://v6.exchangerate-api.com/v6, https://open.er-api.com/v6.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
6.0.0
Base URL
https://v6.exchangerate-api.com/v6
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

ExchangeRate-API Historical Rates API declares 1 security scheme for authenticating requests. An API key is passed in the path as api_key (apiKeyPath). By default, every request must be authenticated.

  • apiKeyPath — ExchangeRate-API uses an API key embedded in the URL path (after /v6/).

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Historical Rates 2

Historical exchange rates for a specific date back to 1990 (Pro / Business / Volume plans only).

GET
/{api_key}/history/{base_code}/{year}/{month}/{day}
Get Historical Rates
getHistoricalRates 5 params → 200400
GET
/{api_key}/history/{base_code}/{year}/{month}/{day}/{amount}
Get Historical Rates With Amount
getHistoricalRatesWithAmount 6 params → 200400

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are HistoricalAmountsResponse (9 properties), HistoricalRatesResponse (8 properties), ErrorResponse (2 properties). Each schema is shown below with its type and property counts.

HistoricalAmountsResponse
object
Historical rates with converted amounts.
9 properties
ErrorResponse
object
Standard error envelope returned when a request cannot be fulfilled.
2 properties
HistoricalRatesResponse
object
Historical rates response for a specific date.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

exchangerate-api-historical-rates-api-openapi.yml Raw ↑

Other APIs ExchangeRate-API publishes across the network.

ExchangeRate-API Enriched Data API
ExchangeRate-API Latest Rates API
ExchangeRate-API Open Access API
ExchangeRate-API Pair Conversion API
ExchangeRate-API Quota API
ExchangeRate-API Supported Codes API