THORChain Swap API Quickstart

Fetch a live cross-chain swap quote from THORChain Swap (https://swap.thorchain.org) in one request — no account, no API key, no registration.

1. Call the MCP server

The public MCP server at https://swap.thorchain.org/mcp speaks JSON-RPC 2.0 over HTTP POST. Every tool is read-only.

curl -s https://swap.thorchain.org/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "get_swap_quote",
      "arguments": {
        "from_asset": "BTC.BTC",
        "to_asset": "ETH.ETH",
        "amount": "100000000"
      }
    }
  }'

2. Read the quote

3. Hand the user a prefilled swap link

https://swap.thorchain.org/sell-BTC-buy-ETH
https://swap.thorchain.org/sell-BTC.BTC-buy-ETH.USDC

The user completes and signs the swap themselves, in their own wallet or through the wallet-free memoless flow. THORChain Swap holds no keys and submits nothing on a user's behalf.

Conventions

Next steps

This page as markdown: /developers/quickstart.md