get/quote

Request

  • Base URL: https://developers.ledger.com (the document declares no server; this is the origin it was published from)
  • URL: https://developers.ledger.com/quote
  • Auth: API key in header X-API-KEY

Query parameters

fromstring required

Fiat currency at the ISO-4217 standard.

tostring required

Crypto currency ID using the LedgerId format.

payment-methodstring required

Payment method, valid values : card, googlepay, applepay, paypal, cryptocom, sepa, ach, instantach, fasterpayments, easybank, bank, cashapp, venmo, pix, mobikwik, easypay, astropay, upibanktransfer, sofort, bancontact, giropay, eps, ideal, other, revolut, p2p, interac, payid, spei, imps, gcash, ovo, shopeepay, grabpay, linkaja, maya, pse, dana, qris.

amountinteger required

Fiat amount to buy.

countrystring required

Country of the user at the Alpha-2 standard (ISO3166).

deststring required

Destination address of the buy.

Response

Quote information about the the buy.

  • "from": fiat currency of the buy
  • "to": crypto currency ID of the buy, using the LedgerId format
  • "amount": fiat amount
  • "cryptoAmount": crypto amount the user will have, must include all the fees
  • "dca": must be true if recurring purchases (dca) are allowed for this specific quote
fromstring required
tostring required
fiatAmountnumber required
cryptoAmountnumber required
dcaboolean

Changes

No recorded changes to this operation across all 1 revision of this API.