Uniswap Api
Uniswap DEX trading API for swap quotes, token approvals, gasless orders, smart-wallet delegation, and EIP-7702 encoding.
Covers DeFi apps that quote swaps across 25+ chains, check token approvals, retrieve gasless orders, and bundle smart-wallet transactions.
Use Uniswap Api with Snow
Snow is a personal AI assistant that builds real apps for you, and they can put Uniswap Api to work.
What Snow can do with Uniswap Api
These are the Uniswap Api actions available to the apps you build with Snow. Connecting an account does not make Snow run these on its own.
Tool to check if a wallet has sufficient token approval for a specified transaction amount. Returns an approval transaction if needed, or null if approval already exists. Use this before executing a swap to verify or obtain the necessary token approval.
Get the current delegation status and message for a smart contract wallet across different chains. Returns delegation information for each chain ID in the request, including whether the wallet is delegated, the delegate address, and delegator information. Use when checking if a smart contract wallet has delegated its swap permissions to another address or if someone has delegated to it.
Encode a list of transactions into a single transaction for smart contract wallet execution (EIP-7702). All transactions must have the same chainId. Use when you need to batch multiple transactions into a single smart contract wallet transaction for atomic execution.
Retrieve one or more gasless orders from Uniswap, optionally filtered by query parameters. Must include at least one of: orderId, orderIds, orderStatus, swapper, or filler. Use when you need to check the status or details of Uniswap gasless orders (UniswapX orders).
Requests a quote according to the specified swap parameters. This endpoint may be used to get a quote for a swap, a bridge, or a wrap/unwrap. The resulting response includes a quote for the swap and the proposed route by which the quote was achieved, along with estimated gas fees. Use when you need to get a quote for a token swap before executing the transaction.
Tool to retrieve the current status of swap or bridge transactions on the Uniswap trading platform. Use when you need to check if a swap transaction has been confirmed, is pending, or has failed. Provide the transaction hash(es) to get the status of one or more swap transactions.
Returns the list of destination bridge chains for a given token on a given chain. Useful for discovering cross-chain swap/bridge options. Returns tokens that are available for swapping/bridging from the specified source token.
Ready to put Uniswap Api to work?
Sign up free, build an app by chatting, and connect Uniswap Api in minutes. No credit card required.