Skip to main content
GET
Prices a conversion. No funds move. The commission you see here comes from the fee floors described in the Conversions Overview.

Authorization

Dual auth — a secret API key with the conversions:read scope, or a dashboard JWT with the conversions:view permission. Dashboard sessions must belong to a merchant_admin, merchant_member or super_admin role; API-key callers are gated by scope only. See the Authentication guide. Rate limit: 30/min.
Carry the quote forward verbatim: echo fromAmountStr as the execute fromAmount, exchangeRate as quotedRate and toAmountStr as quotedToAmount on execute — that arms both drift guards and keeps 18-decimal amounts exact.

Query parameters

string
required
Source currency ticker.
string
required
Target currency ticker.
string
required
Validated as a positive decimal string (^\d{1,30}(\.\d{1,30})?$) and passed through as a string — send the exact decimal, not a float, so 18-decimal assets keep every digit.

Response fields

number
Rate used for the conversion. Internal mode: the price oracle’s rate. External mode: the effective rate implied by the quoted output (toAmount / netFromAmount).
number
The effective rate actually charged (commissionAmount / fromAmount), not the configured percentage. On a small order the fee floors lift this well above 0.4 %.
number
Commission in the source currency, rounded up at the source’s on-chain precision.
number
fromAmount − commissionAmount, rounded down.
number
What you receive. In external mode this is the quoted minimum output — normally the floor on what you are credited, but a late-deposit shortfall fill can complete below it, so reconcile on the executed conversion’s creditAmountStr, not on this quote. Prefer toAmountStr.
string
The output as an exact decimal string. Prefer this over toAmount.
string
The exact source amount as a decimal string — echo this back on execute.
string
Quote issue time + 60 s.
string
"internal" or "external". Absent means internal. See the execution modes.
number
External mode only — the price-protection band applied to this quote.
number
External mode only — settlement time estimate, or null when unreported.
object
Present only when the effective fee exceeds the 0.4 % base — see Fee breakdown. Omitted when the excess is below 0.01 percentage points, so a rounding hair never renders a “0.00 %” line. liddieFeePct + providerFeePct reconstructs commissionRate × 100.

Errors

Do not cache minimums. Re-quote; the numbers move.

See also

  • Execute a conversion: turn this quote into a real conversion — echo fromAmountStr, quotedRate and quotedToAmount.
  • Get cheaper targets: check whether another destination would net more for the same source amount.
  • Get liquidity: a quoted target can still be unbacked — verify before executing.
  • Conversions Overview: how the commission floors produce the commissionRate you see here.