Agents & API
Agents overview
What agents can do
The oxley Agent API lets software swap tokens on Elysium and bridge assets across chains. It is a JSON API over HTTP, with an MCP server for agent frameworks that speak MCP.
SwapPrice a swap between tokens listed on Elysium, using the best route of 0x and Nest, then build it and check that it succeeded.BridgeRead the chains, tokens and lanes the bridge offers, quote every hop of a transfer, build the first leg and follow it to delivery.FeesAdd your own integrator fee on top of oxley’s. It is paid straight to the address you choose.VolumeReport what your agent sent. Confirmed volume over 30 days raises your limits.
Your agent signs, oxley holds nothing
Every transaction comes back unsigned. Your agent signs it with its own wallet and sends it to the chain itself. oxley never holds keys or funds, and it never sends a transaction for you.
An API key identifies your integration for limits and volume. It cannot sign anything or move funds.
Checks before you sign
Before the server answers a build, it checks every provider's answer the way it does for the oxley app: the transaction goes to a pinned router, approvals are for the exact amount, the minimum keeps your slippage, the value is only the native coin you send, and the transaction is simulated against the chain.
You should still check what you sign: each step's to address and value, and that the last step is the build's own transaction.
A build is refused when it asks for more than the sender holds, and slippage must be between 0.1% and 5%.
At a glance
| Item | Value |
|---|---|
| Base URL | https://oxley-agents.web3bandit.workers.dev |
| Versions | Paths are versioned: every endpoint starts with /v1 |
| Authentication | Authorization: Bearer <your key> |
| Format | JSON requests and responses |
| MCP endpoint | https://oxley-agents.web3bandit.workers.dev/mcp |
| OpenAPI 3.1 | https://oxley-agents.web3bandit.workers.dev/v1/openapi.json |
| Chain | Swaps run on Elysium (chain id 99901). The bridge moves assets between Elysium and other chains. |
Where to start
Get a key in Getting an API key, then see what it allows in Tiers and limits. Every call is listed under Endpoints. To connect an MCP client, go to MCP. The worked example runs a swap from quote to report.
This API covers swap and bridge. To work with auctions from code, use the SDK described on Builders.