Get Quote
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.
Terms and disclaimers (US users):
To receive termsIds for US users, pass the user’s authentication headers for your flow:
- Non-Auth Reliance flow: pass
authorizationwith the user’s access token from the Verify User OTP API. - Auth Reliance flow: pass
x-access-tokenwith your partner access token andx-user-identifierwith the user’s email address. - Without these headers, Transak can’t identify the user, and
termsIdsis returned empty for US quotes.
Show the disclaimer for each ID in termsIds before the user places the order. See How to Display US Disclaimers.
Thus, getQuote plays a vital role in the entire order flow, from KYC verification to order execution.
Additional Postman request: Get KYC Reliance Quote
Headers
End user’s originating IP. More details here
Your authenticated user Email Id address. Pass it with x-access-token to receive termsIds for US users.
See How to Display US Disclaimer.
Note: This is applicable only for Auth Reliance Flows
Your Partner Access Token. Please refer here for a tutorial on
generating your access token. Pass it with x-user-identifier to receive termsIds for US users.
See How to Display US Disclaimer.
Note: This is applicable only for Auth Reliance Flows
Query parameters
Supported fiat currency symbol from /fiat/public/v1/currencies/fiat-currencies
Supported crypto currency symbol from /cryptocoverage/api/v1/public/crypto-currencies
Supported crypto currency network from /cryptocoverage/api/v1/public/crypto-currencies
Supported payment method from /fiat/public/v1/currencies/fiat-currencies
Response
200 - Success