TrenchyToolsAPI

Quote

An exact quote, simulated as your wallet.

Also on Solana

pons charges a launch-window snipe tax that depends on who buys, so the quote is simulated as your wallet. Pass wallet for the exact number. Graduated coins are quoted on their Uniswap v4 pool by simulating the swap (venue: "v4"); pass holder for sells.

GEThttps://api.trenchytools.lol/api/rh/quote
FieldTypeDescription
tokenstringThe coin's 0x address.
actionstringbuy (amount in ETH) or sell (amount in tokens).
amountnumberHow much.
walletstringYour address. Required for an exact sell quote (it must hold the tokens).
cURL
curl "https://api.trenchytools.lol/api/rh/quote?token=TOKEN_ADDRESS&action=buy&amount=0.01&wallet=0xYOU&api-key=YOUR_API_KEY"
Response
{ "venue": "curve", "action": "buy", "ethIn": 0.01, "tokensOut": 5822825.4, "snipeTaxBps": 0, "bondingProgressPct": 5.88 }