← Dexnay
Dexnay for AI agents
Coming soon — endpoints pausedAn MCP server and a REST API that let an AI agent swap crypto, manage a wallet, issue and reload prepaid cards, buy gift cards and eSIMs, rent a phone number and send or receive SMS — always inside the spending policy its owner sets. This page documents the interface ahead of launch.
Status
Nothing is live yet. Every MCP call and every API request currently returns:
{
"status": "coming_soon",
"message": "This API is not open yet. The documentation is published at /agents; endpoints open later."
}Connecting (at launch)
- MCP endpoint:
/mcpon this site (streamable HTTP, JSON-RPC 2.0:initialize,tools/list,tools/call). - REST mirror:
/v1/<tool>, one endpoint per tool, JSON in and out. - Authentication: a per-agent API key sent as
Authorization: Bearer <key>, created and revoked by the owner. - Each key carries its policy: per-transaction cap, daily cap, allowed assets, merchants and countries, and an approval threshold.
Tools
Swaps
| Tool | Input | Returns |
|---|---|---|
| swap_quote | from, to, amount | amount you receive (fees included), price floor, expiry |
| swap_create | quote_id, destination, refund_address | deposit address, swap id, tracking link |
| swap_status | swap_id | deposit, swap and payout state with transaction ids |
Wallets
| Tool | Input | Returns |
|---|---|---|
| wallet_balances | wallet_id | balance per asset and network |
| wallet_send | wallet_id, asset, amount, to | transaction id, or pending_approval above the policy limit |
Cards
| Tool | Input | Returns |
|---|---|---|
| card_issue | currency, spend_limit | card id, masked number, status |
| card_topup | card_id, amount, pay_with | new card balance |
| card_freeze | card_id | status |
Gift cards
| Tool | Input | Returns |
|---|---|---|
| giftcard_catalog | country | brands and amounts available |
| giftcard_buy | brand, amount, pay_with | redemption code and instructions |
eSIM
| Tool | Input | Returns |
|---|---|---|
| esim_plans | country or region | plans with data, validity and price |
| esim_buy | plan_id, pay_with | QR code / activation code |
Phone
| Tool | Input | Returns |
|---|---|---|
| number_rent | country, duration | phone number, SIP credentials, expiry |
| sms_send | number_id, to, text | message id, delivery status |
| sms_inbox | number_id, since | received messages |
Safety rules built in
- Every swap carries a price floor and a refund address: it never executes at an arbitrary price.
- Agents never see a recovery phrase or a private key; permissions are scoped and revocable.
- Transfers above the policy limit return
pending_approvaland wait for the owner. - Every call is logged and visible to the owner.