GET
/
quotes
curl --request GET \
  --url https://api.sandbox.sardine.ai/v1/quotes \
  --header 'Authorization: Basic <encoded-value>'
{
  "quantity": 123,
  "price": 123,
  "subtotal": 123,
  "transactionFee": 123,
  "networkFee": 123,
  "total": 123,
  "assetType": "<string>",
  "network": "<string>",
  "expiresIn": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

asset_type
string
required

Cryptocurrency asset user wants to purchase

network
string
required

Blockchain on which the asset_type is present

total
number
required

Amount the user wants to buy or sell.

currency
string
default:USD

The currency type in which the quote is supplied

paymentType
enum<string>

The payment method that the user will use for the transaction

Available options:
ach,
debit,
credit,
us_debit,
international_debit,
international_credit
quote_type
enum<string>
default:buy

Select for the required activity buy for on ramp and sell for off ramp

Available options:
buy,
sell
walletAddress
string

Wallet address of User. This is used to calculate if User has previously used Sardine, and provide them with a more accurate quote.

Response

200 - application/json
OK

The response is of type object.