Skip to main content
An indicative quote returns a reference price for a corridor. It uses the same calculation path as a firm quote but does not persist, does not return a backend signature, and is not executable.

When to use

  • Display approximate FX rates in your UI before the user commits
  • Preview the full fee breakdown (fixed, variable, spread) for a given amount
  • Pre-flight check before requesting a firm quote

Request

Swap direction is determined entirely by which address you pass as from_token vs to_token. The pair and side fields appear in the response as server-derived values but are not request fields.

Example request

Response

Key response fields

All spread bps fields (base_bps, volatility_bps, etc.) are serialised as decimal strings and may be fractional ("3.5") or negative ("-0.5"). Parse them as strings, not integers.

How the numbers relate

1000 − 0.564971 (fixed) − 0.7 (variable) = 998.735029 USDT is swapped at mid → gross output 17,677,610.01 IDRX; the 14 bps spread → 24,748.66 IDRX; net output = 17,652,861.35 IDRX.

Errors