Price a transfer
Read-only. Fees move, so a quote expires; building a transfer prices it again. A Solana recipient with no USDC account costs more; that is priced when the transfer is built.
Requests go to mainnet
Read-only. Fees move, so a quote expires; building a transfer prices it again. A Solana recipient with no USDC account costs more; that is priced when the transfer is built.
from*stringA chain, as the API names it.
"stellar""solana""sui""avalanche""optimism""arbitrum""base""polygon""unichain""codex""sonic""worldchain""monad""sei""xdc""hyperevm""ink""arc"to*stringA chain, as the API names it.
"stellar""solana""sui""avalanche""optimism""arbitrum""base""polygon""unichain""codex""sonic""worldchain""monad""sei""xdc""hyperevm""ink""arc"amount*stringUSDC, as a decimal string with at most 6 places.
^\d{1,12}(\.\d{1,6})?$speed?stringStandard waits for finality; Fast is attested sooner for Circle's fee.
"standard""fast"recipient?stringOptional. For Solana, pass it: a wallet with no USDC account yet costs more to deliver to, and the quote includes that.
1 <= length <= 128The price.
application/json- response
from*ChainIdA chain, as the API names it.
"stellar""solana""sui""avalanche""optimism""arbitrum""base""polygon""unichain""codex""sonic""worldchain""monad""sei""xdc""hyperevm""ink""arc"to*ChainIdA chain, as the API names it.
"stellar""solana""sui""avalanche""optimism""arbitrum""base""polygon""unichain""codex""sonic""worldchain""monad""sei""xdc""hyperevm""ink""arc"speed*SpeedStandard waits for finality; Fast is attested sooner for Circle's fee.
"standard""fast"amount*AmountOutUSDC, as a decimal string with at most 6 places.
^\d{1,12}(\.\d{1,6})?$recipientGets*AmountOutUSDC, as a decimal string with at most 6 places.
^\d{1,12}(\.\d{1,6})?$fees*minimum*AmountOutUSDC, as a decimal string with at most 6 places.
^\d{1,12}(\.\d{1,6})?$maximum*|nullcircleStatus*|nullexpiresAt*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timecurl -X GET 'https://api.xebra.exchange/v1/quote?from=stellar&to=stellar&amount=string'{ "from": "stellar", "to": "stellar", "speed": "standard", "amount": "string", "recipientGets": "string", "fees": { "xebra": "string", "circle": "string", "delivery": "string", "total": "string" }, "minimum": "string", "maximum": "string", "circleStatus": "ok", "expiresAt": "2019-08-24T14:15:22Z"}