THE DEVELOPER DESK API v1
Browse documentation
Getting started

Quick start

Make your first BankFXApi request: create an API key, send an authenticated exchange-rate request, and read the JSON response with a complete curl example.

Make your first request in three steps. You only need an account, an API key, and an HTTP client.

Get your API key

Create an account, verify your email, and open your workspace to find your API key. Keep this key private and store it in your application’s server environment.

Make a request

Retrieve the latest available USD to EUR reference rate:

curl --request GET \
  'https://api.bankfxapi.com/v1/rate/USD/EUR' \
  --header 'Authorization: YOUR_API_KEY'

Replace YOUR_API_KEY with the key from your workspace. Run this request on your server or in a local terminal; do not embed a private key in browser JavaScript.

Read the response

A successful response includes the base currency, target currency, rate, amount, converted value, and refresh date. The numbers below illustrate the response structure; they are not current rates.

{
  "code": 200,
  "message": "success",
  "base": "USD",
  "target": "EUR",
  "rate": 0.859107,
  "amount": 1,
  "converted": 0.859107,
  "last_update": "2026-06-04 15:26:44"
}

Pass ?amount=100 to calculate the converted value for 100 units of the base currency. See Currency conversion for the complete request and bulk conversion options.

Pick your next endpoint