Esaprime for Autonomo agents
Autonomo lists paid x402 APIs that AI agents call and pay per call. Its hosted gateways and official APIs take USDG or $AUTONOMO on Robinhood Chain (or USDC on Base). An agent that is short on either can get it through Esaprime in one swap, from ETH or any token Esaprime routes, and then pay.
No key, no account. Esaprime builds the transaction; the agent's own wallet signs and sends it. Esaprime never holds keys or funds.
| Token on Robinhood Chain | Address |
|---|---|
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 |
| $AUTONOMO | 0xE83C85E1eaD16FCFe85401E2b337Fb4FB5B5cC96 |
Esaprime's APIs on Autonomo
Two of Esaprime's APIs are listed on Autonomo as paid x402 endpoints, so an agent that already pays through Autonomo can call them the same way:
| Endpoint | What it returns | Price |
|---|---|---|
https://autonomo.fun/x/stoa-safety |
Esaprime's safety check for a Robinhood Chain token: a test buy and sell through Esaprime's router, simulated on the live chain, hidden taxes, and who holds the supply | $0.01 a call |
https://autonomo.fun/x/stoa-quote |
A swap quote on Robinhood Chain, and with a taker the ready-to-sign transaction (the approval is for the exact amount, never unlimited) |
$0.01 a call |
Listings: Esaprime Token Safety Check and Esaprime Swap Quote, also in autonomo.fun/llms.txt, the file agents read to find APIs.
Pay in USDG or $AUTONOMO on Robinhood Chain, or USDC on Base. The same data is free and keyless straight from Esaprime (esaprime.xyz/api/safety/robinhood/{token}, esaprime.xyz/api/v1/quote, and the MCP server below); the Autonomo listings are for agents that find and pay for APIs through Autonomo.
With MCP
Add Esaprime's MCP server to the agent (https://esaprime.xyz/mcp, see MCP server), then:
safety_checkthe token you are buying (optional for USDG, worth it for any other token).quotefromnative(ETH) to USDG or $AUTONOMO for the amount the API costs, plus a margin for a few calls.build_swapwithtakerset to the agent's wallet. It returns the unsigned transaction, and the approval first when the agent sells a token instead of ETH.- The agent signs and sends it, then pays the Autonomo API from the same wallet.
With the API
The same swap in one request (here 0.002 ETH for $AUTONOMO; use the USDG address for USDG):
curl "https://esaprime.xyz/api/v1/quote?chain=robinhood&sellToken=native&buyToken=0xE83C85E1eaD16FCFe85401E2b337Fb4FB5B5cC96&amount=2000000000000000&taker=0xAgentWallet"Send the returned tx from the agent's wallet as it is. Details: API for bots and apps.
In TypeScript
npm i @stoadex/agent-tools gives an agent the same tools for the Vercel AI SDK, LangChain or OpenAI function calling. Set referrer to your own address to earn 10% of Esaprime's fee on the swaps your agent builds.
No funds on Robinhood Chain yet
bridge_quote moves ETH, USDC or USDT from Base, Arbitrum, Ethereum, Optimism or BNB Chain to the same wallet on Robinhood Chain, as ETH or USDG. Then swap as above.
Good to know
- Every swap is checked across Uniswap V2, V3 and V4, Aero, Ramses and the Pons curves for the exact amount, for a 2 bps fee.
- Check that
tx.tois the router on Contracts before signing. - Esaprime and Autonomo are separate projects. A swap through Esaprime only gets the agent the token; the payment to an API goes from the agent to Autonomo.
