For agents
Swap assets, buy products and fund exact outputs through one API. Start with live discovery, get a quote, then follow the order's next_actions.
Base URL: https://agent.uswap.net
MCP: https://agent.uswap.net/mcp
Machine-readable guide: llms.txt
No partner account is needed. Create a session and keep its token. Your agent uses its own authorized wallet to send deposits.
Choose a starting point
| Task | Guide |
|---|---|
| Make a swap or purchase | Quickstart |
| Connect an MCP client | MCP |
| Find assets, products and valid amounts | Discovery |
| Fund an exact output with several deposits | Pay Mode |
| Handle delays, holds and retries | Order lifecycle |
| Look up fields and operations | API reference |
What can run unattended?
Crypto swaps can run unattended once your agent has a destination, a spending limit and permission to use its wallet. uSwap chooses the route, including any intermediate legs.
Products use the same discovery and quote flow. Some need a username, region, recipient or another input. Fiat and peer flows may need a browser extension, a payment or proof from the user. When that happens, the order returns a browser action. Product management also opens in the app.
An agent should stop for those actions, explain what's needed and resume tracking afterwards. It should never claim a payment, proof or verification happened without evidence.
Keep control of the order
The session token controls orders created in that session. Save it before creating an order. Keep tokens, private order links and delivered credentials out of public messages and logs.
Committing a quote creates the order. Your wallet sends the funds. Reading an order, refreshing a quote or retrying an API call does not authorize another transfer.