UniRateAPI
unirateapiUniRateAPI provides current exchange rates, currency conversion, VAT and IBAN data, market calendars, and macroeconomic indicators through a read-only API.
Acciones disponibles (26)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Check Business DayUNIRATEAPI_CHECK_BUSINESS_DAYAcciónCheck whether a date is a business day in a country or currency settlement calendar and return the neighboring business days. Results are reference-only; confirm them for settlement or contractual deadlines.
UNIRATEAPI_CHECK_BUSINESS_DAYAcciónCheck whether a date is a business day in a country or currency settlement calendar and return the neighboring business days. Results are reference-only; confirm them for settlement or contractual deadlines.
Parámetros de entrada
datestringDate in YYYY-MM-DD format; omit for today in UTC.
country_codestringISO 3166-1 alpha-2 country code. Provide country_code or currency_code; country_code takes precedence when both are provided.
currency_codestringISO 4217 currency settlement calendar. Provide this when country_code is omitted.
subdivision_codestringCountry subdivision code; use only with country_code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert CommodityUNIRATEAPI_CONVERT_COMMODITYAcciónConvert an amount between commodities and currencies, or convert to all supported commodities when target_symbol is omitted. Requires a UniRateAPI Pro subscription.
UNIRATEAPI_CONVERT_COMMODITYAcciónConvert an amount between commodities and currencies, or convert to all supported commodities when target_symbol is omitted. Requires a UniRateAPI Pro subscription.
Parámetros de entrada
amountnumberAmount of the source symbol to convert.
source_symbolstringSource commodity or currency symbol, such as XAU, WTI, or USD.
target_symbolstringTarget symbol; omit to convert the source amount to all commodities.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert CurrencyUNIRATEAPI_CONVERT_CURRENCYAcciónConvert an amount from one currency to one required target currency using the current exchange rate.
UNIRATEAPI_CONVERT_CURRENCYAcciónConvert an amount from one currency to one required target currency using the current exchange rate.
Parámetros de entrada
amountnumberAmount of the source currency to convert.
source_currencystringCurrency code to convert from, such as USD.
target_currencystringObligatorioCurrency code to convert into, such as EUR.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Commodity RatesUNIRATEAPI_GET_COMMODITY_RATESAcciónGet live commodity rates and converted values for one target commodity, or for all supported commodities when target_symbol is omitted. Requires a UniRateAPI Pro subscription.
UNIRATEAPI_GET_COMMODITY_RATESAcciónGet live commodity rates and converted values for one target commodity, or for all supported commodities when target_symbol is omitted. Requires a UniRateAPI Pro subscription.
Parámetros de entrada
amountnumberAmount of the base symbol to convert.
base_symbolstringBase commodity or currency symbol, such as XAU, BRENT, or USD.
target_symbolstringTarget commodity symbol; omit to return rates and converted values for all commodities.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current Exchange RatesUNIRATEAPI_GET_CURRENT_RATESAcciónGet the current exchange rate and converted value for one target currency, or rates and values for all supported targets when target_currency is omitted.
UNIRATEAPI_GET_CURRENT_RATESAcciónGet the current exchange rate and converted value for one target currency, or rates and values for all supported targets when target_currency is omitted.
Parámetros de entrada
amountnumberAmount of the base currency to convert.
base_currencystringBase currency code, such as USD or EUR.
target_currencystringTarget currency code; omit to return rates and converted values for all supported currencies.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Exchange HolidaysUNIRATEAPI_GET_EXCHANGE_HOLIDAYSAcciónGet an exchange's weekday closures, early closes, and late opens for one year. Years extending beyond published holiday coverage return the covered part and flag the remainder as best-effort. Requires a Pro subscription.
UNIRATEAPI_GET_EXCHANGE_HOLIDAYSAcciónGet an exchange's weekday closures, early closes, and late opens for one year. Years extending beyond published holiday coverage return the covered part and flag the remainder as best-effort. Requires a Pro subscription.
Parámetros de entrada
micstringObligatorioISO 10383 market identifier, such as XNYS.
yearintegerCalendar year. Omit to use the current year. Years entirely before the exchange calendar starts or after the end of next year are unsupported; coverage.partial_year flags a partly supported year.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Exchange ScheduleUNIRATEAPI_GET_EXCHANGE_SCHEDULEAcciónGet an exchange's schedule and trading-day status for a date, or its live open status when date is omitted. Dates after an exchange's published holiday coverage are returned as flagged best-effort estimates. Requires a Pro subscription.
UNIRATEAPI_GET_EXCHANGE_SCHEDULEAcciónGet an exchange's schedule and trading-day status for a date, or its live open status when date is omitted. Dates after an exchange's published holiday coverage are returned as flagged best-effort estimates. Requires a Pro subscription.
Parámetros de entrada
micstringObligatorioISO 10383 market identifier, such as XNYS, XLON, XTKS, or XHKG. Use LIST_EXCHANGES to discover supported values.
datestringDate in YYYY-MM-DD format. Omit for today's schedule and live open-or-closed status in the exchange timezone. The supported range is roughly the last 20 years through the end of next year.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get FX Value DateUNIRATEAPI_GET_FX_VALUE_DATEAcciónGet a reference FX spot settlement date for a currency pair and trade date using the applicable currency calendars. It does not account for cut-offs, NDF conventions, every half-session or ad-hoc closure, or counterparty agreements; confirm dates before settlement. Requires a Pro subscription.
UNIRATEAPI_GET_FX_VALUE_DATEAcciónGet a reference FX spot settlement date for a currency pair and trade date using the applicable currency calendars. It does not account for cut-offs, NDF conventions, every half-session or ad-hoc closure, or counterparty agreements; confirm dates before settlement. Requires a Pro subscription.
Parámetros de entrada
pairstringObligatorioCurrency pair in a form such as EURUSD, EUR/USD, or USD-CAD.
trade_datestringTrade date in YYYY-MM-DD format. Omit for today in UTC.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Historical Commodity Rates (Pro)UNIRATEAPI_GET_HISTORICAL_COMMODITY_RATESAcciónPro subscription required. Get commodity prices for one historical date, for one target or all available commodities. Gold and silver history begins in 1968, platinum and palladium in 1990, and energy, base-metal, and agricultural history accrues daily from 2026-08. Precious metals use blended market feeds; base metals add LME settlement, energy uses ICE, Hyperliquid, and EIA, and crops use ICE or US grain futures. World Bank monthly averages are used only if every market source fails; fallback data is CC BY 4.0 and must be attributed to The World Bank.
UNIRATEAPI_GET_HISTORICAL_COMMODITY_RATESAcciónPro subscription required. Get commodity prices for one historical date, for one target or all available commodities. Gold and silver history begins in 1968, platinum and palladium in 1990, and energy, base-metal, and agricultural history accrues daily from 2026-08. Precious metals use blended market feeds; base metals add LME settlement, energy uses ICE, Hyperliquid, and EIA, and crops use ICE or US grain futures. World Bank monthly averages are used only if every market source fails; fallback data is CC BY 4.0 and must be attributed to The World Bank.
Parámetros de entrada
datestringObligatoriodateHistorical pricing date in YYYY-MM-DD format.
amountnumberAmount of the base symbol to convert.
base_symbolstringBase commodity or currency symbol, such as XAU, BRENT, XCU, WHEAT, or USD.
target_symbolstringTarget commodity symbol, such as XAU or BRENT. Omit to return historical prices for all available commodities.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Historical Commodity Timeseries (Pro)UNIRATEAPI_GET_HISTORICAL_COMMODITY_TIMESERIESAcciónPro subscription required. Get up to five calendar years of historical prices for selected commodity symbols or all 19 commodities. Gold and silver history begins in 1968, platinum and palladium in 1990, and energy, base-metal, and agricultural history accrues daily from 2026-08. Precious metals use blended market feeds; base metals add LME settlement, energy uses ICE, Hyperliquid, and EIA, and crops use ICE or US grain futures. World Bank monthly averages are used only if every market source fails; fallback data is CC BY 4.0 and must be attributed to The World Bank.
UNIRATEAPI_GET_HISTORICAL_COMMODITY_TIMESERIESAcciónPro subscription required. Get up to five calendar years of historical prices for selected commodity symbols or all 19 commodities. Gold and silver history begins in 1968, platinum and palladium in 1990, and energy, base-metal, and agricultural history accrues daily from 2026-08. Precious metals use blended market feeds; base metals add LME settlement, energy uses ICE, Hyperliquid, and EIA, and crops use ICE or US grain futures. World Bank monthly averages are used only if every market source fails; fallback data is CC BY 4.0 and must be attributed to The World Bank.
Parámetros de entrada
amountnumberAmount by which each historical commodity price is multiplied.
symbolsstringComma-separated commodity symbols, such as XAU,XAG or BRENT,WTI,NATGAS. Omit to return all 19 commodities.
end_datestringObligatoriodateLast historical pricing date in YYYY-MM-DD format. The range from start_date must not exceed five calendar years.
start_datestringObligatoriodateFirst historical pricing date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Historical Currency LimitsUNIRATEAPI_GET_HISTORICAL_LIMITSAcciónGet the earliest and latest available historical-data dates for each currency. Requires a UniRateAPI Pro subscription and is limited to 50 historical requests per hour.
UNIRATEAPI_GET_HISTORICAL_LIMITSAcciónGet the earliest and latest available historical-data dates for each currency. Requires a UniRateAPI Pro subscription and is limited to 50 historical requests per hour.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Historical Exchange RatesUNIRATEAPI_GET_HISTORICAL_RATESAcciónGet exchange rates and optional amount conversions for one historical date. Requires a UniRateAPI Pro subscription.
UNIRATEAPI_GET_HISTORICAL_RATESAcciónGet exchange rates and optional amount conversions for one historical date. Requires a UniRateAPI Pro subscription.
Parámetros de entrada
datestringObligatoriodateHistorical rate date in YYYY-MM-DD format.
amountnumberAmount of the base currency to convert.
base_currencystringBase currency code.
target_currencystringTarget currency code; omit to return rates and converted values for all available currencies.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Historical Currency TimeseriesUNIRATEAPI_GET_HISTORICAL_TIMESERIESAcciónGet historical currency values over a date range of at most five years. Requires a UniRateAPI Pro subscription and is limited to 50 historical requests per hour.
UNIRATEAPI_GET_HISTORICAL_TIMESERIESAcciónGet historical currency values over a date range of at most five years. Requires a UniRateAPI Pro subscription and is limited to 50 historical requests per hour.
Parámetros de entrada
basestringBase currency code; defaults to USD.
amountnumberAmount to convert for every date and currency.
end_datestringObligatoriodateLast date in YYYY-MM-DD format; the range may not exceed five years.
currenciesstringComma-separated currency codes to retrieve; omit for all currencies.
start_datestringObligatoriodateFirst date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current InflationUNIRATEAPI_GET_INFLATIONAcciónGet the latest BIS year-on-year CPI inflation for up to 50 selected codes or every live series across roughly 65 economies. Period is the reference month, typically published 1-3 months later; AU and NZ quarterly values are repeated monthly.
UNIRATEAPI_GET_INFLATIONAcciónGet the latest BIS year-on-year CPI inflation for up to 50 selected codes or every live series across roughly 65 economies. Period is the reference month, typically published 1-3 months later; AU and NZ quarterly values are repeated monthly.
Parámetros de entrada
country_codesstring[]Country and/or currency codes to return, such as US or EUR. EUR resolves to euro-area inflation, while a member such as DE returns its national CPI. Provide at most 50 codes, or omit to return all live series.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Inflation HistoryUNIRATEAPI_GET_INFLATION_HISTORYAcciónGet monthly BIS year-on-year CPI inflation history for one country or currency code over an optional month or date range.
UNIRATEAPI_GET_INFLATION_HISTORYAcciónGet monthly BIS year-on-year CPI inflation history for one country or currency code over an optional month or date range.
Parámetros de entrada
end_datestringLast month or date in YYYY-MM or YYYY-MM-DD format; omit to use the current month.
start_datestringFirst month or date in YYYY-MM or YYYY-MM-DD format; omit to use the start of the series.
country_codestringObligatorioOne country or currency code identifying the inflation series, such as US or USD.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Policy Rate HistoryUNIRATEAPI_GET_POLICY_RATE_HISTORYAcciónGet BIS central-bank policy-rate changes for one country or currency code over an optional date range.
UNIRATEAPI_GET_POLICY_RATE_HISTORYAcciónGet BIS central-bank policy-rate changes for one country or currency code over an optional date range.
Parámetros de entrada
end_datestringdateLast date in YYYY-MM-DD format; omit to use today.
start_datestringdateFirst date in YYYY-MM-DD format; omit to use the start of the series.
country_codestringObligatorioOne country or currency code identifying the central-bank series, such as US or USD.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current Policy RatesUNIRATEAPI_GET_POLICY_RATESAcciónGet the latest BIS central-bank policy rates for up to 50 selected country or currency codes, or every live series across roughly 40 central banks.
UNIRATEAPI_GET_POLICY_RATESAcciónGet the latest BIS central-bank policy rates for up to 50 selected country or currency codes, or every live series across roughly 40 central banks.
Parámetros de entrada
country_codesstring[]Country and/or currency codes to return, such as US or EUR. EUR, EU, EZ, or ECB resolve to the ECB rate; a euro-area member such as DE also resolves to ECB when it has no live national series. Provide at most 50 codes, or omit to return all live series.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Public HolidaysUNIRATEAPI_GET_PUBLIC_HOLIDAYSAcciónGet reference holiday dates for a country or currency settlement calendar for a year, optionally narrowed to a country subdivision.
UNIRATEAPI_GET_PUBLIC_HOLIDAYSAcciónGet reference holiday dates for a country or currency settlement calendar for a year, optionally narrowed to a country subdivision.
Parámetros de entrada
yearintegerCalendar year; omit for the current year.
country_codestringISO 3166-1 alpha-2 country code. Provide country_code or currency_code; country_code takes precedence if both are provided.
currency_codestringISO 4217 currency settlement calendar. Provide this when country_code is omitted.
subdivision_codestringCountry subdivision code; use only with country_code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get VAT RatesUNIRATEAPI_GET_VAT_RATESAcciónGet current VAT rates for one country or all covered countries when country_code is omitted.
UNIRATEAPI_GET_VAT_RATESAcciónGet current VAT rates for one country or all covered countries when country_code is omitted.
Parámetros de entrada
country_codestringTwo-letter country code, such as DE or FR. Omit to return VAT rates for all covered countries.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get VAT Registry StatusUNIRATEAPI_GET_VAT_REGISTRY_STATUSAcciónGet current availability and country coverage for the official registries used by UniRateAPI VAT validation.
UNIRATEAPI_GET_VAT_REGISTRY_STATUSAcciónGet current availability and country coverage for the official registries used by UniRateAPI VAT validation.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Holiday CalendarsUNIRATEAPI_LIST_CALENDAR_COUNTRIESAcciónList supported public-holiday countries and subdivisions plus supported currency settlement calendars.
UNIRATEAPI_LIST_CALENDAR_COUNTRIESAcciónList supported public-holiday countries and subdivisions plus supported currency settlement calendars.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Commodity SymbolsUNIRATEAPI_LIST_COMMODITY_SYMBOLSAcciónList all 19 commodity symbols supported by UniRateAPI, including each commodity's name and unit. Requires a UniRateAPI Pro subscription.
UNIRATEAPI_LIST_COMMODITY_SYMBOLSAcciónList all 19 commodity symbols supported by UniRateAPI, including each commodity's name and unit. Requires a UniRateAPI Pro subscription.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Supported CurrenciesUNIRATEAPI_LIST_CURRENCIESAcciónList every fiat and cryptocurrency code supported by UniRateAPI.
UNIRATEAPI_LIST_CURRENCIESAcciónList every fiat and cryptocurrency code supported by UniRateAPI.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Exchange CalendarsUNIRATEAPI_LIST_EXCHANGESAcciónList stock and futures exchange calendars supported by UniRateAPI, including their MIC codes and holiday-data coverage. Requires a Pro subscription.
UNIRATEAPI_LIST_EXCHANGESAcciónList stock and futures exchange calendars supported by UniRateAPI, including their MIC codes and holiday-data coverage. Requires a Pro subscription.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate IBANUNIRATEAPI_VALIDATE_IBANAcciónCheck an IBAN's structure and checksum, normalize its format, and return parsed country and banking components. Invalid IBANs return valid=false; this does not verify that an account exists or is open.
UNIRATEAPI_VALIDATE_IBANAcciónCheck an IBAN's structure and checksum, normalize its format, and return parsed country and banking components. Invalid IBANs return valid=false; this does not verify that an account exists or is open.
Parámetros de entrada
ibanstringObligatorioIBAN to validate structurally. Spaces, hyphens, and lowercase letters are accepted and normalized by UniRateAPI.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate VAT Number (Pro)UNIRATEAPI_VALIDATE_VAT_NUMBERAcciónPro subscription required. Validate a VAT number against its official registry after format and checksum checks. A null valid result means the registry was unavailable, not that the number is invalid; preserve any returned attribution when redistributing Norwegian registry data.
UNIRATEAPI_VALIDATE_VAT_NUMBERAcciónPro subscription required. Validate a VAT number against its official registry after format and checksum checks. A null valid result means the registry was unavailable, not that the number is invalid; preserve any returned attribution when redistributing Norwegian registry data.
Parámetros de entrada
countrystringTwo-letter country prefix. Supply this only when vat_number does not already include a country prefix.
vat_numberstringObligatorioVAT number with or without a country prefix. Spaces, dots, and dashes are accepted. Greece may use EL or GR; the United Kingdom may use GB or UK.
requester_vat_numberstringYour own VAT number. When supplied, the official registry is queried live and may return a consultation identifier as proof of the check. EU and XI checks require an EU or XI requester; UK checks, once enabled, require a GB requester.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not