Skip to main content

Endpoint

Authentication

Overview

Get real-time exchange rates between any two currencies. Bunny’s Currency Exchange API supports 160+ currencies and returns the current mid-market rate, the converted amount, and the timestamp of the last rate update.

Use cases

  • Display prices in the visitor’s local currency
  • Process multi-currency payments and invoices
  • Build currency converter widgets
  • Sync inventory prices across markets

Details

Rates are refreshed frequently and cached for up to 60 minutes. Provide from and to as ISO 4217 currency codes (e.g. USD, BRL, EUR). Optionally pass amount to get a converted value directly.

Query parameters

Response

200 OK

Example

401 Unauthorized

402 Payment Required

422 Unprocessable Entity

Invalid currency code.

429 Too Many Requests

cURL example