Converts an amount between a fiat currency and USDC (either direction) at the current rate. Send currencyIn, currencyOut and exactly one of amountIn / amountOut (decimal strings, greater than 0); a currency is a ticker (USD, EUR, USDC) or a BXNK currency code. For a fiat/crypto pair the response also carries fees: BXNK's fee for the caller's Partner priced on this quote, with feeBreakdown (an admin sends pspId; send rail when the fiat has fee schedules on several rails); feesUnavailableReason says why when it could not be priced. The quote is indicative and firm for about 30 seconds; it is not stored and is not attached to a payment or payout, so the rate applied when funds settle can differ. 400 for an invalid request, 404 for a currency pair with no market, 503 when the banking partner cannot be reached (retry with backoff).
Gets the current exchange rate between a fiat currency and USDC, in either direction. Use it to show an estimate before a customer pays (fiat to USDC) or before you withdraw (USDC to fiat).
A quote is indicative and valid for about 30 seconds. It is not stored and not attached to any payment or payout. The rate used when money actually settles can be different.
Authentication
Requires a Product API bearer token: Authorization: Bearer <accessToken>.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
currencyIn | string | Yes | The currency you convert from, for example EUR or USDC. Not case-sensitive. |
currencyOut | string | Yes | The currency you convert to, for example USDC or EUR. Not case-sensitive. |
amountIn | string | One of the two | The amount of currencyIn to convert, as a decimal string greater than 0, for example "100" or "99.50". |
amountOut | string | One of the two | The amount of currencyOut you want to receive, as a decimal string greater than 0. |
Send exactly one of amountIn or amountOut.
{
"currencyIn": "USDC",
"currencyOut": "EUR",
"amountIn": "25"
}Response
200: returns data with the converted amounts.
| Field | Type | Description |
|---|---|---|
currencyIn | string | Currency converted from. |
currencyOut | string | Currency converted to. |
amountIn | string | Amount of currencyIn, as a decimal string. |
amountOut | string | Amount of currencyOut, as a decimal string. It can have many decimal places; round it for display. |
createdAt | string | When the quote was made (ISO 8601). |
expiresAt | string | When the quote stops being valid (ISO 8601). Not always present. |
{
"message": "FX quote retrieved successfully",
"data": {
"currencyIn": "USDC",
"currencyOut": "EUR",
"amountIn": "25",
"amountOut": "22.2050211864406793",
"createdAt": "2026-11-04T07:18:00Z"
}
}Errors
| Status | When it happens |
|---|---|
400 | Both or neither of amountIn and amountOut were sent (Send exactly one of amountIn or amountOut), or an amount is not a decimal string greater than 0, or a currency code is malformed. |
401 | The access token is missing, invalid or expired. |
404 | There is no exchange market for this currency pair. |
503 | The rate provider is temporarily unreachable. Try again with increasing waits between attempts. |

