---
title: Currency Historical Data Limits API Reference
version: 1.0.0
description: Retrieve the date range for which historical exchange rate data is available for each supported currency. Returns a map of currency codes to their availability period in YYYY-MM-DD to YYYY-MM-DD format. Covers fiat currencies, cryptocurrencies, and precious metals.
openapi: 3.1.1
servers:
  - https://api.apifreaks.com/v1.0
paths: 1
operations: 1
schemas: 2
---

## Table of Contents

- [Currency Historical Data Limits API Reference v1.0.0](#currency-historical-data-limits-api-reference-v100)
  - [Authentication](#authentication)
  - [Currency APIs](#currency-apis)
    - [getHistoricalDataLimits](#gethistoricaldatalimits)
      - [Parameters](#parameters)
      - [Responses](#responses)
  - [Schemas](#schemas)
    - [HistoricalDataLimitsResponse](#historicaldatalimitsresponse)
    - [ErrorResponse](#errorresponse)



# Currency Historical Data Limits API Reference v1.0.0

Retrieve the date range for which historical exchange rate data is available for each supported currency. Returns a map of currency codes to their availability period in YYYY-MM-DD to YYYY-MM-DD format. Covers fiat currencies, cryptocurrencies, and precious metals.

Base URLs:

* [https://api.apifreaks.com/v1.0](https://api.apifreaks.com/v1.0)

## Authentication

* API Key (ApiKeyAuthHeader)
    - Parameter Name: **X-apiKey**, in: header. Pass your API key via the X-apiKey request header.

* API Key (ApiKeyAuthQuery)
    - Parameter Name: **apiKey**, in: query. Pass your API key via the apiKey query parameter.

## Currency APIs

### getHistoricalDataLimits

`GET /currency/historical/data/limits`

*Get historical data availability limits*

Returns the date range when historical data is available for each currency.

#### Parameters

|Name|In|Type|Required|Description|
|---|---|---|---|---|
|format|query|string|false|Response format: `json` (default) or `xml`.|

##### Enumerated Values

|Parameter|Value|
|---|---|
|format|json|
|format|xml|

> Example responses

> Successful operation

```json
{
  "availabilityPeriod": {
    "FJD": "1989-08-18 to 2026-07-27",
    "SCR": "1998-07-31 to 2026-07-27",
    "STPT": "2025-02-27 to 2025-05-28"
  }
}
```

> Unsupported Media Type — format is not json or xml

```json
{
  "error": "Unsupported Media Type",
  "message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
  "path": "/v1.0/currency/historical/data/limits",
  "status": 406,
  "timestamp": "2026-07-27T12:14:01.189Z"
}
```

#### Responses

|Status|Meaning|Description|Schema|
|---|---|---|---|
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation|[HistoricalDataLimitsResponse](#historicaldatalimitsresponse)|
|406|[Not Acceptable](https://tools.ietf.org/html/rfc7231#section-6.5.6)|Unsupported Media Type — format is not json or xml|[ErrorResponse](#errorresponse)|

#### Response Headers

|Status|Header|Type|Format|Description|
|---|---|---|---|---|
|200|X-AF-Credits-Cost|integer||Specifies the number of credits consumed by the current request.|
|406|X-AF-Credits-Cost|integer||Specifies the number of credits consumed by the current request.|

To perform this operation, you must be authenticated by means of one of the following methods:
ApiKeyAuthHeader, ApiKeyAuthQuery

## Schemas

### HistoricalDataLimitsResponse

Historical data limits response containing the availability period map.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|availabilityPeriod|object|true|none|Map of currency codes to their historical data availability range. Each key is a currency code and the value is a date range string.|
|» AvailabilityPeriodString|string|false|none|Historical data availability date range in YYYY-MM-DD to YYYY-MM-DD format.|

### ErrorResponse

Standard error envelope returned by the API on failed requests.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|error|string|false|none|Short error category or exception type.|
|message|string|true|none|Human-readable error message describing the failure.|
|path|string|false|none|API endpoint path that produced the error.|
|status|integer|false|none|HTTP status code returned with the error.|
|timestamp|string(date-time)|false|none|Timestamp when the error occurred (ISO 8601).|
