Exchange Rates

We offer an Exchange Rates endpoint which provides the current Wyre brokering rate. This is approximately the exchange rate that will be used for any relatively small exchange through our platform (larger exchanges may give different rates depending on market depth). It is a good way to track the Wyre exchange rates over time.

The ordering of the trade pair in the key represents the direction of an exchange. For example, CADUSD is the rate used for CAD into USD conversions (e.g. the sell rate). On the other hand, converting USD into CAD (the buy rate) would use the opposite rate under USDCAD.

📘

Missing your favorite currency or asset pairs?

If you're not seeing a pair you were hoping (or expecting) to, please let us know.

Rate Format

DIVISOR (default)Exchange rate as a single number: starting total / rate = result total
MULTIPLIERExchange rate as a single number:
starting total * rate = result total
PRICEDExchange rate as multiplier and divisor, keyed on exchange rate units ("price in").
json { "USDBTC" : { "USD" : 3601.86255, "BTC" : 0.0002776341368162 } }

Experiment With Live Implementation

  1. Head to stackblitz to try the Wyre Demo via this link
  2. Select the "get-exchange-rates" folder
  3. Selet “get-exchange-rates.component.ts”
  4. Enter your Bearer Token (secret key) on line 31 shown with the white box in the screenshot below
  5. Run the function by clicking "Get Exchange Rates" button within the app interface on the right of the screen. This will provide all up-to-date exchange rates.
512