Skip to main content
POST
/
ramp
/
quote
Get quote for conversion
curl --request POST \
  --url https://api.etherfuse.com/ramp/quote \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "blockchain": "stellar",
  "quoteAssets": {
    "type": "onramp",
    "sourceAsset": "MXN",
    "targetAsset": "<string>"
  },
  "sourceAmount": "<string>"
}
'
{
  "quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "blockchain": "stellar",
  "quoteAssets": {
    "type": "onramp",
    "sourceAsset": "MXN",
    "targetAsset": "<string>"
  },
  "sourceAmount": "<string>",
  "destinationAmount": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "expiresAt": "2023-11-07T05:31:56Z",
  "exchangeRate": "<string>",
  "feeBps": "<string>",
  "feeAmount": "<string>",
  "destinationAmountAfterFee": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Pass the key directly (e.g., Authorization: your-api-key). Do not use a Bearer prefix.

Body

application/json
quoteId
string<uuid>
required

Unique identifier for the quote

customerId
string<uuid>
required

ID of the customer requesting the quote

blockchain
enum<string>
required

Blockchain for the quote

Available options:
stellar,
solana,
base,
polygon,
monad
quoteAssets
Onramp · object
required

Quote assets configuration based on quote type

sourceAmount
string
required

Amount of the source asset

Response

Quote retrieved successfully

quoteId
string<uuid>
required

Unique identifier for the quote

blockchain
enum<string>
required

Blockchain for the quote

Available options:
stellar,
solana,
base,
polygon,
monad
quoteAssets
Onramp · object
required
sourceAmount
string
required

Amount of the source asset

destinationAmount
string
required

Amount of the destination asset after conversion

createdAt
string<date-time>
required

Timestamp when the quote was created

updatedAt
string<date-time>
required

Timestamp when the quote was last updated

expiresAt
string<date-time>
required

Timestamp when the quote expires

exchangeRate
string
required

Exchange rate between source and destination assets

feeBps
string | null

Fee in basis points (e.g., "20" = 0.20%)

feeAmount
string | null

Fee amount in source asset currency

destinationAmountAfterFee
string | null

Amount the user actually receives after fees are deducted