Get Quote

View as Markdown
The **Get Quote** is a **public API call** that allows you to fetch a **temporary price quote** for a cryptocurrency transaction based on the selected **fiat currency, cryptocurrency, payment method, and transaction amount**. Since cryptocurrency prices are **volatile**, the returned quote is refreshed **every minute** to reflect the latest market price. After fetching the **supported cryptocurrencies and fiat currencies**, you must call getQuote to get the latest exchange rate. This quote is **critical** for KYC verification and order placement: **KYC Process:** - The **quote ID** must be passed when calling `Get KYC Requirement` . - Based on the **order amount**, the user may be required to complete different KYC tiers (**Simple KYC, Standard KYC**). **Order Placement:** - The **quote ID** is also required when calling `createOrder()` - At the time of payment settlement, Transak sends the **exact amount of cryptocurrency** based on the latest exchange rate at that moment. Thus, `getQuote` plays a **vital role** in the **entire order flow**, from **KYC verification to order execution**. Additional Postman request: Get KYC Reliance Quote

Query parameters

apiKeystringRequiredDefaults to YOUR_API_KEY
Your Api Key which you can get it from Transak Partner Dashboard for respective environment
fiatCurrencystringRequiredDefaults to EUR

Supported fiat currency symbol from /fiat/public/v1/currencies/fiat-currencies

cryptoCurrencystringRequiredDefaults to USDC

Supported crypto currency symbol from /cryptocoverage/api/v1/public/crypto-currencies

isBuyOrSellstringRequiredDefaults to BUY
Value should be 'BUY'
networkstringRequiredDefaults to ethereum

Supported crypto currency network from /cryptocoverage/api/v1/public/crypto-currencies

paymentMethodstringRequiredDefaults to pm_open_banking

Supported payment method from /fiat/public/v1/currencies/fiat-currencies

fiatAmountdoubleRequiredDefaults to 50
Amount in fiat currency
cryptoAmountdoubleRequiredDefaults to 55.24
Amount in crypto currency
partnerCustomerIdstringOptionalDefaults to 12345
Unique id for user provided by partner

Response

200 - Success

dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error