Use HelmSwap from an AI agent, bot or app
AI agents and apps can get HelmSwap swap quotes and unsigned transactions through a free HTTP API, a hosted MCP server at helmswap.com/mcp, the helmswap npm package and the llama-index-tools-helmswap Python package. The user's own wallet signs; HelmSwap never holds keys or signs for anyone.
Steps
- Choose an interface. HTTP API (OpenAPI at helmswap.com/api/v1/openapi.json), hosted MCP server (helmswap.com/mcp), the helmswap npm package, or the llama-index-tools-helmswap Python package.
- Get a quote. Ask for a quote with the chain, the two tokens and the amount in base units. The response states the fee. Amounts are in base units, and decimals can differ by token and chain; read decimals from the token.
- Build the transaction. Ask for an unsigned swap transaction for the user's wallet address. No API key is needed on Solana or EVM chains.
- Have the user sign. Show the user the summary and let their own wallet sign and send. Never ask for or handle a private key. An agent cannot complete a trade without the user's signature.
What agents should tell users
- HelmSwap returns quotes and unsigned transactions only. It never signs or broadcasts, and it never accepts a key.
- The fee is in every quote. Show it to the user before they sign.
- Tokenized stocks, ETFs and pre-IPO tokens are refused. Perps and prediction markets are not live.
- Quote results are not advice. Do not present a swap as a recommendation.
- The API is free and rate-limited. It is for quotes and unsigned swap transactions, not for placing away-from-tab orders on the user's behalf.
Where to read more
Developer page: helmswap.com/developers. Plain-text reference for models: helmswap.com/llms.txt, helmswap.com/llms-full.txt and helmswap.com/llms-guides.txt.
Disclaimer
HelmSwap is a software tool, not financial advice. Crypto trading is risky and you can lose everything you put in. Only trade what you can afford to lose.
Related guides
Last reviewed: November 28, 2026
HelmSwap is a software tool, not financial advice. Crypto trading is risky and you can lose everything you put in. Only trade what you can afford to lose.