DocsAPI Reference
Log In
API Reference

Create a crypto quote

Use this endpoint to request the current exchange rate of the selected fiat currency-cryptocurrency pair, and the required fees. Enter a fiat currency as the sourceCurrencyCode to buy crypto and enter a crypto currency in that field to sell crypto.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to US

Two-letter country code (ISO 3166-1 alpha-2)

string

Meld generated unique identifier for your customer. This should be used to track customer activity.

string
required
length ≥ 1
Defaults to BTC

Enter a cryptocurrency symbol here if purchasing crypto or a fiat currency 3 letter code if selling crypto.

string

Your unique identifier for your customer. If maintaining your own customer management system this can also be used for tracking customer activity.

string

Payment Method Type or SubType

The paymentMethodType and paymentMethodSubType included here are a sample set. Review the Supported Payment Methods section to view the complete list.

serviceProviders
array of strings

An optional list of Strings representing the Service Providers for this Quote.

Reference Crypto supported service providers for a full list of supported service providers

If this field is null or an empty list, Meld will get quotes from all the service providers linked to the API key used on the request.

serviceProviders
number
required
≥ 0
Defaults to 100

The source amount for this transaction.

string
required
length ≥ 1
Defaults to USD

Enter a fiat currency 3 letter code here if purchasing crypto or a cryptocurrency symbol if selling crypto.

string

subdivision is a optional parameter Only applicable if the country code is US or CA.

string

Your customer's wallet address

Responses

400

Bad Request : check request values and format

401

Invalid credentials

403

Unauthenticated or authenticated with insufficient access

500

Server Error. This applies to all 5xx errors, including but not limited to 500, 501, 502, 503, and 504 errors. You should treat all of these errors the same.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*