Get Quote

View as Markdown
Fetch a temporary price quote for a cryptocurrency sell transaction based on the selected fiat currency, cryptocurrency, payment method, and transaction amount. Because crypto prices are volatile, the returned quote is temporary and should be refreshed before order creation.

Authentication

x-api-keystring
Transak API key available from the Transak Dashboard.

Query parameters

tostringRequired
Fiat currency.
fromstringRequired

Crypto currency in Ledger format (ledgerId).

payment-methodstringRequired
Selected payment method in Ledger format.
amountstringRequired
Crypto currency amount.

Response

Quote generated successfully.
quoteIdstringformat: "uuid"
Temporary quote identifier returned by the wrapper.
amountFromstring
Source crypto amount submitted for quote generation.
amountTostring
Expected fiat payout amount.
providerFeesstring
Provider fee applied to the quote.
referralFeesstring
Referral fee applied to the quote.
expirydatetime
Quote expiry timestamp. Quotes should be refreshed regularly because pricing is volatile.

Errors

400
Bad Request Error
500
Internal Server Error