get_quote
READMCP + HTTP + SDK1 CALL
Best route, expected output, minimum received and price impact for swapping an exact amount of one token for another. Read-only.
Parameters
All parameters are sent as a JSON object.
fromstringToken to sell (ticker or address). Use ETH for native ether.
tostringToken to buy (ticker or address).
amountstringAmount of the `from` token, in whole units (e.g. "50" or "0.25").
slippageBps?numberMax slippage in basis points. Default 100 (1%).
Example request
Through MCP your AI sends the arguments below. Over HTTP, POST them to /api/v1/tools/get_quote.
get_quote({ "from": "USDG", "to": "TSLA", "amount": "50" })Example response
Read tools return data only.
{
"amountIn": "50",
"amountOut": "…",
"minOut": "…",
"priceImpact": 0.0004,
"route": ["USDG", "TSLA"],
"fee": "0.125 USDG",
"feeBps": 25,
"session": "regular"
}Notes
Routes cover Uniswap v2 and v3 pools, direct or through WETH or USDG. The fee shown is the Tradient fee for your plan.