Skip to Content
LandedFXDocs

Local currency → stablecoin

Price a pay-in in local currency that lands as a stablecoin on any chain.

curl -X POST https://api.landedfx.com/api/v1/quotes \
  -H "x-api-key: $LANDEDFX_KEY" -H "content-type: application/json" \
  -d '{ "from": "KES:mpesa", "to": "USDC:base", "amount": "150000" }'

A live result:

StepInOutCost
Buy USDT on Binance P2P (M-Pesa)150,000 KES1,152.60 USDT49.6 bps
Withdraw on BNB Chain1,152.60 USDT1,152.59 USDT0.1 bps
Swap via NEAR Intents1,152.59 USDT1,151.07 USDC13.2 bps

1,151.07 USDC landed, 62.6 bps all-in, against 1,158.32 at mid-market. The next routes withdrew on TON, Ethereum or Solana instead, each a few bps worse.

Tips

  • Name the rail. KES:mpesa and KES can price differently. The second may use a bank-only ad you can't pay.
  • Quote at your real size. Ads have minimums and maximums. A route that works for $100 may not exist at $10,000.
  • Landing USDT? Quote USDT:bsc or USDT:sol directly. The router skips the swap and only withdraws.

On this page