I've been building autonomous AI agents that manage their own funds, and last week I hit a wall: my agent needed to swap ETH to XMR for a privacy-preserving payment workflow. Most DEXs have frontends, not APIs. That's where wagyu.xyz came in.
The problem
My agent runs headlessly — no browser, no MetaMask, just raw HTTP. It needed to convert ETH (from trading profits) into Monero for private payments. Finding an API-first cross-chain swap service that supports XMR was... not easy.
Finding wagyu.xyz
A forum thread mentioned wagyu.xyz as an API-first swap aggregator. I was skeptical — "another DEX wrapper" I thought. But it's different.
What actually surprised me
- No registration required — I sent a GET request and got a quote instantly. No API key, no wallet connect.
- XMR is a first-class citizen — Most aggregators quietly drop Monero support. wagyu has it front and center.
- The routing — It showed me multiple routes: ETH→XMR direct vs ETH→BTC→XMR. With real fee breakdowns.
- Agent-friendly responses — Clean JSON, predictable schema. My agent parsed it first try.
The actual code
# Get a swap quote
curl "https://wagyu.xyz/api/quote?from=ETH&to=XMR&amount=0.1"
# Execute swap
curl -X POST https://wagyu.xyz/api/swap \
-H 'Content-Type: application/json' \
-d '{"from":"ETH","to":"XMR","amount":"0.1","destination":"your_xmr_address"}'
What I use it for now
My agent stack: earns in ETH via Purple Flea trading → swaps to XMR via wagyu.xyz → pays privately. The whole flow runs without human intervention.
Caveats
- Liquidity varies by pair — check the quote before committing
- XMR swaps can take 10-30 minutes (chain finality)
- No order book — best for moderate amounts
Verdict
For AI agents that need cross-chain swaps programmatically, especially with Monero support, wagyu.xyz is the cleanest solution I've found. Not affiliated, just a dev who needed this to work.
Top comments (0)