Get Exchange Rates

Get a list of all current 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 to, please let us know

Rate Format

The rate format used in the response can be controlled by the as query parameter. The rate format will default to DIVISOR if no query parameter as is provided. You may also request the MULTIPLIER and PRICED rate formats with the following queries:

curl --request GET \
     --url 'https://api.testwyre.com/v3/rates?as=priced' \
     --header 'Accept: application/json'
curl --request GET \
     --url 'https://api.testwyre.com/v3/rates?as=multiplier' \
     --header 'Accept: application/json'

Rate Format

Calculation

DIVISOR (default)

Exchange rate as a single number:

starting total / rate = result total

MULTIPLIER

Exchange rate as a single number:

starting total * rate = result total

PRICED

Exchange rate as multiplier and divisor, keyed on exchange rate units ("price in").

  "USDBTC" : {
    "USD" : 3601.86255,
    "BTC" : 0.0002776341368162
  } 
}```
Language
URL
Click Try It! to start a request and see the response here!