Welcome to ClientVPS Mirrors

introduction to freecurrencyapi

introduction to freecurrencyapi

Dominik Kukacka

2023-05-09

Introduction

freecurrencyapi is the official package for accessing currency conversion data from freecurrencyapi.com. The API requires a registered API key. You can register an API key here. The full API documentation can be found here

Setting up authentication

After registering your API key, set your API key locally by calling the helper function freecurrencyapi_api_key() or by manually calling Sys.setenv(FREECURRENCYAPI_API_KEY = <key>).

Making your first API request

Call get_latest_exchange_rates() to retrieve the most recent exchange rates. By default, USD is set as base_currency. For API keys related to the free plan, data is updated daily, for premium plans up to minutely.

Supported Currencies

Call get_supported_currencies to retrieve a list of all currencies that are supported by the API.

Available Functions

Please read our API documentation for all information.

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.