Skip to main content
GET
/
v1
/
swap
/
pair-info
Get information about a currency pair
curl --request GET \
  --url https://api.openxswitch.com/v1/swap/pair-info \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 404,
  "path": "/v1/...",
  "timestamp": "2025-03-13T12:34:56.789Z",
  "message": "Cannot GET /v1/..."
}

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

toCurrency
string
required

The target currency (e.g., BTC, ETH)

fromCurrency
string
required

The source currency (e.g., USD, USDT)

toNetwork
string
required

The target blockchain network (e.g., Ethereum, BSC)

fromNetwork
string
required

The source blockchain network (e.g., Ethereum, BSC)

Response

Pair information retrieved successfully.