Developers

Put every swap route in your app

One API for quotes, orders and live status.

Using an AI coding agent? Hand it everything in one prompt.

curl https://api.mindswap.io/v1/quotes \
    --get \
    -d from=btc:bitcoin \
    -d to=eth:ethereum \
    -d amountIn=0.1
{
  "routes": [{
    "rateType": "fixed",
    "amountIn": "0.1",
    "amountOut": "3.5324",
    "etaSeconds": 600,
    "expiresAt": "2026-11-17T14:15:00Z"
  }],
  "complete": true
}
Three ways in

One API under all of them

HTTP API

Any language. JSON over HTTPS, live updates over SSE.

  • GET/v1/assets
  • GET/v1/quotes
  • GET/v1/quotes/stream
  • POST/v1/orders
  • GET/v1/orders/{id}
  • GET/v1/orders/{id}/events
  • POST/v1/orders/track
  • POST/v1/orders/{id}/issues
Read the API reference

TypeScript SDK

Typed client with safe retries and live order events.

npm install @mindswap/sdk

See the SDK

MCP server for agents

Tools your agent can call, with units and next steps.

npx -y @mindswap/mcp

Connect your agent
MCP server

Connect your agent

Your agent finds assets, quotes, creates orders and follows them with no human step. Run the server on your machine with npx, or connect to ours and send your key as x-api-key.

Hosted
https://api.mindswap.io/mcp
Local
npx -y @mindswap/mcp
# Runs the server on your machine with your key
claude mcp add mindswap \
    --env MINDSWAP_API_KEY=msk_live_… \
    -- npx -y @mindswap/mcp
  • list_assetsFind asset IDs like usdt:tron from what the user said
  • list_networksEvery network we send or receive on, with its code
  • check_pairWhether any provider lists a pair, before asking for an amount
  • get_quoteEvery route for an amount, with what the user receives and pays
  • create_orderTurn a route into an order and get the deposit address
  • get_orderStatus, deposit instructions and transactions
  • wait_for_orderWait until the order changes or ends, with no polling
  • track_orderOpen any order with its ID and payout address
  • report_issueReport a problem with an order
  • list_my_ordersThe orders your API key created, newest first (key only)
  • get_usageYour key’s requests, errors and limit (key only)
  • get_partner_earningsPartner fee your key earned, in USDT (key only)
Catalog

Check any asset or pair

Search every asset our providers can swap, filter by network, and check a pair before you quote. Live from the public API, no key needed.

curl "https://api.mindswap.io/v1/assets?q=usdt&limit=5"
{
  "assets": [
    {
      "id": "usdt:tron",
      "symbol": "USDT",
      "name": "Tether",
      "network": "tron",
      "decimals": 6,
      "memo": "none"
    },
    "…"
  ],
  "nextCursor": "5",
  "total": 31
}
API keys

Get a key

  1. 1Sign inEmail, Google or a wallet. No KYC.
  2. 2Create a keyIt works at once. We show it once, so keep it on your server.
  3. 3Complete one orderLifts every key on your account to 1,200 calls a minute.

Every key

Works at once

No plans, no tiers. Float, fixed and private orders. Bursts of 200.

1,200calls a minute

Partner fee

Optional

Add your own fee to your users’ swaps. Paid to your balance in USDT.

0 to 3 %on each order
Set a partner fee
For businesses

Earn a partner fee

  1. 1Set a fee on a key0 to 3 % in API management. New orders made with the key carry it.
  2. 2Your users see one totalQuotes show it as fees.partner, inside fees.totalUser. Routes that cannot carry the exact fee are left out.
  3. 3Get paid in USDTEach completed order credits your balance. Keys with a fee earn no points or cashback.
curl https://api.mindswap.io/v1/partner/earnings \
    -H "x-api-key: $MINDSWAP_API_KEY"
{
  "keyId": "key_9f2c…",
  "partnerFeeBps": 50,
  "currency": "USDT",
  "credited": "412.18",
  "pending": "23.40",
  "completedOrders": 318,
  "openOrders": 4
}