Exchange rates and currency conversion
Currencylayer provides a JSON API for real-time and historical exchange rates and currency conversion across 168 world currencies.
import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.currencylayer.com/live?access_key={api_key}'
response = requests.get(url)
data = response.json()
print(data)Last 50 checks (10 min intervals)