Get a swap quote
Returns a price quote for swapping tokens between any two supported networks and token pairs. No authentication required.
Routing is handled internally:
- Same-chain pairs on POL or BSC — executed via the Rach FiatSwapV2 smart contract (0.3% platform fee)
- All other pairs — routed through a cross-chain bridge
The response format is identical regardless of the route taken.
amount_in must be in base units (wei / smallest denomination) as an integer string:
- USDT on Polygon (6 decimals):
1000000= 1 USDT - MATIC / BNB (18 decimals):
1000000000000000000= 1 MATIC / BNB - Use
"native"as the token address for the chain’s native coin (MATIC on POL, BNB on BSC)
Query Parameters
Source chain identifier (POL, BSC, ETH, ARB, etc.)
"POL"
Destination chain identifier
"BSC"
Token contract address on the source chain, or "native" for the chain's native coin
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
Token contract address on the destination chain, or "native"
"0x55d398326f99059fF775485246999027B3197955"
Amount to swap in base units (integer string, no decimals)
"1000000"
Response
Swap quote
Estimated completion time in seconds (same-chain ~30s, cross-chain varies)
30
Unix timestamp after which this quote should be refreshed
1720000030
Input amount in base units
"1000000"
"POL"
Fee deducted in base units
"3000"
Expected output amount in base units
"997012"
Minimum output after slippage (0.5% default)
"992047"
"BSC"

