Skip to main content
GET
/
v1
/
instant-swap
/
order
Get a specific instant swap order
curl --request GET \
  --url https://api.openxswitch.com/v1/instant-swap/order \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "swap_abc123",
    "extId": "ext_abc123",
    "fee": "0.0",
    "fromCoin": "USDT",
    "fromAmount": "100",
    "toCoin": "ETH",
    "toAmount": "0.0234",
    "swapPrice": "0.000234",
    "timeStamp": "2025-04-04T12:00:00Z",
    "quoteId": "quote123",
    "walletId": "wallet_001",
    "workspaceId": "workspace_xyz"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

swapId
string
required

Swap ID to retrieve the order

Example:

"swap_xyz456"

walletId
string
required

Wallet/Sub-wallet ID associated with the swap

Example:

"wallet_abc123"

Response

success
boolean
required
Example:

true

data
object
required