For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
DocsAPI Reference
    • End Points
  • PARTNER
    • GETGet Orders
    • GETGet Order By ID
    • GETGet Webhooks
    • POSTRefresh Access Token
    • POSTCreate Widget URL
  • COUNTRIES
    • GETGet Countries
  • CURRENCIES
    • GETGet Crypto Currencies
    • GETGet Fiat Currencies
    • GETGet Price
    • GETVerify Wallet Address
  • TRANSAK WHITELABEL API
    • End Points
  • LEDGER OFF-RAMP WRAPPER API
    • Overview
    • GETGet Capabilities
    • GETGet Crypto Currencies
    • GETGet Quote
    • GETGet Sell Redirect
    • POSTCreate Sell Order
Dashboard
LogoLogo
LEDGER OFF-RAMP WRAPPER API

Get Quote

||View as Markdown|
GET
/quote
GET
/ledger/v1/quote
$curl -G https://api-stg.transak.com/ledger/v1/quote \
> -H "x-api-key: " \
> -d to= \
> -d from= \
> -d payment-method= \
> -d amount=
1{
2 "quoteId": "e8720a2a-2b19-4674-a68f-f4fc3d065c64",
3 "amountFrom": "4",
4 "amountTo": "5549.21",
5 "providerFees": "57.23",
6 "referralFees": "173.42",
7 "expiry": "2025-03-13T10:31:12+00:00"
8}
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. ![Quote](https://assets.transak.com/doc/quote.png)
Was this page helpful?
Previous

Get Crypto Currencies

Next

Get Sell Redirect

Built with

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.

Quote

Headers

x-api-keystringRequired
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