Developers
Guides
Practical guides to the FXbase exchange rate API for developers, with code you can copy and run against the API.
Convert Currency in JavaScript with fetch
Convert currency in JavaScript and TypeScript with fetch and an exchange rate API: typed responses, error handling, cross rates and safe key storage.
Read guideHistorical Exchange Rates in Python
Get historical exchange rates in Python with requests: one day with /v1/historical, a date range with /v1/timeseries, multi-year backfills and pandas.
Read guideHow to Build a Currency Converter
Build a currency converter with an exchange rate API: a currency picker, a server-side rate cache with ETag and If-None-Match, cross rates and formatting.
Read guideExchange Rate API Rate Limits: 429 and Retry-After
Handle exchange rate API rate limits: read the RateLimit headers, tell rate_limited from quota_exceeded, honor Retry-After and back off on 5xx errors.
Read guideExchange Rates in Google Sheets with Apps Script
Pull exchange rates into Google Sheets with a short Apps Script custom function: a cached FXBASE_RATES table, a converter formula and a safe key.
Read guideHow to Choose an Exchange Rate API: A Checklist
A neutral checklist for choosing an exchange rate API: coverage, freshness, history depth, limits, errors, caching, key security and pricing to test first.
Read guide