curl --request POST \
--url https://api.sand.etherfuse.com/organization/{organizationId}/quote \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"destination": {
"id": "8c1d2e3f-4a5b-4c6d-8e7f-901a2b3c4d5e",
"type": "stored"
},
"destinationAsset": "USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"source": {
"id": "3f9a2c1e-5b7d-4e8f-9a01-2b3c4d5e6f70",
"type": "stored"
},
"sourceAmount": "1000",
"sourceAsset": "MXN"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
destination: {id: '8c1d2e3f-4a5b-4c6d-8e7f-901a2b3c4d5e', type: 'stored'},
destinationAsset: 'USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN',
source: {id: '3f9a2c1e-5b7d-4e8f-9a01-2b3c4d5e6f70', type: 'stored'},
sourceAmount: '1000',
sourceAsset: 'MXN'
})
};
fetch('https://api.sand.etherfuse.com/organization/{organizationId}/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/organization/{organizationId}/quote"
payload = {
"destination": {
"id": "8c1d2e3f-4a5b-4c6d-8e7f-901a2b3c4d5e",
"type": "stored"
},
"destinationAsset": "USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"source": {
"id": "3f9a2c1e-5b7d-4e8f-9a01-2b3c4d5e6f70",
"type": "stored"
},
"sourceAmount": "1000",
"sourceAsset": "MXN"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"createdAt": "2023-11-07T05:31:56Z",
"destinationAmount": "<string>",
"destinationAsset": "<string>",
"destinationRail": "spei",
"expiresAt": "2023-11-07T05:31:56Z",
"feeAmount": "<string>",
"feeBps": 1,
"fees": [
{
"amount": "<string>",
"asset": "<string>",
"bps": 123,
"type": "transactionFee"
}
],
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rateAfterFees": "<string>",
"rateBeforeFees": "<string>",
"sourceAmount": "<string>",
"sourceAsset": "<string>",
"sourceRail": "spei",
"midMarketRate": "<string>"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}Create quote
Prices a transfer from one payment account to another. Each account must belong to the organization in the route or to your API key’s organization. The quote and its order belong to the organization in the route, even when an account belongs to your organization, so quote under the organization you want the order reported under. Pass the quote’s quoteId to POST /organization/{organizationId}/order with the same organizationId before expiresAt; a quote is valid for 2 minutes.
One side must be a wallet. Supported shapes: fiat to crypto (onramp), crypto to fiat (offramp), a swap between two wallets on one chain or on two chains, and a transfer of one token between wallets on two chains. Fiat to fiat is not supported.
Rails. Each side moves on one rail. Omit sourceRail or destinationRail and we use the account’s default rail for that direction (the rail with isDefault: true in the account’s rails). When two of an account’s rails tie, name the rail. The account’s status for that direction on that rail must be ready, or the quote fails with 409 payment-account-not-ready.
Assets. Send an asset from GET /supported_assets: a currency code such as MXN for a fiat side, a token’s asset for a crypto side. Filter that list by paymentAccountId to see what each account can use. Send each side’s asset on that side’s chain. When both sides are the same token, pick the destination chain from the source token’s bridgeDestinations. When they are different tokens, we bridge to the chain where we exchange them and bridge the result to the destination chain.
Approval. The organization must be approved, or the quote fails with 409 organization-not-approved.
curl --request POST \
--url https://api.sand.etherfuse.com/organization/{organizationId}/quote \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"destination": {
"id": "8c1d2e3f-4a5b-4c6d-8e7f-901a2b3c4d5e",
"type": "stored"
},
"destinationAsset": "USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"source": {
"id": "3f9a2c1e-5b7d-4e8f-9a01-2b3c4d5e6f70",
"type": "stored"
},
"sourceAmount": "1000",
"sourceAsset": "MXN"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
destination: {id: '8c1d2e3f-4a5b-4c6d-8e7f-901a2b3c4d5e', type: 'stored'},
destinationAsset: 'USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN',
source: {id: '3f9a2c1e-5b7d-4e8f-9a01-2b3c4d5e6f70', type: 'stored'},
sourceAmount: '1000',
sourceAsset: 'MXN'
})
};
fetch('https://api.sand.etherfuse.com/organization/{organizationId}/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/organization/{organizationId}/quote"
payload = {
"destination": {
"id": "8c1d2e3f-4a5b-4c6d-8e7f-901a2b3c4d5e",
"type": "stored"
},
"destinationAsset": "USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"source": {
"id": "3f9a2c1e-5b7d-4e8f-9a01-2b3c4d5e6f70",
"type": "stored"
},
"sourceAmount": "1000",
"sourceAsset": "MXN"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"createdAt": "2023-11-07T05:31:56Z",
"destinationAmount": "<string>",
"destinationAsset": "<string>",
"destinationRail": "spei",
"expiresAt": "2023-11-07T05:31:56Z",
"feeAmount": "<string>",
"feeBps": 1,
"fees": [
{
"amount": "<string>",
"asset": "<string>",
"bps": 123,
"type": "transactionFee"
}
],
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rateAfterFees": "<string>",
"rateBeforeFees": "<string>",
"sourceAmount": "<string>",
"sourceAsset": "<string>",
"sourceRail": "spei",
"midMarketRate": "<string>"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}{
"detail": "quote 5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b has expired or does not exist",
"instance": "tag:etherfuse.com,2026-08-28:R2-10120/0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d",
"status": 400,
"title": "Quote expired",
"type": "https://docs.etherfuse.com/ramp/v2/errors/quote-expired",
"errors": [
{
"detail": "This field is required.",
"pointer": "#/accountDetails/clabe"
}
],
"missing": [
"<string>"
],
"required": [
"<string>"
],
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}Authorizations
Path Parameters
Body
Partner fee for this quote in basis points, in place of your organization's default partner fee. Values above 500 are capped at 500. We use it only when you quote for one of your customer organizations, and ignore it on a quote an organization makes for itself.
x >= 0Response
The quote.
Decimal string. What the destination receives after fees. On an onramp into a stablebond, we price the bond at the end of the order's funding window, so this is slightly less than today's price gives. See Fees.