POST
/
otc-exchanges
/
quote
Request an indicative OTC quote
curl --request POST \
  --url https://api.balansas.com/functions/v1/customer-api/otc-exchanges/quote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "sourceFrAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "destinationUtilaWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sourceAmountEur": "<string>",
  "side": "buy"
}
'
{
  "data": {
    "quoteId": "770e8400-e29b-41d4-a716-446655440002",
    "rate": "1.05",
    "destinationAmount": "105.00",
    "sourceCurrency": "EUR",
    "destinationCurrency": "USDC",
    "ttlExpiresAt": "2026-05-28T11:02:09.456Z",
    "ttlSeconds": 60,
    "indicative": true,
    "sourceAmountEur": "100.00",
    "sourceAmountUsdc": "100.000000"
  }
}

Authorizations

x-api-key
string
header
required

Customer API key. Send as x-api-key: sk_... or Authorization: Bearer sk_.... Write operations also require an X-CSRF-Token header (64-char hex).

Body

application/json
sourceFrAccountId
string<uuid>
required
destinationUtilaWalletId
string<uuid>
required
sourceAmountEur
string
required
Pattern: ^\d+(\.\d{1,2})?$
side
enum<string>
default:buy
Available options:
buy

Response

Success

data
object
required