Skip to content
Fourohtwo

saylorinnovations.com/api/dex/quote

Uniswap V3 swap quote for any token pair on Ethereum, Base, Arbitrum, Optimism or Polygon: best fee tier or WETH hop, output amount, price impact and gas.

SolanaAnswering
GEThttps://saylorinnovations.com/api/dex/quote

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/dex/quote?chain=ethereum&token_in=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&amount_in=1000&token_out=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "chain": "ethereum",
  "token_in": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "amount_in": "1000",
  "token_out": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}

More from Saylor Innovations Data Desk