Bowmark AIdocs

ExchangeRate-API

Get real-time exchange rates from ExchangeRate-API

Domain: exchangerate-api.com

Also known as: exchangerate.host, forex, exchange rate lookup, convert currency

Prefer the capability

bowmark.currency_exchange covers this provider and routes around it when it is having a bad day. Reach for this page when you need exchangerate-api.com specifically.

Call it directly

bowmark.providers.currency_exchange.getRate(from: string, to: string): Promise<currency_exchangeRow>

Functions

FunctionWhat it does
getRateReturns the current exchange rate between two currencies

Types

interface currency_exchangeRow {
  rate: number;
}
currency_exchangeCurrency exchange — the capability this provider backs.