# Uniswap Api AI integration on Definable

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

## What this connects

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

Vendor: https://uniswap.org

## Tools available

**7** tools available. First 7:

- `UNISWAP_API_CHECK_APPROVAL` — Check Token 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.
- `UNISWAP_API_CHECK_WALLET_DELEGATION` — 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 when checking if a smart contract wallet has delegated its swap permissions to another address or if someone has delegated to it.
- `UNISWAP_API_ENCODE7702_TRANSACTIONS` — Encode 7702 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 execution.
- `UNISWAP_API_GET_GASLESS_ORDERS` — 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 orders).
- `UNISWAP_API_GET_QUOTE` — 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 with estimated gas fees. Use when you need to get a quote for a token swap before executing the transaction.
- `UNISWAP_API_GET_SWAPPABLE_TOKENS` — 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` — 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 more swap transactions.

## Auth

Auth schemes: `API_KEY`.

## How agents use Uniswap Api

Inside a Definable workflow, Uniswap Api is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Uniswap Api** — the Researcher (GPT-5.5) pulls context from Uniswap Api (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Uniswap Api** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Uniswap Api (create record, post message, draft email).
- **Designer / Engineer → Distributor → Uniswap Api** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Uniswap Api (attach file, open PR comment, post status).

The Verifier checks every Uniswap Api call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/uniswap_api/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
