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

Headers

x-user-ipstringRequired

End user’s originating IP. More details here

x-api-keystringRequired
Partner API Key present in Transak Dashboard.

Query parameters

apiKeystringRequired
Your Api Key which you can get it from Transak Partner Dashboard for respective environment
fiatCurrencystringRequired

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

cryptoCurrencystringRequired

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

isBuyOrSellstringRequired
Value should be 'BUY' or 'SELL'
networkstringRequired

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

paymentMethodstringRequired

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

fiatAmountdoubleOptional
Amount in fiat currency
cryptoAmountdoubleOptional
Amount in crypto currency
partnerCustomerIdstringOptional
Unique id for user provided by partner
partnerOrderIdstringOptional
Unique id for order provided by partner

Response

200 - Success

dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error