Put every swap route in your app
One API for quotes, orders and live status. Assets, quotes and tracking need no key.
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
}One API under all of them
HTTP API
Any language. JSON over HTTPS, live updates over SSE.
- GET/v1/assetsCoins, networks and venues
- GET/v1/quotesEvery route for an amount
- GET/v1/quotes/streamLate routes as they land (SSE)
- POST/v1/ordersCreate an order
- GET/v1/orders/{id}Read an order
- GET/v1/orders/{id}/eventsOrder status, live (SSE)
- POST/v1/orders/trackOpen any order by payout address
- POST/v1/orders/{id}/issuesReport a problem
TypeScript SDK
Typed client with safe retries and live order events.
npm install @mindswap/sdk
See the SDKMCP server for agents
Tools your agent can call, with units and next steps.
npx -y @mindswap/mcp
Connect your agentConnect 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.
# Runs the server on your machine with your key
claude mcp add mindswap \
--env MINDSWAP_API_KEY=msk_live_… \
-- npx -y @mindswap/mcplist_assetsFind asset IDs like usdt:tron from what the user saidlist_networksEvery network we send or receive on, with its codecheck_pairWhether any provider lists a pair, before asking for an amountget_quoteEvery route for an amount, with what the user receives and payscreate_orderTurn a route into an order and get the deposit addressget_orderStatus, deposit instructions and transactionswait_for_orderWait until the order changes or ends, with no pollingtrack_orderOpen any order with its ID and payout addressreport_issueReport a problem with an orderlist_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)
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
}Get a key
- 1Sign inEmail, Google or a wallet. No KYC.
- 2Create a keyIt works at once. We show it once, so keep it on your server.
- 3Complete one orderLifts every key on your account to 1,200 calls a minute.
Every key
Works at onceNo plans, no tiers. Float, fixed and private orders. Bursts of 200.
Partner fee
OptionalAdd your own fee to your users’ swaps. Paid to your balance in USDT.
Before the first completed order, per-IP limits apply.
Earn a partner fee
- 1Set a fee on a key0 to 3 % in API management. New orders made with the key carry it.
- 2Your users see one totalQuotes show it as fees.partner, inside fees.totalUser. Routes that cannot carry the exact fee are left out.
- 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
}