VURTO SWAPAPI FOR DEVELOPERS & AGENTS
← Back to app

Connect your app or agent

Vurto Swap is reachable three ways: a plain REST API, an MCP server for AI agents, and a CLI. Same backend, same audited swap logic, no API key required for quotes.

REST

https://swap.vurto.cc/v1 — quote, build, sign, send. OpenAPI spec included.

MCP

https://swap.vurto.cc/mcp — JSON-RPC over Streamable HTTP, for Claude, Copilot, or any MCP client.

CLI

@vurto/swapquote / swap / sign / status / refund, for scripts and shells.

Quickest path: quote, no auth needed

curl -sS https://swap.vurto.cc/v1/quote \
  -H 'content-type: application/json' \
  --data '{"chainId":42161,"tokenIn":"USDC","tokenOut":"WETH","amount":"100"}'

Building and sending a swap needs a credential

Quotes are open. Anything that touches a wallet's money (/swap, /orders, /executions) needs a machine credential: a Bearer token bound to one wallet, proven by signature at issuance, never a private key.

curl -sS https://swap.vurto.cc/v1/swap \
  -H 'content-type: application/json' \
  -H 'authorization: Bearer vswap_<id>_<secret>' \
  --data '{"chainId":42161,"tokenIn":"USDC","tokenOut":"WETH","amount":"100","maxSlippageBps":100}'

Full reference