Bowmark AIdocs

Currency exchange

Get real-time exchange rates between currencies

Also known as: forex, exchange rate lookup, convert currency

Call it

bowmark.currency_exchange.getRate(from: string, to: string, options?: CallOptions): Promise<currency_exchangeResult>

Functions

FunctionWhat it does
getRateReturns the current exchange rate between two currencies

Types

interface currency_exchangeResult {
  rate: number;
  warnings: string[];
}
type CallOptions = {
  timeoutMs?: number   // per-provider budget in ms, default 30000, clamped to 1000-55000.
                       // A provider slower than this is DROPPED from the results and
                       // NAMED in warnings — never silently absent
}

Examples

return await bowmark.currency_exchange.getRate("USD", "EUR");

Providers behind it

Provider
currency_exchangeExchangeRate-API