APIs / U.S. Treasury Fiscal Data / Get Treasury exchange rates

U.S. Treasury Fiscal Data: Get Treasury exchange rates

Treasury reporting rates of exchange: foreign currency units per U.S. dollar, quarterly, by country or currency, or every rate for the latest quarter.

GET /v1/us-treasury/exchange-rates

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
countrystringOptionalUp to 60 characters
Country as Treasury names it, such as Canada, Euro Zone or United Kingdom. Case doesn't matter.
currencystringOptionalUp to 60 characters
Currency as Treasury names it, such as Dollar, Euro or Yen. Case doesn't matter.
limitintegerOptionalAny
Rates per page with country or currency, 1 to 100. Default 20.
pageintegerOptionalAny
Results page, from 1.

Example request

U.S. Treasury Fiscal Data
GET/v1/us-treasury/exchange-rates?country=Canada
{
  "success": true,
  "data": {
    "total": 103,
    "page": 1,
    "has_more": true,
    "count": 20,
    "items": [
      {
        "record_date": "2026-09-30",
        "effective_date": "2026-09-30",
        "country": "Canada",
        "currency": "Dollar",
        "country_currency": "Canada-Dollar",
        "exchange_rate": 1.418
      },
      {
        "record_date": "2026-06-30",
        "effective_date": "2026-06-30",
        "country": "Canada",
        "currency": "Dollar",
        "country_currency": "Canada-Dollar",
        "exchange_rate": 1.424
      },
      {
        "record_date": "2026-03-31",
        "effective_date": "2026-03-31",
        "country": "Canada",
        "currency": "Dollar",
        "country_currency": "Canada-Dollar",
        "exchange_rate": 1.393
      }
    ]
  },
  "meta": {
    "request_id": "req_5d747f98281447309798abd410a4fc3d",
    "credits_charged": 1,
    "credits_remaining": 443
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 6 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
record_datestring
effective_datestring
countrystring
currencystring
country_currencystring
exchange_ratenumber