v1

latestOpenAPI 3.1.02026-07-24540259.7 KB

getMidMarketRate

The getMidMarketRate query fetches the current mid-market rate for a currency pair. This does not lock a rate for a transfer. You can lock a rate with the getTransferQuote mutation.

post/graphql (33 disregard)

Request body

querystring

Response

200

Example response

{
  "data": {
    "getMidMarketRate": {
      "rate": "20.345898",
      "inverted_rate": "0.049150",
      "source_currency": "USD",
      "destination_currency": "MXN"
    }
  }
}