# Uniswap Api

Uniswap Trading API for executing swaps and managing liquidity across 25+ blockchain networks

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Uniswap Api** authenticates with an API key. Generate the credential in your Uniswap Api account, then paste it into FlyMyAI the first time an agent uses an Uniswap Api action.

[Get your Uniswap Api credential →](https://developers.uniswap.org/dashboard/)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `API Key` | Your Uniswap API key from https://developers.uniswap.org/dashboard/ _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `UNISWAP_API_CHECK_APPROVAL` | 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. | `walletAddress`, `token`, `amount`, `chainId` |
| `UNISWAP_API_CHECK_WALLET_DELEGATION` | 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… | `wallet_addresses`, `chain_ids` |
| `UNISWAP_API_ENCODE7702_TRANSACTIONS` | 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 ex… | `calls`, `smartContractDelegationAddress`, `walletAddress` |
| `UNISWAP_API_GET_GASLESS_ORDERS` | 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 o… | - |
| `UNISWAP_API_GET_QUOTE` | 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 wi… | `amount`, `token_in`, `token_out`, `swapper` |
| `UNISWAP_API_GET_SWAPPABLE_TOKENS` | 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. | - |
| `UNISWAP_API_GET_SWAP_STATUS` | 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 mo… | `tx_hashes` |

## Links

- [Uniswap Api website](https://uniswap.org)
- [Get API key / credential](https://developers.uniswap.org/dashboard/)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
