Skip to main content

Get Cryptocurrencies rates

In order to get the available cryptocurrencies for the business, you need to send a GET request to the following endpoint:

GET https://www.mimbla.com/api/v1/merchant/rates/{crypto}
  • crypto - The cryptocurrency symbol, can be BTC, BCH, LTC, or XMR

Example Request

GET https://www.mimbla.com/api/v1/merchant/rates/BTC
Content-Type: application/json

Example Successful Response

If your request is successful, you will receive a response with the http status code 200 Ok and the following body:

{
"usd": "55272.93",
"eur": "50029.74",
"gbp": "42246.46"
}

For now we only support the price in USD, EUR, and GBP, the rates are updated every 5 minutes and are provided in USD, EUR, and GBP.

Example Error Response

If your request is unsuccessful, you will receive a response with the http status code 404 Not Found and the following body:

{
"error": "Crypto not found"
}

If you want know more about the available cryptocurrencies and how we calculate the rates, you can check the Accuracy and precision of the rates explanation in our basic concepts.