Skip to main content

CurrencyAPI Python Client

Project description

CurrencyAPI Python Client

CurrencyAPI Python Client is the official Python Wrapper around the CurrencyAPI API.


Install from pip:

pip install currencyapicom

Install from code:

pip install git+


All curencyapi API requests are made using the Client class. This class must be initialized with your API access key string. Where is my API access key?

In your Python application, import currencyapicom and pass authentication information to initialize it:

import currencyapicom
client = currencyapicom.Client('API_KEY')

Retrieve Status


Retrieve Currencies

result = client.currencies(currencies=['EUR', 'CAD'])

Retrieve Latest Exchange Rates

result = client.latest()

Retrieve Historical Exchange Rates

result = client.historical('2022-02-02')

Retrieve Historical Range Exchange Rates

result = client.range('2022-02-02', '2022-02-04')

Retrieve Converted Exchange Rates

result = client.convert(1234)

Contact us

Any feedback? Please feel free to contact our team.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

currencyapicom-0.1.1.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distribution

currencyapicom-0.1.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page