Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Revolut Foreign exchange API

Retrieve information on exchange rates between currencies, buy and sell currencies.For more information, see the guides: [Exchange money](https://developer.revolut.com/docs/guides/manage-accounts/exchange-money).

Revolut Foreign exchange API is one of 46 APIs that Revolut publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Foreign exchange. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 3 operations across 3 paths, and defines 13 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against 2 base URLs: https://b2b.revolut.com/api/1.0, https://sandbox-b2b.revolut.com/api/1.0.

3 operations 3 paths 13 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://b2b.revolut.com/api/1.0
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Revolut Foreign exchange API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (AccessToken).

  • AccessToken — Each Business API request must contain an authorization header in the following format to make a call: Bearer . The access token will be obtained the first tim…

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Foreign exchange 3

Retrieve information on exchange rates between currencies, buy and sell currencies. For more information, see the guides: [Exchange money](https://developer.revolut.com/docs/guide…

GET
/rate
Get an exchange rate
getRate 3 params → 200404default
POST
/exchange
Exchange money
exchangeMoney body → 200400default
GET
/exchange-reasons
Get exchange reasons
getExchangeReasons → 200default

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are ExchangeResponse (6 properties), ExchangeRequest (5 properties), ExchangeRateResponse (5 properties), ExchangePartTo (3 properties). Each schema is shown below with its type and property counts.

ExchangePartFrom
object
The details of the currency to exchange from.
3 properties 2 required
ExchangeResponse
object
6 properties
ExchangeReasonCode
string
The reason code for the exchange. Depending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason. You ca…
ExchangeRequest
object
The exchange information.
5 properties 3 required
ExchangeRateResponse
object
5 properties 5 required
Fee
object
2 properties
ExchangeReason
object
2 properties 2 required
ExchangePartTo
object
The details of the currency to exchange to.
3 properties 2 required
ExchangeReasons
array
The list of available exchange reasons.
TransactionState
string
Indicates the transaction state. Possible values: - created: The transaction has been created and is either processed asynchronously or scheduled for a later t…
AmountWithCurrency
object
2 properties
Currency
string
[ISO 4217](https://en.wikipedia.org/wiki/ISO4217) currency code in upper case.
Error
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

revolut-foreign-exchange-api-openapi.yml Raw ↑

Other APIs Revolut publishes across the network.

Revolut Accounting API
Revolut Accounting categories API
Revolut Accounts API
Revolut Apple Pay merchant registration API
Revolut Applications API
Revolut Balance API
Revolut Card invitations API
Revolut Cards API
Revolut Configuration API
Revolut Counterparties API
Revolut Customers API
Revolut Disputes API