Swap API
No account and no email. FluSwap does not hold the tokens. The wallet in the quote signs the trade and receives the bought tokens. The fee is 1.50% of the amount sold.
Read the chains and the request shape from GET /api/v1. Ask for a quote with POST /api/v1/quote. The response includes the fee and the unsigned steps in route. A blocked quote has no steps. Sign only the steps you have checked.
POST https://fluswap.app/api/v1/quote {"user":"0xYourWallet","originChainId":8453,"destinationChainId":8453,"originCurrency":"0x0000000000000000000000000000000000000000","destinationCurrency":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","amount":"1000000000000000","tradeType":"EXACT_INPUT"}The example sells 0.001 ETH on Base for USDC. amount is the raw integer. Network cost and the price move are separate from the 1.50% fee. This is a beta. It is not investment, legal, or tax advice. You can lose the amount you send.