# Uniswap Trading API

> Uniswap Labs' Trading API quotes and builds swap, bridge and liquidity transactions across Uniswap v2, v3, v4 and UniswapX on 21 chains. The caller signs with its own wallet and broadcasts; the API is free behind an API key.

- Canonical: https://www.anchorterminal.com/tools/uniswap
- Pricing: https://www.anchorterminal.com/tools/uniswap#pricing
- Reviews: https://www.anchorterminal.com/tools/uniswap#reviews
- Markdown: https://www.anchorterminal.com/tools/uniswap.md (~8,450 tokens)
- Slim: https://www.anchorterminal.com/tools/uniswap.min.md (~2,380 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/tools/uniswap.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT uniswap.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-04

## Overview

**Grade B · 63.3/100 · rank #446 of 1349 · #5 in Crypto exchanges · not agent-ready · confidence medium**


## Assessment

The Trading API is free, documented by an OpenAPI file with stable error codes, holds no keys since the caller signs every swap, and posts sunset notices 30 days ahead. There is no official MCP server, status page or sandbox, the key is a plain header secret at 6 requests a second, and the API terms refused our reader.

## Facts

| Field | Value |
| --- | --- |
| Vendor | Uniswap Labs (https://developers.uniswap.org) |
| Kind | HTTP API |
| Category | Crypto exchanges (https://www.anchorterminal.com/categories/crypto-exchanges) |
| Auth | API key · An API key from the Uniswap Developer Platform dashboard, sent as `x-api-key` on every request; the docs say to keep it server-side. The API never holds funds or keys. `/quote` returns `permitData` the user signs as EIP-712 typed data, `/swap` returns calldata the caller signs and broadcasts, and `/order` takes a signed UniswapX order. An optional `X-Agent-Info` header with `decision_origin` of `autonomous` or `human_mediated` attributes agent traffic (https://developers.uniswap.org/docs/trading/swapping-api/start-building/integration-guide, checked 2026-11-03). |
| Pricing | Free (Free) · The API is free, with no subscription or per-call charge, per the FAQ and the Developer Platform post of 16 April 2026. Swaps pay the pool fee and gas on chain; UniswapX orders are gasless for the swapper. Integrators may add up to 4 fee entries totalling at most 500 bips. Each key is limited to 6 requests a second (https://developers.uniswap.org/docs/trading/swapping-api/faqs, checked 2026-11-03). |
| x402 | No · No x402, MPP or L402 on the API's endpoints (checked 2026-11-03). The uniswap-ai repository's `pay-with-any-token` skill helps an agent pay HTTP 402 challenges (MPP or x402) by swapping tokens through Uniswap, which is a buyer-side skill, not a paid endpoint. |
| Licence | The Trading API is a proprietary hosted service under Uniswap Labs' API Terms of Use, which we couldn't read; the SDKs and the uniswap-ai skills are MIT. Swaps execute on the open-source Uniswap protocol contracts on chain |
| Tools exposed | 0 |
| Packages | npm: `@uniswap/v4-sdk` |
| Source | https://github.com/Uniswap/uniswap-ai |
| Docs | https://developers.uniswap.org/docs/trading/overview |
| llms.txt | https://developers.uniswap.org/llms.txt |
| Last release | 2026-10-22 |
| GitHub stars | 236 (as of 2026-11-03) |
| npm downloads / week | 153,782 |
| Surface listed | The Trading API at trade-api.gateway.uniswap.org/v1 (and the LP API at liquidity.api.uniswap.org), read from developers.uniswap.org (Markdown twins), the OpenAPI file, the changelog notices, blog.uniswap.org, the uniswap-ai repository, npm and the MCP registry on 3 November 2026. No key was made and no request was sent |
| MCP server | None found. Checked developers.uniswap.org (the Uniswap AI pages describe skills and plugins only), the Uniswap GitHub organisation and a shallow clone of Uniswap/uniswap-ai (no MCP server among its seven plugins; mcp appears only in hook-generator evaluation cases), and the official MCP registry, whose search returns io.github.junct-bot/uniswap-mcp 1.1.0 (hosted, 17 tools), io.github.Yummybait-fin/uniswap-tx-builder-mcp 0.4.3 and io.github.Elnaril/uniswap-universal-router-decoder 4.0.0, none of them Uniswap Labs' |
| What runs on chain | Routing and transaction building are hosted. Execution is on chain, classic swaps through the Universal Router (2.1.2 recommended) against Uniswap v2, v3 and v4 pools, UniswapX orders filled by market makers through the reactor contracts, Permit2 approvals, and EIP-7702 and EIP-5792 batched variants. Liquidity positions are minted and changed through the LP endpoints' calldata |
| Key permissions | One `x-api-key` per key, no scopes, no IP allow-list documented. The key only authorises quotes and calldata; funds move only when the caller signs. Key creation, rotation and revocation happen in the dashboard, which robots.txt disallows and was not read |
| Rate limits | 6 requests a second per key by default, 429 when exceeded, increases by the help form. Error responses carry an `x-agent-info-status` header |
| Testnet | No sandbox. Unichain Sepolia (1301), Base Sepolia (84532) and Ethereum Sepolia (11155111) are served through the production endpoints for classic swaps |
| Countries | Unchecked. The API Terms of Use on support.uniswap.org answered 403 and the Uniswap Labs terms at app.uniswap.org draw by script. The `/permissions` endpoint checks token KYC permissions for permissioned pools |
| Fees | The API charges nothing. Pool fees are set per pool on chain and gas is paid by the swapper on classic routes; UniswapX is gasless for the swapper. Integrators may add up to 4 fee recipients totalling at most 500 bips on exact-input swaps. Uniswap Labs says it never takes positive slippage |
| Chains | Classic swaps on 21 chains (Mainnet, OP Mainnet, BNB, Unichain, Polygon, Monad, X Layer, zkSync, World Chain, Soneium, Tempo, MegaETH, Robinhood Chain, Arc, Base, Arbitrum, Celo, Avalanche, Ink, Linea, Zora); UniswapX v2 on Mainnet, Arbitrum and Base and v3 on ten chains; bridges by `swappable_tokens` |
| WebSocket and FIX | None. REST only, with `GET /orders` and `GET /swaps` for status polling |
| Terms on automated trading | Unchecked, the API terms were unreadable (a search snippet describes a ban on passing keys to third parties and on fraudulent or manipulative trading). The docs name bots among the API's best-fit users and document the `X-Agent-Info` header for agents |
| Errors | JSON with `errorCode`, `detail` and `requestId`. 404 codes on `/quote` (QuoteAmountTooLowError, NoRouteFoundError, UnsupportedTokenError, UnsupportedChainError, UniswapXNotSupportedOnChainError, UpstreamTimeoutError, ResourceNotFound), 400 integrator-fee codes, 401 for a bad key, 422 when no balance-swap route can be built, 429 for the rate limit |
| SDKs and skills | No official client for the API; the docs point AI builders at the OpenAPI file. TypeScript SDKs for the protocol (@uniswap/v4-sdk 2.4.4, MIT, trusted publishing, 153,782 weekly downloads) do client-side quoting. uniswap-ai (MIT, 236 stars, pushed 26 October 2026) holds plugins uniswap-trading, uniswap-trading-tools (dca-bot, index-bot, copy-trade), uniswap-hooks, uniswap-viem, uniswap-driver, uniswap-cca and uniswap-permissioned-pools |
| Legal entity | Uniswap Labs, the copyright holder on uniswap-ai (Copyright (c) 2026 Uniswap Labs) and blog.uniswap.org. A search snippet of the unread API terms names Universal Navigation, Inc. as the provider; not confirmed first-hand |
| Capabilities | exchange.spot-trading, exchange.market-data, market.crypto, wallet.onchain |
| Tags | official, hosted, closed-source, openapi, llms-txt, api-key, free, no-card, typescript, agent-skills, no-status-page, security-txt, rest |
| JSON | https://www.anchorterminal.com/api/v1/tools/uniswap.json |

## Score breakdown (methodology v0.7, October 2026 research run)

Assessed 2026-11-03 from public evidence against the published checklist (https://www.anchorterminal.com/benchmark/#checklist). Confidence: medium. Performance and Task success pending (no score, not in the total); the total is Σ(score × weight) ÷ 80 over the 7 assessed categories. "This run" is each category's share of the 100 points.

| Category | Weight | This run | Score (0–100) | Points |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 20 | 42 | 8.4 |
| Performance | 10% | pending | pending | n/a |
| Schema & documentation | 13% | 16.2 | 90 | 14.6 |
| Agent ergonomics | 13% | 16.2 | 72 | 11.7 |
| Security & auth | 14% | 17.5 | 63 | 11.0 |
| Payments & pricing | 10% | 12.5 | 40 | 5.0 |
| Task success | 10% | pending | pending | n/a |
| Maintenance & community | 7% | 8.8 | 88 | 7.7 |
| Transparency & trust (editorial 35, provenance 74) | 7% | 8.8 | 55 | 4.8 |
| Negative events | up to −15 | up to −15 | none recorded | 0 |
| **Total** | | | | **63.3 → B** |

### Why each score

- Reliability 42 (checked 2026-11-03): Read with the hosted lines on the Trading API. status.uniswap.org redirects to the swap app and the docs link no status page (0). No readable history (5). Rate limit documented as 6 requests a second per key (15). The errors page says to pause all requests from the key on 429, retry 500 and 503 with backoff and refresh quotes after 30 seconds; swaps are signed transactions, so idempotency rests on the chain nonce (12 of 15). No SLA (0). The API is generally available; Guidestar routing is a beta notice (10). 0 + 5 + 15 + 12 + 0 + 10 = 42.
- Performance: Pending. Latency is measured per call by our probes, which haven't run yet, so this run doesn't score it. Its weight is shared across the assessed categories until the first probe window closes.
- Schema & documentation 90 (checked 2026-11-03): OpenAPI 3.0 file (Token Trading 1.0.0) for the Trading and LP APIs, about 33 paths with `x-internal` markers on the margin and 4337 operations (25). llms.txt, llms-full.txt and a Markdown twin of every docs page (10). Operation summaries are one line, but the guides say which routing types go to `/swap`, `/order` and `/plan`, when UniswapX quotes are returned and when a 404 means change the request (14 of 20). Enums for routing types, urgency and position statuses, required fields and bounded integers such as `limit` 1 to 20 (12 of 15). Examples on every guide page and error schemas for 400, 401, 404 and 429 with a stable `errorCode` enum and per-code retry advice (14 of 15). A /v1 path, a changelog with posted and effective dates and a 30-day minimum sunset policy (15). Total 90.
- Agent ergonomics 72 (checked 2026-11-03): An API, read for response sizing. Quotes and calldata are compact and `/tokens` takes a limit; the quote can carry the swap calldata to save a call (20 of 25). `GET /orders` and `GET /swaps` poll status by id, `/swappable_tokens` and `/tokens` filter by chain and sort, with little pagination elsewhere (12 of 20). Stable `errorCode` values with a `detail` string and a `requestId`, and the docs say which codes to retry (18 of 20). No idempotency key; a swap is a signed transaction whose nonce prevents a double spend, and the docs warn about nonce collisions with pending transactions (12 of 20). Few required fields on `/quote`, defaults for slippage and urgency, but no official client library for the API and signing needs ethers.js, viem or web3.js (10 of 15). Total 72.
- Security & auth 63 (checked 2026-11-03): A single `x-api-key` header, no scopes, no IP allow-list; revocation and rotation happen in a dashboard robots.txt disallows, so unchecked; nothing in a URL (18 of 30). The API never holds keys or funds, every value transfer needs the caller's signature on `permitData` and the transaction, and the swapper sets slippage (16 of 20). The API returns routes and token lists, not untrusted content (10). The dashboard presumably shows key usage; not read, and no per-call log is documented (5 of 15). security.txt on app.uniswap.org with a Cantina bounty and security@uniswap.org, protocol audits in the docs; no SOC 2 or disclosure timeline read (14 of 20). Total 63.
- Payments & pricing 40 (checked 2026-11-03): No machine payment protocol on the API's endpoints; the `pay-with-any-token` skill lets an agent pay other services' 402 challenges by swapping, which earns nothing here (0). The API is free, stated in the FAQ and the 16 April 2026 post, and integrator fees are capped at 500 bips (20). No card and no plan (20). A person creates an account in the dashboard to get a key (0). Total 40.
- Task success: Pending. Task success needs the category task suites run through each tool, which haven't run yet, so this run doesn't score it. Its weight is shared across the assessed categories until then. A data provider's data-quality score is published on its listing now and becomes half of this category when it's scored.
- Maintenance & community 88 (checked 2026-11-03): Read as a closed hosted service. The newest changelog notice is dated 22 October 2026 (30). Notices of 20 August, 21 September and 22 October 2026, three in 90 days (20). A help form for developer support that says it won't debug integrators' code, and uniswap-ai with 6 open issues and a push on 26 October (14 of 25). Official TypeScript SDKs current (@uniswap/v4-sdk 2.4.4 with provenance) and the uniswap-ai skills, though no client for the API itself; no MCP registry entry (15). Trusted publishing with provenance on npm, CI and lint hooks on uniswap-ai (9 of 10). Total 88.
- Transparency & trust 55 (checked 2026-11-03): The editorial half. The API is closed under API Terms of Use that answered 403; the SDKs and uniswap-ai are MIT and the protocol contracts are open source (15 of 30). No privacy policy read (app.uniswap.org draws by script) and nothing in the docs on retention of quotes or wallet addresses (0 of 30). A published sunset policy of at least 30 days, ideally 60, with dated notices such as the Universal Router 2.0 and 2.1.1 sunset of 21 October 2026 (20). No subprocessors or data locations (0 of 20). Total 35.

Fix list, everything this grade says the listing lacks, the biggest gain first (19 items). What it covers is at https://www.anchorterminal.com/fixes/uniswap.md (JSON https://www.anchorterminal.com/fixes/uniswap.json). The whole list for a coding agent comes from `POST https://www.anchorterminal.com/api/v1/fix-list` with `{"listing": "uniswap", "plan": "read"}`, free while the beta runs

### What we couldn't check

- unchecked: the API Terms of Use (support.uniswap.org answered 403), the Uniswap Labs terms and privacy policy (script-drawn), so restricted countries, data handling and the legal entity's full name rest on nothing first-hand beyond Uniswap Labs' name on its licence and blog.
- unchecked: the Developer Platform dashboard (robots.txt disallows /dashboard), so key rotation, revocation, usage logs and whether signup needs more than an email are unknown.
- unchecked: the remaining 240,000 characters of the OpenAPI file, including the security scheme definition and error schema fields; the header name comes from the docs.
- firstReleased is February 2026, the Developer Platform beta per the 16 April 2026 post, recorded as 2026-02-01 for want of a day; the Trading API itself predates the platform (Ledger and Fordefi integrations were announced in January 2025 per press releases not read), so the listed surface is older than this date.
- Judgement call on kind and name. Listed as http-api on the Trading API, the hosted surface an agent calls; the Uniswap protocol itself runs on chain and is not what is graded. The listing is named Uniswap Trading API so it isn't read as a grade of the protocol.
- Judgement call on category. Listed in crypto-exchanges per the batch; it is a swap router over on-chain pools, not an order-book exchange with accounts, so the exchange.balances and exchange.transfers capabilities don't apply.
- Our own products. It doesn't do LocalGhost's or letme's job. Graded the normal way.

### Sources

- developer portal home: <https://developers.uniswap.org/> (seen 2026-11-03)
- developer portal robots.txt: <https://developers.uniswap.org/robots.txt> (seen 2026-11-03)
- llms.txt: <https://developers.uniswap.org/llms.txt> (seen 2026-11-03)
- trading overview: <https://developers.uniswap.org/docs/trading/overview.md> (seen 2026-11-03)
- swapping API getting started: <https://developers.uniswap.org/docs/trading/swapping-api/getting-started> (seen 2026-11-03)
- integration guide: <https://developers.uniswap.org/docs/trading/swapping-api/start-building/integration-guide.md> (seen 2026-11-03)
- FAQs (rate limit, free, no sandbox, OpenAPI): <https://developers.uniswap.org/docs/trading/swapping-api/faqs> (seen 2026-11-03)
- supported chains: <https://developers.uniswap.org/docs/trading/swapping-api/supported-chains> (seen 2026-11-03)
- agent attribution header: <https://developers.uniswap.org/docs/trading/swapping-api/start-building/agent-attribution> (seen 2026-11-03)
- troubleshooting and error codes: <https://developers.uniswap.org/docs/trading/swapping-api/common-errors> (seen 2026-11-03)
- Uniswap AI overview: <https://developers.uniswap.org/docs/uniswap-ai/overview> (seen 2026-11-03)
- OpenAPI file (first 100,000 characters): <https://trade-api.gateway.uniswap.org/v1/api.json> (seen 2026-11-03)
- changelog policy: <https://developers.uniswap.org/docs/changelog.md> (seen 2026-11-03)
- changelog notice, improved API error codes: <https://developers.uniswap.org/docs/changelog/active-notifications/improved-api-error-codes.md> (seen 2026-11-03)
- changelog notice, Universal Router sunset: <https://developers.uniswap.org/docs/changelog/active-notifications/sunset-of-universal-router-2-0-and-2-1-1.md> (seen 2026-11-03)
- changelog notice, uppercase urgency values: <https://developers.uniswap.org/docs/changelog/active-notifications/uppercase-urgency-values.md> (seen 2026-11-03)
- Developer Platform post, 16 April 2026: <https://blog.uniswap.org/uniswap-developer-platform-is-live> (seen 2026-11-03)
- official MCP registry search: <https://registry.modelcontextprotocol.io/v0/servers?search=uniswap> (seen 2026-11-03)
- uniswap-ai repository (stars, issues) and shallow clone: <https://api.github.com/repos/Uniswap/uniswap-ai> (seen 2026-11-03)
- Uniswap organisation repositories (first page): <https://api.github.com/orgs/Uniswap/repos?per_page=100&sort=pushed> (seen 2026-11-03)
- npm @uniswap/v4-sdk latest: <https://registry.npmjs.org/@uniswap%2fv4-sdk/latest> (seen 2026-11-03)
- npm weekly downloads: <https://api.npmjs.org/downloads/point/last-week/@uniswap/v4-sdk> (seen 2026-11-03)
- security.txt: <https://app.uniswap.org/.well-known/security.txt> (seen 2026-11-03)
- API Terms of Use (403): <https://support.uniswap.org/hc/en-us/articles/43018872248589-API-Terms-of-Use> (seen 2026-11-03)
- status.uniswap.org (redirects to the app): <https://status.uniswap.org/> (seen 2026-11-03)
- RDAP for uniswap.org: <https://rdap.publicinterestregistry.org/rdap/domain/uniswap.org> (seen 2026-11-03)

## Score history

Every move of a score since the listing was graded, newest first, with its cause. A score can't move without an entry here. JSON: https://www.anchorterminal.com/api/v1/tools/uniswap/history.json

- 2026-11-03: graded 63.3 B (methodology 0.7)

## Who's behind it (provenance 74/100, checked 2026-11-03)

| Check | Finding | Points |
| --- | --- | --- |
| Legal entity named | Uniswap Labs | 20/20 |
| Domain age | uniswap.org, registered 2018-11-26 (7 years) | 11/15 |
| Endpoint on the vendor's domain | uniswap.org | 15/15 |
| Terms of service | published, but our reader couldn't read it | 7/10 |
| Privacy policy | not found | 0/10 |
| Status page | not found | 0/10 |
| Changelog | published | 10/10 |
| security.txt | valid | 10/10 |
| People named | 1 named with their role, none with a public profile | 7/10 |
| Support route | a support address, help pages, a community | 5/5 |

Uniswap Labs is the name on the uniswap-ai licence and the blog; the API Terms of Use (support.uniswap.org, answered 403) are said in a search snippet to name Universal Navigation, Inc., which was not read first-hand.

RDAP gives uniswap.org a registration date of 26 November 2018, registrar Cloudflare.

app.uniswap.org/.well-known/security.txt lists a Cantina bounty and security@uniswap.org with no Expires field; uniswap.org redirects to the app.

status.uniswap.org redirects to app.uniswap.org/swap, so no status page is recorded.

The privacy policy at app.uniswap.org draws by script and was not read. developers.uniswap.org/robots.txt disallows /dashboard, /api/ and /oauth/, so the key dashboard was not fetched; trade-api.gateway.uniswap.org has no robots.txt (404).

### Terms and privacy, as read

A reading by a fixed set of rules, each answered with the vendor's own sentence. Not legal advice.

**Terms of service** (https://support.uniswap.org/hc/en-us/articles/43018872248589-API-Terms-of-Use), read 2026-11-03. Our reader couldn't read it (the page answered HTTP 403 to our reader).


**Privacy policy**. We found no privacy policy published for this product, so there is nothing to read and the check scores 0.


## Humans behind the project (researched 2026-11-03 from public pages, not part of the grade)

### Key people

- Hayden Adams, Founder
- Note: Hayden Adams's role comes from his own posts on blog.uniswap.org; neither post states a title such as CEO, so he is listed as founder only, and no LinkedIn or X account for him is linked from a Uniswap page. Uniswap Labs has no about or team page we could read (uniswap.org redirects to the app, which draws by script). Investors from the Series B post of 13 October 2022 on the company's blog; the Series A post was looked for at blog.uniswap.org/uniswap-series-a (404) and not found by search, so earlier rounds list only the firms the Series B post calls longtime investors. Ownership private from the blog's description of Uniswap Labs as the company behind the products.
- Uniswap Labs: GitHub https://github.com/Uniswap

### Ownership and investors

- Raised: $165M Series B in total, as of October 2022 (source https://blog.uniswap.org/bringing-web3-to-everyone)
- Backed by: Polychain Capital, Andreessen Horowitz, Paradigm, SV Angel, Variant

### Getting support

- Support email: security@uniswap.org
- Help: https://developers.uniswap.org/docs?form=help
- Help: https://support.uniswap.org/
- Community (uniswap-ai issues): https://github.com/Uniswap/uniswap-ai/issues
- Sources: https://blog.uniswap.org/uniswap-history, https://blog.uniswap.org/bringing-web3-to-everyone, https://blog.uniswap.org/uniswap-developer-platform-is-live, https://developers.uniswap.org/docs/trading/swapping-api/faqs, https://app.uniswap.org/.well-known/security.txt, https://api.github.com/repos/Uniswap/uniswap-ai

## Live (updated 2026-11-04 15:53 UTC)

- security.txt: none
- Always current: https://www.anchorterminal.com/api/v1/live/uniswap.json

## Probe metrics

Not measured yet. Our benchmark probes haven't run, so there's no availability, latency or error rate from a run and Performance is pending. Live uptime, where we poll the endpoint, is under Live and doesn't change the score.

## Strengths

- OpenAPI 3.0 file, llms.txt, llms-full.txt and Markdown twins, with 400, 401, 404 and 429 schemas and a stable `errorCode` enum
- The API builds calldata and never holds funds or keys; the caller signs `permitData` and the transaction with its own wallet
- Free with no per-call charge, 21 chains for classic swaps and UniswapX on 10 of them
- Dated changelog notices with a 30-day minimum sunset policy, and the uniswap-ai skills (MIT) for coding agents
- A documented `X-Agent-Info` header for autonomous and human-mediated traffic, and retry guidance per error code

## Weaknesses

- No official MCP server; the registry's Uniswap entries are third parties
- No status page, no SLA and no sandbox; tests use production endpoints on testnets
- A single `x-api-key` per key with 6 requests a second and no scopes; the dashboard is disallowed by robots.txt so key management is unchecked
- The API Terms of Use and Uniswap Labs' terms and privacy policy are on a help centre that answered 403 or draw by script, so restricted countries and data handling are unchecked
- No official client library for the API; the TypeScript SDKs cover the protocol and quoting, not the API



## Before you call it (notes for agents)

1. Call `/check_approval` first, then `/quote`; if `permitData` is non-null sign it as EIP-712 and send `signature` and `permitData` together to `/swap` or `/order`, never one without the other
2. Route on the quote's `routing`: `CLASSIC`, `WRAP`, `UNWRAP` and `BRIDGE` go to `/swap`, `DUTCH_V2`, `DUTCH_V3` and `PRIORITY` to `/order`, `CHAINED` to `/plan`
3. Refresh any quote older than 30 seconds before broadcasting, and on 429 pause every request from the key before retrying
4. Retry unchanged only on `UpstreamTimeoutError`; `NoRouteFoundError` and `QuoteAmountTooLowError` need a different amount, token or `protocols` list
5. Send `X-Agent-Info` with `decision_origin: autonomous` and keep `x-api-key` server-side

## Connect

Install:

```bash
npx skills add Uniswap/uniswap-ai
```

First request:

```bash
curl -X POST https://trade-api.gateway.uniswap.org/v1/quote -H 'x-api-key: YOUR_UNISWAP_API_KEY' -H 'Content-Type: application/json' -d '{"tokenIn":"0x0000000000000000000000000000000000000000","tokenOut":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","tokenInChainId":1,"tokenOutChainId":1,"type":"EXACT_INPUT","amount":"1000000000000000000","swapper":"0xYourWallet"}'
```

Through letme: https://letme.dev/uniswap. letme answers with the pick and how to call it direct. How it works: https://www.anchorterminal.com/letme/index.md

## Similar tools

Ranked by shared capabilities, then score. Same-category tools with no shared capability key are listed last.

| Tool | Grade | Score | Rank | Shared capabilities | x402 | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| Hyperliquid | D | 50 | 1018 | exchange.spot-trading, exchange.market-data, market.crypto, wallet.onchain | no | https://www.anchorterminal.com/tools/hyperliquid.md |
| Gemini Exchange API | BB | 74.6 | 70 | exchange.market-data, exchange.spot-trading, market.crypto | no | https://www.anchorterminal.com/tools/gemini-exchange.md |
| Kraken API | BB | 71 | 159 | exchange.spot-trading, exchange.market-data, market.crypto | no | https://www.anchorterminal.com/tools/kraken.md |
| dYdX | B | 69.5 | 221 | exchange.market-data, market.crypto, wallet.onchain | no | https://www.anchorterminal.com/tools/dydx.md |
| OKX API | B | 64.3 | 413 | exchange.spot-trading, exchange.market-data, market.crypto | no | https://www.anchorterminal.com/tools/okx.md |
| Binance API | B | 63.2 | 448 | exchange.spot-trading, exchange.market-data, market.crypto | no | https://www.anchorterminal.com/tools/binance.md |

## Panel reviews (0)

Reviewed by the Anchor panel (https://www.anchorterminal.com/reviewers/index.md): .

Desk reviews, written from public documentation, pricing, terms, source and status history on 1 October 2026. No calls made. For a desk review, the outcome says whether the reviewer's questions could be answered from public material: success, partial or failure. How reviews work: https://www.anchorterminal.com/reviews/how-it-works.md

## Notable

- No official MCP server. The official MCP registry's search for uniswap lists three third parties (io.github.junct-bot/uniswap-mcp hosted, io.github.Yummybait-fin/uniswap-tx-builder-mcp, io.github.Elnaril/uniswap-universal-router-decoder); Uniswap Labs' own agent offering is uniswap-ai, a set of skills and Claude Code plugins installed with `npx skills add Uniswap/uniswap-ai`, which contains no MCP server (source: <https://registry.modelcontextprotocol.io/v0/servers?search=uniswap>)
- What runs on chain. The API finds a route and returns transaction data; the swap executes on the Universal Router against Uniswap v2, v3 and v4 pools, or as a UniswapX order filled by market makers, once the caller signs and broadcasts (source: <https://developers.uniswap.org/docs/trading/overview>)
- OpenAPI 3.0 file Token Trading 1.0.0 at trade-api.gateway.uniswap.org/v1/api.json with about 33 paths including check_approval, quote, swap, order, swap_7702, plan, the LP endpoints and internal margin endpoints, with 400, 401, 404 and 429 schemas and a stable `errorCode` enum (source: <https://trade-api.gateway.uniswap.org/v1/api.json>)
- Each API key is rate limited to 6 requests a second; on 429 the docs say to pause all requests from the key and cache quotes for about 30 seconds (source: <https://developers.uniswap.org/docs/trading/swapping-api/common-errors>)
- The changelog policy posts sunset notices at least 30 days before non-backwards-compatible changes; notices dated 20 August, 21 September and 22 October 2026 cover new 404 error codes, the Universal Router 2.0 and 2.1.1 sunset of 21 October, and uppercase `urgency` values from 6 November (source: <https://developers.uniswap.org/docs/changelog>)
- The Developer Platform beta opened in February 2026 and the 16 April 2026 post reports more than three thousand keys, about 200 ms routing, over 97% fill rates and 10 million assets across 18 chains, Uniswap Labs' figures (source: <https://blog.uniswap.org/uniswap-developer-platform-is-live>)
- No sandbox; tests run against Unichain Sepolia, Base Sepolia and Ethereum Sepolia through the production endpoints (source: <https://developers.uniswap.org/docs/trading/swapping-api/faqs>)

- #5 of 21 in Best crypto exchange APIs and MCP servers for AI agents: https://www.anchorterminal.com/best/crypto-exchanges/index.md
- All 210 exchanges comparisons: https://www.anchorterminal.com/compare/crypto-exchanges/index.md

## Compare

- [Bitfinex API vs Uniswap Trading API](https://www.anchorterminal.com/compare/bitfinex-vs-uniswap.md): C 58.4 vs B 63.3
- [Bitget vs Uniswap Trading API](https://www.anchorterminal.com/compare/bitget-vs-uniswap.md): D 53.9 vs B 63.3
- [Bithumb Open API vs Uniswap Trading API](https://www.anchorterminal.com/compare/bithumb-vs-uniswap.md): D 50.6 vs B 63.3
- [Bitstamp API vs Uniswap Trading API](https://www.anchorterminal.com/compare/bitstamp-vs-uniswap.md): D 50.4 vs B 63.3
- [Bybit vs Uniswap Trading API](https://www.anchorterminal.com/compare/bybit-vs-uniswap.md): C 57.3 vs B 63.3
- [Crypto.com Exchange API vs Uniswap Trading API](https://www.anchorterminal.com/compare/crypto-com-exchange-vs-uniswap.md): D 46.8 vs B 63.3
- [dYdX vs Uniswap Trading API](https://www.anchorterminal.com/compare/dydx-vs-uniswap.md): B 69.5 vs B 63.3
- [Gate vs Uniswap Trading API](https://www.anchorterminal.com/compare/gate-io-vs-uniswap.md): C 56.4 vs B 63.3
- [Gemini Exchange API vs Uniswap Trading API](https://www.anchorterminal.com/compare/gemini-exchange-vs-uniswap.md): BB 74.6 vs B 63.3
- [HTX trading API vs Uniswap Trading API](https://www.anchorterminal.com/compare/htx-vs-uniswap.md): E 43.3 vs B 63.3
- [KuCoin vs Uniswap Trading API](https://www.anchorterminal.com/compare/kucoin-vs-uniswap.md): D 53.9 vs B 63.3
- [MEXC API vs Uniswap Trading API](https://www.anchorterminal.com/compare/mexc-vs-uniswap.md): C 56.3 vs B 63.3
- [Binance API vs Uniswap Trading API](https://www.anchorterminal.com/compare/binance-vs-uniswap.md): B 63.2 vs B 63.3
- [Coinbase Advanced Trade API vs Uniswap Trading API](https://www.anchorterminal.com/compare/coinbase-advanced-trade-vs-uniswap.md): C 61.7 vs B 63.3
- [Coinbase MCP server (Coinbase for Agents) vs Uniswap Trading API](https://www.anchorterminal.com/compare/coinbase-mcp-vs-uniswap.md): C 60 vs B 63.3
- [Deribit vs Uniswap Trading API](https://www.anchorterminal.com/compare/deribit-vs-uniswap.md): C 59 vs B 63.3
- [Hyperliquid vs Uniswap Trading API](https://www.anchorterminal.com/compare/hyperliquid-vs-uniswap.md): D 50 vs B 63.3
- [Kraken API vs Uniswap Trading API](https://www.anchorterminal.com/compare/kraken-vs-uniswap.md): BB 71 vs B 63.3
- [OKX API vs Uniswap Trading API](https://www.anchorterminal.com/compare/okx-vs-uniswap.md): B 64.3 vs B 63.3
- [Uniswap Trading API vs Upbit Open API](https://www.anchorterminal.com/compare/uniswap-vs-upbit.md): B 63.3 vs C 54.7

## Verify this listing

For the vendor. The badge or a plain link to this page verifies the listing, from a page on uniswap.org or one of its subdomains, or the README at the root of github.com/Uniswap/uniswap-ai. It shows the listing is the vendor's and that the vendor knows it's here, and it never changes a grade, rank or review. The vendor sends the page's address to `POST https://www.anchorterminal.com/api/v1/verify` as `{"slug": "uniswap", "url": "…"}`, or calls the `verify_listing` tool at https://www.anchorterminal.com/mcp. We fetch the page once, then again every week; two failed checks in a row and the verification lapses, and a later pass restores it. What we check: https://www.anchorterminal.com/builders/index.md#verify

HTML badge:

```html
<a href="https://www.anchorterminal.com/tools/uniswap"><img src="https://www.anchorterminal.com/badges/uniswap.svg" alt="Uniswap Trading API on Anchor Terminal" height="20"></a>
```

Markdown badge, for a README:

```markdown
[![Uniswap Trading API on Anchor Terminal](https://www.anchorterminal.com/badges/uniswap.svg)](https://www.anchorterminal.com/tools/uniswap)
```

Plain link:

```html
<a href="https://www.anchorterminal.com/tools/uniswap">Uniswap Trading API on Anchor Terminal</a>
```

## Share this listing

For the vendor. Sharing assets for social media, two PNGs of 1200 × 630 that say Uniswap Trading API is listed on Anchor Terminal, with the vendor's logo and this page's address and no grade or score.

- Dark: https://www.anchorterminal.com/assets/share/uniswap-dark.png
- Light: https://www.anchorterminal.com/assets/share/uniswap-light.png

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
