Skip to main content
GET
Get exchange rate for currency pair
Retrieve exchange rates between different currencies (fiat and crypto).
Important: The fromCurrency and toCurrency must be of opposite types (one fiat, one crypto). For example: NGN to USDT, USD to BTC, etc.

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/auth/token/issue. Send as: Authorization: Bearer <access_token>

Query Parameters

fromCurrency
enum<string>
required

Source currency (fiat or crypto)

Available options:
NGN,
USDC,
USDT
toCurrency
enum<string>
required

Target currency (opposite type of fromCurrency)

Available options:
NGN,
USDC,
USDT

Response

Rate retrieved successfully

message
string
required
Example:

"Rate retrieved successfully"

data
object
required