Finding supported assets: use GET /ramp/assets to list the supported
assets for quotes, ramps, and swaps, along with their identifier values.
Crypto assets use the CODE:ISSUER format (e.g.
USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN) — use the identifier
from the /ramp/assets response. Fiat currencies use standard codes (e.g. MXN). The
quote includes exchange rates, fees, and expiration information.
customerId: the org the quote is for. When you transact as your own org, use the id from GET /ramp/me. For child customers, use their org UUID.
Optional partner fee override in basis points (0–500). Applied directly as this quote's partner fee — there is no separate enable step. Resolution order: this per-quote override > your organization's default (partnerFeeDefaultBps) > 0. The resulting partner fee is folded into the quote's feeBps/feeAmount; it is not returned as a separate field on the response.
The amount of the destination asset the customer receives. Already net of all fees (platform fee plus any partner fee): destinationAmount = sourceAmount × exchangeRate. Do not subtract a fee from it again.
The effective, fee-inclusive rate the customer receives — all fees (platform and partner) are already reflected. Multiply by sourceAmount to get destinationAmount. For the raw pre-fee rate, use nominalRate.
Fee amount, equal to sourceAmount × feeBps, denominated in the source asset's currency (e.g., fiat for onramps; the source token for offramps and swaps — USDC when selling USDC, the bond token when selling a bond). Includes any partner fee.
Total fee in basis points (e.g., 20 = 0.20%). Combined fee that already includes any partner fee — subtract the partnerFeeBps you sent on the request to get the Etherfuse platform portion. The partner fee is not itemized separately on the quote response.
Pre-fee rate. exchange_rate is the effective rate after fees;
nominal_rate is the underlying market rate before any Etherfuse fee
deduction. UIs that want to render the raw market relationship cleanly
(e.g., "1 MXN = 1 MEXe" with the fee row shown separately) should read
this field. Always populated.
FX mid-market rate from a currency provider (e.g., USD/MXN). Only
populated for cross-currency quotes. Absent on direct stablebond
ramps and wraps — use nominal_rate for the pre-fee rate there.
Timestamp when the quote expires, as an RFC 3339 / ISO 8601 string (e.g. 2025-12-17T18:31:46Z) — never an epoch number. Quotes are valid for 2 minutes from creation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Etherfuse API","colors":{"primary":"#141414","light":"#E4FF3F","dark":"#141414"},"logo":{"light":"https://mintcdn.com/etherfuse/XRSchVFGUgreQatD/img/logo-black.svg?fit=max\u0026auto=format\u0026n=XRSchVFGUgreQatD\u0026q=85\u0026s=92cf84eca27df4a19f7b032da398d110","dark":"https://mintcdn.com/etherfuse/XRSchVFGUgreQatD/img/logo-white.svg?fit=max\u0026auto=format\u0026n=XRSchVFGUgreQatD\u0026q=85\u0026s=7c87780c9a248347ffe6357ccf6762ed","href":"https://etherfuse.com"},"favicon":"https://mintcdn.com/etherfuse/pF4txuzXWQE790kS/img/favicon.png?fit=max\u0026auto=format\u0026n=pF4txuzXWQE790kS\u0026q=85\u0026s=ac74be5f7f4605e75bc961be0c6e5ff9","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"],"autogenerate":true}},"navbar":{"links":[{"href":"https://cal.com/team/etherfuse/api-overview?overlayCalendar=true","label":"Book a demo"},{"href":"https://app.etherfuse.com","label":"App"}],"primary":{"type":"button","label":"Get sandbox keys","href":"https://sandbox.etherfuse.com/sign-in?returnTo=%2Faccount%2Fmanage"}},"footer":{"links":[{"items":[{"label":"Website","href":"https://etherfuse.com"},{"label":"App","href":"https://app.etherfuse.com"},{"label":"Book a demo","href":"https://cal.com/team/etherfuse/api-overview?overlayCalendar=true"}]}]},"fonts":{"family":"Figtree"},"integrations":{"posthog":{"apiKey":"phc_vJEpZk4aZr9PxdPqapjg8ZKWFybTTmDvAxZNg88LTuPu","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"etherfuse","hasAudioNarration":false,"actualSubdomain":"etherfuse","customDomains":["docs.etherfuse.com"],"gitSource":{"type":"github","owner":"etherfuse","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae2ae263591741d21b4527a","collectionId":"e1968250-873a-4d37-bbf8-16d0d86759ca","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2ae263591741d21b4527a"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae2ae263591741d21b4527a","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Reference","count":151},{"language":"default","tag":"Ramp API","count":72},{"language":"default","tag":"Guides","count":65},{"language":"default","tag":"KYC","count":20},{"language":"default","tag":"Lookup API","count":18},{"language":"default","tag":"Orders","count":17},{"language":"default","tag":"Organizations","count":16},{"language":"default","tag":"User Authentication","count":12},{"language":"default","tag":"Blockchains","count":12},{"language":"default","tag":"Integration Guides","count":12}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"global.css","content":"body{scrollbar-gutter:stable}.sandbox-playground-cta{display:block;margin:1rem 0 1.25rem;padding:1rem 1.25rem;border-radius:.75rem;border:1px solid #141414;background-color:#e4ff3f;color:#141414!important;text-decoration:none;transition:background-color .15s ease,box-shadow .15s ease}.sandbox-playground-cta:hover{background-color:#d8f32f;box-shadow:0 2px 8px rgba(20,20,20,.12);color:#141414!important}.sandbox-playground-cta__body,.sandbox-playground-cta__detail,.sandbox-playground-cta__title{color:inherit!important}.dark .sandbox-playground-cta{border-color:#e4ff3f;background-color:#e4ff3f;color:#141414!important}.dark .sandbox-playground-cta:hover{background-color:#d8f32f;color:#141414!important}.sandbox-playground-cta__title{display:block;font-size:1rem;font-weight:600;margin-bottom:.35rem}.sandbox-playground-cta__body{display:block;font-size:.95rem;line-height:1.45;font-weight:500}.sandbox-playground-cta__detail{display:block;margin-top:.35rem;font-size:.85rem;line-height:1.45;opacity:.85}"}],"page":{"pagePath":"api-reference/quotes/get-quote","slug":"/api-reference/quotes/get-quote","pageMetadata":{"title":"Get quote","description":"Retrieves a quote for converting between assets. Supports three quote types:\n- **Onramp**: fiat → crypto (`sourceAsset`: fiat currency code, `targetAsset`: asset identifier)\n- **Offramp**: crypto → fiat (`sourceAsset`: asset identifier, `targetAsset`: fiat currency code)\n- **Swap**: crypto → crypto (`sourceAsset`: asset identifier, `targetAsset`: asset identifier)\n\n**Finding supported assets:** use `GET /ramp/assets` to list the supported\nassets for quotes, ramps, and swaps, along with their `identifier` values.\n\nCrypto assets use the `CODE:ISSUER` format (e.g.\n`USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN`) — use the `identifier`\nfrom the `/ramp/assets` response. Fiat currencies use standard codes (e.g. `MXN`). The\nquote includes exchange rates, fees, and expiration information.\n\n**`customerId`:** the org the quote is for. When you transact as your own org, use the `id` from `GET /ramp/me`. For child customers, use their org UUID.","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/quote","href":"/api-reference/quotes/get-quote","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Retrieves a quote for converting between assets. Supports three quote types:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Onramp\"\n }), \": fiat → crypto (\", _jsx(_components.code, {\n children: \"sourceAsset\"\n }), \": fiat currency code, \", _jsx(_components.code, {\n children: \"targetAsset\"\n }), \": asset identifier)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Offramp\"\n }), \": crypto → fiat (\", _jsx(_components.code, {\n children: \"sourceAsset\"\n }), \": asset identifier, \", _jsx(_components.code, {\n children: \"targetAsset\"\n }), \": fiat currency code)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Swap\"\n }), \": crypto → crypto (\", _jsx(_components.code, {\n children: \"sourceAsset\"\n }), \": asset identifier, \", _jsx(_components.code, {\n children: \"targetAsset\"\n }), \": asset identifier)\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Finding supported assets:\"\n }), \" use \", _jsx(_components.code, {\n children: \"GET /ramp/assets\"\n }), \" to list the supported\\nassets for quotes, ramps, and swaps, along with their \", _jsx(_components.code, {\n children: \"identifier\"\n }), \" values.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Crypto assets use the \", _jsx(_components.code, {\n children: \"CODE:ISSUER\"\n }), \" format (e.g.\\n\", _jsx(_components.code, {\n children: \"USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN\"\n }), \") — use the \", _jsx(_components.code, {\n children: \"identifier\"\n }), \"\\nfrom the \", _jsx(_components.code, {\n children: \"/ramp/assets\"\n }), \" response. Fiat currencies use standard codes (e.g. \", _jsx(_components.code, {\n children: \"MXN\"\n }), \"). The\\nquote includes exchange rates, fees, and expiration information.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsxs(_components.strong, {\n children: [_jsx(_components.code, {\n children: \"customerId\"\n }), \":\"]\n }), \" the org the quote is for. When you transact as your own org, use the \", _jsx(_components.code, {\n children: \"id\"\n }), \" from \", _jsx(_components.code, {\n children: \"GET /ramp/me\"\n }), \". For child customers, use their org UUID.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get quote","description":"Retrieves a quote for converting between assets. Supports three quote types:\n- **Onramp**: fiat → crypto (`sourceAsset`: fiat currency code, `targetAsset`: asset identifier)\n- **Offramp**: crypto → fiat (`sourceAsset`: asset identifier, `targetAsset`: fiat currency code)\n- **Swap**: crypto → crypto (`sourceAsset`: asset identifier, `targetAsset`: asset identifier)\n\n**Finding supported assets:** use `GET /ramp/assets` to list the supported\nassets for quotes, ramps, and swaps, along with their `identifier` values.\n\nCrypto assets use the `CODE:ISSUER` format (e.g.\n`USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN`) — use the `identifier`\nfrom the `/ramp/assets` response. Fiat currencies use standard codes (e.g. `MXN`). The\nquote includes exchange rates, fees, and expiration information.\n\n**`customerId`:** the org the quote is for. When you transact as your own org, use the `id` from `GET /ramp/me`. For child customers, use their org UUID.","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/quote","href":"/api-reference/quotes/get-quote","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Quotes"],"summary":"Get quote","description":"Retrieves a quote for converting between assets. Supports three quote types:\n- **Onramp**: fiat → crypto (`sourceAsset`: fiat currency code, `targetAsset`: asset identifier)\n- **Offramp**: crypto → fiat (`sourceAsset`: asset identifier, `targetAsset`: fiat currency code)\n- **Swap**: crypto → crypto (`sourceAsset`: asset identifier, `targetAsset`: asset identifier)\n\n**Finding supported assets:** use `GET /ramp/assets` to list the supported\nassets for quotes, ramps, and swaps, along with their `identifier` values.\n\nCrypto assets use the `CODE:ISSUER` format (e.g.\n`USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN`) — use the `identifier`\nfrom the `/ramp/assets` response. Fiat currencies use standard codes (e.g. `MXN`). The\nquote includes exchange rates, fees, and expiration information.\n\n**`customerId`:** the org the quote is for. When you transact as your own org, use the `id` from `GET /ramp/me`. For child customers, use their org UUID.","operationId":"quote","requestBody":"f107f795-4121-4a94-949a-2ac01568963c","responses":{"200":"17ccb7e2-c58a-44a6-9fed-876b92e9710c","400":"e963e92c-c977-4a2f-947c-6090c6ff3fde","404":"7b43e33e-9139-4949-a850-33b7ec72383f","424":"08773ced-ddaa-4f33-af87-884270315635"},"method":"post","type":"path","servers":["6c2c243d-6c24-4622-b28e-d2865f581bea"],"security":["69e68c7f-d85c-4d8c-b466-41610f69663a"],"path":"/ramp/quote","baseUrlOptions":["https://api.sand.etherfuse.com"],"title":"Get quote","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["quoteId","customerId","blockchain","quoteAssets","sourceAmount"],"properties":{"blockchain":{"type":"string","description":"blockchain identifier (stellar, solana)","enum":["stellar","solana","base","polygon","monad","avalanche"],"isRequired":true,"uniqueKey":"blockchain","typeLabel":"enum\u003cstring>"},"customerId":{"type":"string","format":"uuid","description":"Organization the quote is for. Use `GET /ramp/me` → `id` when quoting for your own org; use a child customer's org UUID when quoting on their behalf.","isRequired":true,"uniqueKey":"customerId","typeLabel":"string\u003cuuid>"},"quoteAssets":{"oneOf":[{"type":"object","title":"Onramp","description":"Fiat → crypto: pay in fiat, receive a stablecoin/token on-chain.","required":["type","sourceAsset","targetAsset"],"properties":{"sourceAsset":{"type":"string","enum":["MXN","BRL"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.0.sourceAsset","typeLabel":"enum\u003cstring>"},"targetAsset":{"type":"string","description":"This should be the asset identifier for the destination blockchain that you are targeting","isRequired":true,"uniqueKey":"quoteAssets.oneOf.0.targetAsset","typeLabel":"string"},"type":{"type":"string","enum":["onramp"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"quoteAssets.oneOf.0","typeLabel":"Onramp · object"},{"type":"object","title":"Offramp","description":"Crypto → fiat: send a token on-chain, receive fiat in a bank account.","required":["type","sourceAsset","targetAsset"],"properties":{"sourceAsset":{"type":"string","description":"This should be the asset identifier for the source blockchain that you are originating from","isRequired":true,"uniqueKey":"quoteAssets.oneOf.1.sourceAsset","typeLabel":"string"},"targetAsset":{"type":"string","enum":["MXN","BRL"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.1.targetAsset","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["offramp"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"quoteAssets.oneOf.1","typeLabel":"Offramp · object"},{"type":"object","title":"Swap","description":"Crypto → crypto: swap one on-chain asset for another.","required":["type","sourceAsset","targetAsset"],"properties":{"sourceAsset":{"type":"string","description":"This should be the asset identifier for the blockchain that you are using","isRequired":true,"uniqueKey":"quoteAssets.oneOf.2.sourceAsset","typeLabel":"string"},"targetAsset":{"type":"string","description":"This should be the asset identifier for the blockchain that you are using","isRequired":true,"uniqueKey":"quoteAssets.oneOf.2.targetAsset","typeLabel":"string"},"type":{"type":"string","enum":["swap"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"quoteAssets.oneOf.2","typeLabel":"Swap · object"}],"isRequired":true,"uniqueKey":"quoteAssets","typeLabel":"Onramp · object | Offramp · object | Swap · object"},"quoteId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"quoteId","typeLabel":"string\u003cuuid>"},"sourceAmount":{"type":"string","isRequired":true,"uniqueKey":"sourceAmount","typeLabel":"string"},"partnerFeeBps":{"oneOf":[{"type":"integer","format":"int32","minimum":0,"maximum":500,"description":"Optional partner fee override in basis points (0–500). Applied directly as this quote's partner fee — there is no separate enable step. Resolution order: this per-quote override > your organization's default (partnerFeeDefaultBps) > 0. The resulting partner fee is folded into the quote's feeBps/feeAmount; it is not returned as a separate field on the response.","uniqueKey":"partnerFeeBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":0,"maximum":500,"description":"Optional partner fee override in basis points (0–500). Applied directly as this quote's partner fee — there is no separate enable step. Resolution order: this per-quote override > your organization's default (partnerFeeDefaultBps) > 0. The resulting partner fee is folded into the quote's feeBps/feeAmount; it is not returned as a separate field on the response.","uniqueKey":"partnerFeeBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"partnerFeeBps","typeLabel":"integer\u003cint32> | null"},"walletAddress":{"oneOf":[{"type":"string","description":"Optional Stellar wallet address. When provided for Stellar onramps, enables\ntrustline check and setup fee calculation.","uniqueKey":"walletAddress.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional Stellar wallet address. When provided for Stellar onramps, enables\ntrustline check and setup fee calculation.","uniqueKey":"walletAddress.oneOf.1","typeLabel":"null"}],"uniqueKey":"walletAddress","typeLabel":"string | null"}},"example":{"blockchain":"stellar","customerId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","quoteAssets":{"sourceAsset":"MXN","targetAsset":"USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5","type":"onramp"},"quoteId":"3f2a1b0c-9d8e-7f6a-5b4c-3d2e1f0a9b8c","sourceAmount":"1000","walletAddress":"GDUKMGUGD3V6VXTU2RLAUM7A2FABLMHCPWTMDHKP7HHJ6FCZKEY4PVWL"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"blockchain":"stellar","customerId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","quoteAssets":{"sourceAsset":"MXN","targetAsset":"USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5","type":"onramp"},"quoteId":"3f2a1b0c-9d8e-7f6a-5b4c-3d2e1f0a9b8c","sourceAmount":"1000","walletAddress":"GDUKMGUGD3V6VXTU2RLAUM7A2FABLMHCPWTMDHKP7HHJ6FCZKEY4PVWL"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"17ccb7e2-c58a-44a6-9fed-876b92e9710c":{"description":"The created quote","content":{"application/json":{"schema":{"type":"object","required":["quoteId","blockchain","quoteAssets","sourceAmount","destinationAmount","createdAt","updatedAt","exchangeRate","nominalRate","feeBps","feeAmount","requiresSwap"],"properties":{"blockchain":{"type":"string","description":"Canonical blockchain enum for API serialization.\nUse this type for JSON APIs and WebSocket messages.\nFor database storage, convert to `BlockchainType`.","enum":["stellar","solana","base","polygon","monad","avalanche"],"isRequired":true,"uniqueKey":"blockchain","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"destinationAmount":{"type":"string","description":"The amount of the destination asset the customer receives. Already net of all fees (platform fee plus any partner fee): destinationAmount = sourceAmount × exchangeRate. Do not subtract a fee from it again.","isRequired":true,"uniqueKey":"destinationAmount","typeLabel":"string"},"exchangeRate":{"type":"string","description":"The effective, fee-inclusive rate the customer receives — all fees (platform and partner) are already reflected. Multiply by sourceAmount to get destinationAmount. For the raw pre-fee rate, use nominalRate.","isRequired":true,"uniqueKey":"exchangeRate","typeLabel":"string"},"feeAmount":{"type":"string","description":"Fee amount, equal to sourceAmount × feeBps, denominated in the source asset's currency (e.g., fiat for onramps; the source token for offramps and swaps — USDC when selling USDC, the bond token when selling a bond). Includes any partner fee.","isRequired":true,"uniqueKey":"feeAmount","typeLabel":"string"},"feeBps":{"type":"string","description":"Total fee in basis points (e.g., 20 = 0.20%). Combined fee that already includes any partner fee — subtract the partnerFeeBps you sent on the request to get the Etherfuse platform portion. The partner fee is not itemized separately on the quote response.","isRequired":true,"uniqueKey":"feeBps","typeLabel":"string"},"nominalRate":{"type":"string","description":"Pre-fee rate. `exchange_rate` is the effective rate after fees;\n`nominal_rate` is the underlying market rate before any Etherfuse fee\ndeduction. UIs that want to render the raw market relationship cleanly\n(e.g., \"1 MXN = 1 MEXe\" with the fee row shown separately) should read\nthis field. Always populated.","isRequired":true,"uniqueKey":"nominalRate","typeLabel":"string"},"quoteAssets":{"oneOf":[{"type":"object","title":"Onramp","description":"Fiat → crypto: pay in fiat, receive a stablecoin/token on-chain.","required":["type","sourceAsset","targetAsset"],"properties":{"sourceAsset":{"type":"string","enum":["MXN","BRL"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.0.sourceAsset","typeLabel":"enum\u003cstring>"},"targetAsset":{"type":"string","description":"This should be the asset identifier for the destination blockchain that you are targeting","isRequired":true,"uniqueKey":"quoteAssets.oneOf.0.targetAsset","typeLabel":"string"},"type":{"type":"string","enum":["onramp"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"quoteAssets.oneOf.0","typeLabel":"Onramp · object"},{"type":"object","title":"Offramp","description":"Crypto → fiat: send a token on-chain, receive fiat in a bank account.","required":["type","sourceAsset","targetAsset"],"properties":{"sourceAsset":{"type":"string","description":"This should be the asset identifier for the source blockchain that you are originating from","isRequired":true,"uniqueKey":"quoteAssets.oneOf.1.sourceAsset","typeLabel":"string"},"targetAsset":{"type":"string","enum":["MXN","BRL"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.1.targetAsset","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["offramp"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"quoteAssets.oneOf.1","typeLabel":"Offramp · object"},{"type":"object","title":"Swap","description":"Crypto → crypto: swap one on-chain asset for another.","required":["type","sourceAsset","targetAsset"],"properties":{"sourceAsset":{"type":"string","description":"This should be the asset identifier for the blockchain that you are using","isRequired":true,"uniqueKey":"quoteAssets.oneOf.2.sourceAsset","typeLabel":"string"},"targetAsset":{"type":"string","description":"This should be the asset identifier for the blockchain that you are using","isRequired":true,"uniqueKey":"quoteAssets.oneOf.2.targetAsset","typeLabel":"string"},"type":{"type":"string","enum":["swap"],"isRequired":true,"uniqueKey":"quoteAssets.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"quoteAssets.oneOf.2","typeLabel":"Swap · object"}],"isRequired":true,"uniqueKey":"quoteAssets","typeLabel":"Onramp · object | Offramp · object | Swap · object"},"quoteId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"quoteId","typeLabel":"string\u003cuuid>"},"requiresSwap":{"type":"boolean","description":"Whether this quote requires an on-chain swap (true for FX ramps, false for stablebond ramps)","isRequired":true,"uniqueKey":"requiresSwap","typeLabel":"boolean"},"sourceAmount":{"type":"string","isRequired":true,"uniqueKey":"sourceAmount","typeLabel":"string"},"updatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"etherfuseMidMarketRate":{"oneOf":[{"type":"string","description":"FX mid-market rate from a currency provider (e.g., USD/MXN). Only\npopulated for cross-currency quotes. Absent on direct stablebond\nramps and wraps — use `nominal_rate` for the pre-fee rate there.","uniqueKey":"etherfuseMidMarketRate.oneOf.0","typeLabel":"string"},{"type":"null","description":"FX mid-market rate from a currency provider (e.g., USD/MXN). Only\npopulated for cross-currency quotes. Absent on direct stablebond\nramps and wraps — use `nominal_rate` for the pre-fee rate there.","uniqueKey":"etherfuseMidMarketRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"etherfuseMidMarketRate","typeLabel":"string | null"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"Timestamp when the quote expires, as an RFC 3339 / ISO 8601 string (e.g. 2025-12-17T18:31:46Z) — never an epoch number. Quotes are valid for 2 minutes from creation.","uniqueKey":"expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Timestamp when the quote expires, as an RFC 3339 / ISO 8601 string (e.g. 2025-12-17T18:31:46Z) — never an epoch number. Quotes are valid for 2 minutes from creation.","uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time> | null"}},"example":{"blockchain":"stellar","createdAt":"2026-05-02T09:14:00Z","destinationAmount":"58.42","etherfuseMidMarketRate":"17.15","exchangeRate":"17.12","expiresAt":"2026-05-02T09:16:00Z","feeAmount":"2.00","feeBps":"20","nominalRate":"17.15","quoteAssets":{"sourceAsset":"MXN","targetAsset":"USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5","type":"onramp"},"quoteId":"3f2a1b0c-9d8e-7f6a-5b4c-3d2e1f0a9b8c","requiresSwap":true,"sourceAmount":"1000","updatedAt":"2026-05-02T09:14:00Z"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"blockchain":"stellar","createdAt":"2026-05-02T09:14:00Z","destinationAmount":"58.42","etherfuseMidMarketRate":"17.15","exchangeRate":"17.12","expiresAt":"2026-05-02T09:16:00Z","feeAmount":"2.00","feeBps":"20","nominalRate":"17.15","quoteAssets":{"sourceAsset":"MXN","targetAsset":"USDC:GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5","type":"onramp"},"quoteId":"3f2a1b0c-9d8e-7f6a-5b4c-3d2e1f0a9b8c","requiresSwap":true,"sourceAmount":"1000","updatedAt":"2026-05-02T09:14:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"e963e92c-c977-4a2f-947c-6090c6ff3fde":{"description":"Invalid request","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7b43e33e-9139-4949-a850-33b7ec72383f":{"description":"No market exists for the requested asset pair on the requested blockchain (a `NoPathsFound`). Structural rather than transient; confirm the pair is supported on that chain instead of retrying.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"08773ced-ddaa-4f33-af87-884270315635":{"description":"A valid quote could not be produced for this trading path right now (a `FailedToGetQuote`): no liquidity was available, or the price/spread could not be guaranteed. Transient; retry with exponential backoff.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"69e68c7f-d85c-4d8c-b466-41610f69663a":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key sent in the Authorization header.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"6c2c243d-6c24-4622-b28e-d2865f581bea":{"url":"https://api.sand.etherfuse.com","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"API key sent in the Authorization header.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Authorization","type":"string","description":"API key sent in the Authorization header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"etherfuse","siteName":"Etherfuse API","title":"Get quote - Etherfuse API","navMaps":{"firstHrefInVersion":{"v2 (beta)":{"href":"/v2","matchLevel":4},"v1 (legacy)":{"href":"/api-reference/quotes/get-quote","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T23:26:07.348Z","originalFileLocation":"api-reference/quotes/get-quote.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieves a quote for converting between assets. Supports three quote types: - Onramp: fiat → crypto (sourceAsset: fiat currency code, targetAsset: asset identifier) - Offramp: crypto → fiat (sourceAsset: asset identifier, targetAsset: fiat currency code) - Swap: crypto → crypto (sourceAsset: asset identifier, targetAsset: asset identifier) Finding supported assets: use GET /ramp/assets to list the supported assets for quotes, ramps, and swaps, along with their identifier values. Crypto assets use the CODE:ISSUER format (e.g. USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN) — use the identifier from the /ramp/assets response. Fiat currencies use standard codes (e.g. MXN). The quote includes exchange rates, fees, and expiration information. customerId: the org the quote is for. When you transact as your own org, use the id from GET /ramp/me. For child customers, use their org UUID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Etherfuse API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get quote - Etherfuse API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves a quote for converting between assets. Supports three quote types: - Onramp: fiat → crypto (sourceAsset: fiat currency code, targetAsset: asset identifier) - Offramp: crypto → fiat (sourceAsset: asset identifier, targetAsset: fiat currency code) - Swap: crypto → crypto (sourceAsset: asset identifier, targetAsset: asset identifier) Finding supported assets: use GET /ramp/assets to list the supported assets for quotes, ramps, and swaps, along with their identifier values. Crypto assets use the CODE:ISSUER format (e.g. USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN) — use the identifier from the /ramp/assets response. Fiat currencies use standard codes (e.g. MXN). The quote includes exchange rates, fees, and expiration information. customerId: the org the quote is for. When you transact as your own org, use the id from GET /ramp/me. For child customers, use their org UUID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Etherfuse API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.etherfuse.com/api-reference/quotes/get-quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://etherfuse.mintlify.app/_mintlify/api/og/v2?division=Quotes\u0026amp;title=Get+quote\u0026amp;description=Retrieves+a+quote+for+converting+between+assets.+Supports+three+quote+types%3A%0A-+**Onramp**%3A+fiat+%E2%86%92+crypto+%28%60sourceAsset%60%3A+fiat+currency+code%2C+%60targetAsset%60%3A+asse\u0026amp;theme=a63046a1b6875a84019a21bc\u0026amp;signature=7028163eedd3dc9840ab8b746d1d9a9b429c20c271a24deab3afe6600b883e13\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get quote - Etherfuse API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves a quote for converting between assets. Supports three quote types: - Onramp: fiat → crypto (sourceAsset: fiat currency code, targetAsset: asset identifier) - Offramp: crypto → fiat (sourceAsset: asset identifier, targetAsset: fiat currency code) - Swap: crypto → crypto (sourceAsset: asset identifier, targetAsset: asset identifier) Finding supported assets: use GET /ramp/assets to list the supported assets for quotes, ramps, and swaps, along with their identifier values. Crypto assets use the CODE:ISSUER format (e.g. USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN) — use the identifier from the /ramp/assets response. Fiat currencies use standard codes (e.g. MXN). The quote includes exchange rates, fees, and expiration information. customerId: the org the quote is for. When you transact as your own org, use the id from GET /ramp/me. For child customers, use their org UUID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://etherfuse.mintlify.app/_mintlify/api/og/v2?division=Quotes\u0026amp;title=Get+quote\u0026amp;description=Retrieves+a+quote+for+converting+between+assets.+Supports+three+quote+types%3A%0A-+**Onramp**%3A+fiat+%E2%86%92+crypto+%28%60sourceAsset%60%3A+fiat+currency+code%2C+%60targetAsset%60%3A+asse\u0026amp;theme=a63046a1b6875a84019a21bc\u0026amp;signature=7028163eedd3dc9840ab8b746d1d9a9b429c20c271a24deab3afe6600b883e13\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/etherfuse/2PYR-_ECBzhTGa_z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Etherfuse API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141414\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.etherfuse.com/api-reference/quotes/get-quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/quotes/get-quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.etherfuse.com/#organization\",\"name\":\"Etherfuse API\",\"url\":\"https://docs.etherfuse.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/etherfuse/XRSchVFGUgreQatD/img/logo-black.svg?fit=max\u0026auto=format\u0026n=XRSchVFGUgreQatD\u0026q=85\u0026s=92cf84eca27df4a19f7b032da398d110\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.etherfuse.com#website\",\"name\":\"Etherfuse API\",\"url\":\"https://docs.etherfuse.com\",\"publisher\":{\"@id\":\"https://docs.etherfuse.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote#webpage\",\"url\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote\",\"name\":\"Get quote\",\"description\":\"Retrieves a quote for converting between assets. Supports three quote types: - Onramp: fiat → crypto (sourceAsset: fiat currency code, targetAsset: asset identifier) - Offramp: crypto → fiat (sourceAsset: asset identifier, targetAsset: fiat currency code) - Swap: crypto → crypto (sourceAsset: asset identifier, targetAsset: asset identifier) Finding supported assets: use GET /ramp/assets to list the supported assets for quotes, ramps, and swaps, along with their identifier values. Crypto assets use the CODE:ISSUER format (e.g. USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN) — use the identifier from the /ramp/assets response. Fiat currencies use standard codes (e.g. MXN). The quote includes exchange rates, fees, and expiration information. customerId: the org the quote is for. When you transact as your own org, use the id from GET /ramp/me. For child customers, use their org UUID.\",\"dateModified\":\"2026-10-28T23:26:07.348Z\",\"isPartOf\":{\"@id\":\"https://docs.etherfuse.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ramp API\",\"item\":\"https://docs.etherfuse.com/api-reference/assets/list-assets\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get quote\",\"item\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote#apireference\",\"headline\":\"Get quote\",\"name\":\"Get quote\",\"description\":\"Retrieves a quote for converting between assets. Supports three quote types: - Onramp: fiat → crypto (sourceAsset: fiat currency code, targetAsset: asset identifier) - Offramp: crypto → fiat (sourceAsset: asset identifier, targetAsset: fiat currency code) - Swap: crypto → crypto (sourceAsset: asset identifier, targetAsset: asset identifier) Finding supported assets: use GET /ramp/assets to list the supported assets for quotes, ramps, and swaps, along with their identifier values. Crypto assets use the CODE:ISSUER format (e.g. USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN) — use the identifier from the /ramp/assets response. Fiat currencies use standard codes (e.g. MXN). The quote includes exchange rates, fees, and expiration information. customerId: the org the quote is for. When you transact as your own org, use the id from GET /ramp/me. For child customers, use their org UUID.\",\"url\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.etherfuse.com/api-reference/quotes/get-quote#webpage\"},\"dateModified\":\"2026-10-28T23:26:07.348Z\",\"publisher\":{\"@id\":\"https://docs.etherfuse.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.etherfuse.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Etherfuse API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Etherfuse API","nav":{"global":null,"versions":[{"version":"v2 (beta)","default":true,"pages":[{"title":"v2 (beta)","href":"/v2"}]},{"version":"v1 (legacy)","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"API Authentication","href":"/authentication"},{"title":"Errors","href":"/errors"},{"title":"Pagination","href":"/pagination"},{"title":"Idempotency","href":"/idempotency"},{"group":"User Authentication","icon":"key","pages":[{"openapi":"openapi.json POST /auth/launch","title":"Launch a user into the app","href":"/api-reference/authentication/launch-a-user-into-the-app"},{"openapi":"openapi.json GET /auth/launch","title":"Launch a user via postMessage","href":"/api-reference/launch-via-postmessage"},{"title":"Exchange a partner JWT","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/token","href":"/api-reference/authentication/exchange-a-partner-jwt"}]},{"group":"Ramp API","icon":"money-bill-transfer","pages":[{"group":"Assets","icon":"coins","pages":[{"title":"List assets","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/assets","href":"/api-reference/assets/list-assets"},{"title":"Get one wallet's balances","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/balances","href":"/api-reference/assets/get-one-wallets-balances"}]},{"group":"Bank Accounts","icon":"building-columns","pages":[{"title":"Create bank account (presigned)","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/bank-account","href":"/api-reference/bank-accounts/create-bank-account-presigned"},{"title":"Get bank account","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/bank-account/{bank_account_id}","href":"/api-reference/bank-accounts/get-bank-account"},{"title":"List bank accounts","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/bank-accounts","href":"/api-reference/bank-accounts/list-bank-accounts"},{"title":"Search bank accounts","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/bank-accounts","href":"/api-reference/bank-accounts/search-bank-accounts"},{"title":"Create bank account (API)","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/bank-account","href":"/api-reference/bank-accounts/create-bank-account-api"},{"title":"List customer accounts","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customer/{customer_id}/bank-accounts","href":"/api-reference/bank-accounts/list-customer-accounts"},{"title":"Search customer accounts","description":"Retrieves bank accounts for a specific customer. The request body is optional —\nomitting it returns the first page with defaults (pageSize 30, pageNumber 0, no filters).","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/bank-accounts","href":"/api-reference/bank-accounts/search-customer-accounts"}]},{"group":"Quotes","icon":"tag","pages":[{"title":"Get quote","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/quote","href":"/api-reference/quotes/get-quote"}]},{"group":"Orders","icon":"receipt","pages":[{"title":"Create order","description":"Creates a new order for crypto/fiat conversion using a previously created quote.\n\n**Flow:**\n1. First, call `POST /ramp/quote` to get pricing and create a quote.\n2. Then, call this endpoint with the `quoteId` to execute the order.\n\nThe order inherits the blockchain, direction (onramp/offramp), and amounts from the\nquote. Quotes expire after 2 minutes, so create the order promptly after getting the quote.\n\n**Wallet resolution:** provide either `publicKey` or `cryptoWalletId` (or both). When\n`cryptoWalletId` is provided (typical for embedded wallets), `publicKey`, `blockchain`,\n`direction`, and amount fields are optional — they are derived from the quote and wallet record.\n\nFor onramps, the bank account must belong to your organization or a child organization.","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/order","href":"/api-reference/orders/create-order"},{"title":"Get order","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/order/{order_id}","href":"/api-reference/orders/get-order"},{"title":"Cancel order","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/order/{order_id}/cancel","href":"/api-reference/orders/cancel-order"},{"title":"Regenerate tx","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/order/{order_id}/regenerate_tx","href":"/api-reference/orders/regenerate-tx"},{"title":"Get order approval","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/order/{order_id}/approvals","href":"/api-reference/orders/get-order-approval"},{"title":"Submit order approval","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/order/{order_id}/approvals","href":"/api-reference/orders/submit-order-approval"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/orders","href":"/api-reference/orders/list-orders"},{"title":"Search orders","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/orders","href":"/api-reference/orders/search-orders"},{"title":"List customer orders","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customer/{customer_id}/orders","href":"/api-reference/orders/list-customer-orders"},{"title":"Search customer orders","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/orders","href":"/api-reference/orders/search-customer-orders"}]},{"group":"Statements","icon":"file-invoice-dollar","pages":[{"title":"List partner statements","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/partner-statements","href":"/api-reference/statements/list-partner-statements"},{"title":"Download statement CSV","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/partner-statements/{year}-{month}/csv","href":"/api-reference/statements/download-statement-csv"},{"title":"Download statement PDF","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/partner-statements/{year}-{month}/pdf","href":"/api-reference/statements/download-statement-pdf"}]},{"group":"WebSocket","icon":"plug","pages":[{"title":"Mint WebSocket token","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/ws-api-token","href":"/api-reference/websocket/mint-websocket-token"},{"title":"Connect to the live update stream","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/ws","href":"/api-reference/websocket/connect-to-the-live-update-stream"}]},{"group":"Swaps","icon":"right-left","pages":[{"title":"Swap assets","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/swap","href":"/api-reference/swaps/swap-assets"},{"title":"Regenerate swap tx","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/swap/{order_id}/regenerate_tx","href":"/api-reference/swaps/regenerate-swap-tx"}]},{"group":"Sponsored","icon":"hand-holding-dollar","pages":[{"title":"Approve EVM token","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/evm/approve","href":"/api-reference/sponsored/approve-evm-token"}]},{"group":"Customers","icon":"users","pages":[{"title":"Search customers","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customers","href":"/api-reference/customers/search-customers"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customers","href":"/api-reference/customers/list-customers"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customer/{customer_id}","href":"/api-reference/customers/get-customer"},{"title":"List a customer's organizations","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customer/{customer_id}/organization","href":"/api-reference/customers/list-a-customers-organizations"}]},{"group":"Wallets","icon":"wallet","pages":[{"title":"Register wallet","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/wallet","href":"/api-reference/wallets/register-wallet"},{"title":"Get wallet","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/wallet/{wallet_id}","href":"/api-reference/wallets/get-wallet"},{"title":"Delete wallet","deprecated":null,"version":null,"openapi":"/openapi.json delete /ramp/wallet/{wallet_id}","href":"/api-reference/wallets/delete-wallet"},{"title":"List wallets","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/wallets","href":"/api-reference/wallets/list-wallets"},{"title":"Search wallets","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/wallets","href":"/api-reference/wallets/search-wallets"},{"title":"Register customer wallet","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/wallet","href":"/api-reference/wallets/register-customer-wallet"},{"title":"List customer wallets","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customer/{customer_id}/wallets","href":"/api-reference/wallets/list-customer-wallets"},{"title":"Search customer wallets","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/wallets","href":"/api-reference/wallets/search-customer-wallets"}]},{"group":"KYC","icon":"id-card","pages":[{"title":"Get KYC status","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/customer/{customer_id}/kyc","href":"/api-reference/kyc/get-kyc-status"},{"title":"Submit verification data","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/verification","href":"/api-reference/kyc/submit-verification-data"},{"title":"Upload verification documents","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/verification/documents","href":"/api-reference/kyc/upload-verification-documents"},{"title":"Submit a verification questionnaire","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/verification/questionnaire","href":"/api-reference/kyc/submit-a-verification-questionnaire"},{"title":"Import a verified session","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/verification/import","href":"/api-reference/kyc/import-a-verified-session"},{"title":"List occupation categories","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/verification/occupations","href":"/api-reference/kyc/list-occupation-categories"}]},{"group":"Webhooks","icon":"bell","pages":[{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/webhook","href":"/api-reference/webhooks/create-webhook"},{"title":"Get webhook","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/webhook/{webhook_id}","href":"/api-reference/webhooks/get-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /ramp/webhook/{webhook_id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/webhooks","href":"/api-reference/webhooks/list-webhooks"}]},{"group":"Webhook Events","icon":"tower-broadcast","pages":[{"title":"Order updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook orderUpdated","href":"/api-reference/webhooks/order_updated"},{"title":"Swap updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook swapUpdated","href":"/api-reference/webhooks/swap_updated"},{"title":"Customer updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook customerUpdated","href":"/api-reference/webhooks/customer_updated"},{"title":"Bank account updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook bankAccountUpdated","href":"/api-reference/webhooks/bank_account_updated"},{"title":"Kyc updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook kycUpdated","href":"/api-reference/webhooks/kyc_updated"},{"title":"Kyb updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook kybUpdated","href":"/api-reference/webhooks/kyb_updated"}]},{"group":"Organizations","icon":"building","pages":[{"title":"Verify API key","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp","href":"/api-reference/organizations/verify-api-key"},{"title":"Get organization","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/me","href":"/api-reference/organizations/get-organization"},{"title":"Create child org","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/organization","href":"/api-reference/organizations/create-child-org"},{"title":"Add organization member","deprecated":null,"version":null,"openapi":"/openapi.json post /ramp/organization/{id}/member","href":"/api-reference/organizations/add-organization-member"},{"title":"List organization members","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/organization/{id}/member","href":"/api-reference/organizations/list-organization-members"},{"title":"Remove organization member","deprecated":null,"version":null,"openapi":"/openapi.json delete /ramp/organization/{id}/member/{customer_id}","href":"/api-reference/organizations/remove-organization-member"},{"title":"Revoke organization invite","deprecated":null,"version":null,"openapi":"/openapi.json delete /ramp/organization/{id}/member/invite/{email}","href":"/api-reference/organizations/revoke-organization-invite"},{"title":"Get KYB status","deprecated":null,"version":null,"openapi":"/openapi.json get /ramp/organization/{id}/kyb/status","href":"/api-reference/organizations/get-kyb-status"},{"title":"Rename organization","deprecated":null,"version":null,"openapi":"/openapi.json put /ramp/organization/{org_id}/name","href":"/api-reference/organizations/rename-organization"},{"title":"Set partner fee","deprecated":null,"version":null,"openapi":"/openapi.json put /ramp/partner-fee","href":"/api-reference/organizations/set-partner-fee"}]},{"group":"Sandbox API","icon":"flask","pages":[{"title":"Simulate Fiat Received","api":"POST https://api.sand.etherfuse.com/ramp/order/fiat_received","href":"/sandbox-api/fiat-received"}]},{"group":"Deprecated","icon":"ban","pages":[{"title":"Generate onboarding URL","deprecated":true,"version":null,"openapi":"/openapi.json post /ramp/onboarding-url","href":"/api-reference/deprecated/generate-onboarding-url"},{"title":"Get onboarding bank accounts","deprecated":true,"version":null,"openapi":"/openapi.json post /ramp/onboarding/bank-accounts","href":"/api-reference/deprecated/get-onboarding-bank-accounts"},{"title":"Submit KYC","deprecated":true,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/kyc","href":"/api-reference/deprecated/submit-kyc"},{"title":"Upload KYC docs","deprecated":true,"version":null,"openapi":"/openapi.json post /ramp/customer/{customer_id}/kyc/documents","href":"/api-reference/deprecated/upload-kyc-docs"},{"title":"Get KYB progress","deprecated":true,"version":null,"openapi":"/openapi.json get /ramp/organization/{id}/kyb/progress","href":"/api-reference/deprecated/get-kyb-progress"}]}]},{"group":"Lookup API","icon":"magnifying-glass","pages":[{"title":"List exchange rates","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/exchange_rate","href":"/api-reference/lookup/list-exchange-rates"},{"title":"Get exchange rate","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/exchange_rate/usd_to_{currency}","href":"/api-reference/lookup/get-exchange-rate"},{"title":"List stablebonds","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/stablebonds","href":"/api-reference/lookup/list-stablebonds"},{"title":"Get stablebond","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/stablebond/{identifier}","href":"/api-reference/lookup/get-stablebond"},{"title":"List token costs","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/tokens/cost","href":"/api-reference/lookup/list-token-costs"},{"title":"Get token cost","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/tokens/cost/{identifier}","href":"/api-reference/lookup/get-token-cost"},{"title":"List stablebond costs","deprecated":true,"version":null,"openapi":"/openapi.json get /lookup/bonds/cost","href":"/api-reference/lookup/list-stablebond-costs"},{"title":"Get stablebond cost","deprecated":true,"version":null,"openapi":"/openapi.json get /lookup/bonds/cost/{identifier}","href":"/api-reference/lookup/get-stablebond-cost"},{"title":"List country codes","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/country-codes","href":"/api-reference/lookup/list-country-codes"},{"title":"List restricted countries","deprecated":null,"version":null,"openapi":"/openapi.json get /lookup/restricted-countries","href":"/api-reference/lookup/list-restricted-countries"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]}]},"title":"Get quote - Etherfuse API","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}