Skip to main content
GET
/
v1
/
exchange-amount
/
{amount}
/
{pair}
Get Estimated Amount
curl --request GET \
  --url https://api.swaplinq.com/v1/exchange-amount/{amount}/{pair}
{
  "estimatedAmount": 16.542891,
  "transactionSpeedForecast": "5-20",
  "warningMessage": null,
  "networkFee": 0.00042
}

Documentation Index

Fetch the complete documentation index at: https://docs.swaplinq.com/llms.txt

Use this file to discover all available pages before exploring further.

Fetches a real-time quote for an exchange pair. The Smart Routing Engine simultaneously queries all connected providers (Binance, ChangeNOW, Uniswap, etc.) and returns the absolute best effective rate.
amount
number
required
The amount of the input cryptocurrency you want to exchange.
pair
string
required
The trading pair formatted as fromCoin_toCoin. For example: btc_eth or eth_sol.

Response

estimatedAmount
number
The final amount the user will receive after all routing fees.
transactionSpeedForecast
string
Estimated completion time string format (e.g., “5-20” minutes).
networkFee
number
The on-chain miner/gas fee required to broadcast the transaction.
{
  "estimatedAmount": 16.542891,
  "transactionSpeedForecast": "5-20",
  "warningMessage": null,
  "networkFee": 0.00042
}