Wyre Documentation
  • 📡Wyre Documentation
  • Home
  • 👥Account Onboarding
    • Account Overview
    • Use Cases
    • Pricing
    • API Calls
      • Create Account
      • Get Account
      • Update Account
      • Upload Document
  • 🔗Wallets
    • Use Cases
    • Managing Wallets
      • Creating a Wallet
      • Create Mulitple Wallets
      • Lookup Wallet
      • Edit Wallet
      • List Wallets
      • Delete Wallet
    • Wallet Callbacks
  • 💳Payments
    • Limits + Coverage
    • Pricing
    • Chargeback + Risk
    • Accepted Payment Methods
    • Global Card Processing
      • Hosted Redirect Operation
      • Browser Dialog (Popup) Operation
      • Understanding Transaction Statuses
        • Wallet Order Errors and Exceptions (Failure Reasons)
      • Additional Widget Functionality and Features
        • Checking Limits
        • Tracking Orders
      • Widget FAQs
      • ⚠️ Wallet Order Reservations | Required! ⚠️
      • API Calls To Help Monitor Transactions
        • Track Widget Order
        • Check A User's Transaction Limits
        • Check Supported Countries
      • Client-Side Encryption 👻
  • 🌏Global Payouts
    • Use Cases
    • Limits + Coverage
    • Pricing
    • Supported Countries
    • Country Requirements
    • 🔥Blockchain + Banks
    • 🔥Instant Payouts to Debit Card
  • 💱Foreign Exchange
    • Exchange Rates
  • Methodologies
  • Payment Methods
    • API Calls
      • Creating a Payment Method- ACH
      • List Payment Methods
      • Create a Payment Method- Wire Transfer
      • Get Payment Method
      • Attach Blockchain to Payment Method
  • Transfers
    • API Calls
      • Creating a Transfer
      • Confirm a Transfer
      • Get Transfer
      • Transfer History
  • Data Subscriptions
    • Subscribe Webhook
    • Get Subscriptions
    • Delete Webhook
  • Resources
  • ✅Going Live
  • Testing Enviornment
  • Understanding API Errors
  • System Resource Name
  • Rate Limiting
  • Authentication & Key Management
    • Authorization Tokens
    • Create an API Key
    • Delete an API Key
    • Authentication Code Examples
  • Wyre Brand Assets
    • 🎨Color Palette And Wyre Logos
  • Links
    • 🧪Test Wyre Dashboard
    • 🗣️ Wyre's Discord
Powered by GitBook
On this page
  • Rate Format
  • Get Exchange Rates

Was this helpful?

  1. Foreign Exchange

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 trading pair in the key represents the direction of an exchange. For example, BTCUSD is the rate used for BTC into USD conversions (e.g. the sell rate). On the other hand, converting USD into BTC (the buy rate) would use the opposite rate under USDBTC.

Different Views of the Exchange Rate

You can also view the rates in different formats according to your preference:

https://api.sendwyre.com/v2/rates?as=divisor - source amount / rate = destination amount (default)

https://api.sendwyre.com/v2/rates?as=multiplier - source amount * rate = destination amount

https://api.sendwyre.com/v2/rates?as=priced&pretty&format=json_numberstring - shows both divisor and multiplier values

https://api.sendwyre.com/v2/rates?as=priced&pretty&format=csv - downloads rates as CSV file

For example, if 1 BTC is selling at 9000 USD, USDBTC will be 9000 in the divisor view and (1/9000) in the pretty view.

Rate Format

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").

Get Exchange Rates

GET https://api.sendwyre.com/v3/rates

Path Parameters

Name
Type
Description

as

string

One of DIVISOR, MULTIPLIER, or PRICED. Dictates the structure and meaning of the numbers in the response

PreviousForeign ExchangeNextPayment Methods

Last updated 4 years ago

Was this helpful?

💱