Soheil.fi
Soheil RouterDocs
Get started

Introduction

Soheil Router is a swap API for wallets, apps and bots: one request, one transaction, and a 0.1% fee, where other swap APIs take 0.15% to 0.25%.

What it is

For every request, Soheil Router finds the best price it can reach and returns one transaction to our own contract, SoheilRouter. That transaction takes the fees, runs the swap and sends the output to the user. If anything fails, or the output is below the minimum, it reverts as a whole and the user keeps their tokens.

Why Soheil Router

  • 0.1% fee. Other swap APIs take 0.15% to 0.25% (compare). More of every swap stays with your user and with you.
  • You earn on every swap. Add your own fee, 0 to 0.9%. It is paid to your wallet inside the same transaction: no invoice, nothing to claim.
  • Non-custodial. Funds go from the user's wallet through the contract to the recipient in one transaction. The contract holds nothing between trades and cannot be upgraded.
  • One integration. The same request and answer on every network, from one endpoint.
TodaySwaps within one EVM network. Bridges come next, through the same contract and the same API.

Base URL and formats

Base URL
https://api.soheil.fi/v1
  • Requests and answers are JSON.
  • Amounts are strings in the token's smallest unit (100 USDC is "100000000").
  • The network's own coin (ETH, BNB, POL, AVAX) is 0x0000000000000000000000000000000000000000.

Where next