Unirateapi

UniRate API

API for currency conversion and exchange rates with historical data

Finance & banking#currency-exchange

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

API for currency conversion and exchange rates with historical data

Endpoints 26

Currency

  • GETGET /api/rates/api/rates?api_key=stringGet exchange rates between currencies with optional amount conversion
  • GETGET /api/convert/api/convert?api_key=string&to=stringConvert amount between currencies
  • GETGET /api/currencies/api/currencies?api_key=stringList all available currencies

Historical Currency

  • GETGet historical exchange rates for a specific date/api/historical/rates?api_key=string&date=stringGet historical exchange rates for a specific date with optional amount conversion
  • GETGET /api/historical/timeseries/api/historical/timeseries?api_key=string&start_date=string&end_date=stringGet time series data for a date range with optional amount conversion (max 5 years)
  • GETGET /api/historical/limits/api/historical/limits?api_key=stringGet information about available historical data limits per currency

Commodity

  • GETGET /api/commodities/symbols/api/commodities/symbols?api_key=stringList all available commodity symbols with name and unit (Pro subscription required). 19 commodities: gold, silver, platinum, palladium (troy oz); WTI and…
  • GETGET /api/commodities/rates/api/commodities/rates?api_key=stringGet live commodity prices with optional amount conversion (Pro subscription required). 19 commodities: gold, silver, platinum, palladium (troy oz); WTI and…
  • GETGET /api/commodities/convert/api/commodities/convert?api_key=stringConvert between commodities and currencies (Pro subscription required). 19 commodities: gold, silver, platinum, palladium (troy oz); WTI and Brent crude…
  • GETGet historical commodity prices for a specific date/api/commodities/historical/rates?api_key=string&date=stringGet historical commodity prices for a specific date with optional amount conversion (Pro subscription required). Precious metals history back to 1968…
  • GETGET /api/commodities/historical/timeseries/api/commodities/historical/timeseries?api_key=string&start_date=string&end_date=stringGet commodity time series data for a date range with optional amount conversion (max 5 years, Pro subscription required). Precious metals history back to 1968…

VAT Rates

  • GETGET /api/vat/rates/api/vat/rates?api_key=stringGet VAT rates for all countries or a specific country

VAT Validation

  • GETGET /api/vat/validate/api/vat/validate?api_key=string&vat_number=stringValidate a VAT number against the official registry (Pro subscription required). EU member states and Northern Ireland (XI) are checked against the European…
  • GETGET /api/vat/validate/status/api/vat/validate/status?api_key=stringAvailability of the VAT registries behind /api/vat/validate. Available on every plan and NOT counted against any daily quota (a valid API key is still…

IBAN

  • GETValidate an IBAN/api/iban/validate?api_key=string&iban=DE89 3704 0044 0532 0130 00Validate an International Bank Account Number and split it according to the country's registered IBAN structure (bank code, branch code, account number).…

Market Calendar

  • GETGET /api/calendar/exchanges/api/calendar/exchanges?api_key=stringList the stock/futures exchanges (ISO 10383 MIC codes) supported by the exchange trading calendar endpoints. data_available_through is the last date holiday…
  • GETGET /api/calendar/exchange/api/calendar/exchange?api_key=string&mic=stringIs an exchange open on a given date, or right now? Returns the session open/close (local exchange time and UTC), lunch breaks, early closes / late opens, the…
  • GETGET /api/calendar/exchange/holidays/api/calendar/exchange/holidays?api_key=string&mic=stringAll weekday closures (holidays), early closes and late opens for an exchange in one year, with holiday names where the rule set has them (ad-hoc closures have…
  • GETGET /api/calendar/value-date/api/calendar/value-date?api_key=string&pair=stringFX spot value (settlement) date for a currency pair and trade date. Pro subscription required. Convention: spot is T+2, counted separately on each currency's…
  • GETGET /api/calendar/holidays/api/calendar/holidays?api_key=stringPublic holidays for a country (optionally a subdivision/state) or a currency's settlement calendar in a given year. Available on the FREE tier (counts against…
  • GETGET /api/calendar/business-day/api/calendar/business-day?api_key=stringIs a date a business day in a country (optionally a subdivision) or on a currency's settlement calendar? Returns the holiday name if any, and the…
  • GETGET /api/calendar/countries/api/calendar/countries?api_key=stringCountries (with subdivision codes) supported by /api/calendar/holidays and /api/calendar/business-day, plus the currencies that have a settlement calendar for…

Macro

  • GETGET /api/macro/policy-rates/api/macro/policy-rates?api_key=stringLatest central bank policy interest rates (free tier — counts against the normal daily request quota). Covers the ~40 live central banks in the BIS central…
  • GETGET /api/macro/policy-rates/history/api/macro/policy-rates/history?api_key=string&country=stringPolicy rate history for ONE central bank (free tier — counts against the normal daily request quota). Returns every rate change between start_date and…
  • GETGET /api/macro/inflation/api/macro/inflation?api_key=stringLatest consumer price inflation (CPI, year-on-year % change) by country (free tier — counts against the normal daily request quota). Covers ~65 economies from…
  • GETGET /api/macro/inflation/history/api/macro/inflation/history?api_key=string&country=stringMonthly CPI inflation history (year-on-year % change) for ONE country (free tier — counts against the normal daily request quota). Many series go back to the…

API details

Base URL
https://api.unirateapi.com
Authentication
None declared in the description
Operations
26 operations on 26 pathsGET 26
Main resources
Market Calendar 7Commodity 5Macro 4Currency 3Historical Currency 3VAT Validation 2IBAN 1VAT Rates 1
Response formats
application/json
Description format
Swagger 2.0, API version 1.0

How to test the UniRate API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the UniRate API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “GET /api/rates” (GET /api/rates?api_key=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the UniRate API?

API for currency conversion and exchange rates with historical data It is listed under Finance & banking and has 26 endpoints.

Who publishes the UniRate API?

It is listed from Unirateapi's public API description (an OpenAPI document), not published by Unirateapi on Swastik Codes. Anyone who controls unirateapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the UniRate API?

Requests go to https://api.unirateapi.com. Endpoint paths are added to this base URL.

How do I authenticate with the UniRate API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the UniRate API have?

26 operations on 26 paths (26 GET). The largest groups are Market Calendar, Commodity, Macro, Currency.

Is forking the UniRate API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.