---
updatedAt: 2026-05-28T06:28:46.000Z
agentTools:
  projectIndex: https://docs.straitsx.com/llms.txt
---

# Get supported swap pairs

[Available in Production/Sandbox environment] Get a list of supported swap pairs

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "straitsx-sandbox-base-url",
    "version": "1.7.0"
  },
  "servers": [
    {
      "url": "https://api-sandbox.straitsx.com/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-XFERS-APP-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/swap/pairs": {
      "get": {
        "summary": "Get supported swap pairs",
        "description": "[Available in Production/Sandbox environment] Get a list of supported swap pairs",
        "operationId": "get-supported-swap-pairs",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "data": [
                        {
                          "id": "1",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XSGDUSDC"
                          }
                        },
                        {
                          "id": "2",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XSGDXUSD"
                          }
                        },
                        {
                          "id": "3",
                          "type": "swapPair",
                          "attributes": {
                            "code": "USDCUSDT"
                          }
                        },
                        {
                          "id": "4",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XUSDUSDC"
                          }
                        },
                        {
                          "id": "5",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XUSDUSDT"
                          }
                        },
                        {
                          "id": "6",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XSGDUSDT"
                          }
                        },
                        {
                          "id": "7",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XSGDSGD"
                          }
                        },
                        {
                          "id": "8",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XSGDUSD"
                          }
                        },
                        {
                          "id": "9",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XUSDSGD"
                          }
                        },
                        {
                          "id": "10",
                          "type": "swapPair",
                          "attributes": {
                            "code": "XUSDUSD"
                          }
                        },
                        {
                          "id": "11",
                          "type": "swapPair",
                          "attributes": {
                            "code": "USDCSGD"
                          }
                        },
                        {
                          "id": "12",
                          "type": "swapPair",
                          "attributes": {
                            "code": "USDCUSD"
                          }
                        },
                        {
                          "id": "13",
                          "type": "swapPair",
                          "attributes": {
                            "code": "USDTSGD"
                          }
                        },
                        {
                          "id": "14",
                          "type": "swapPair",
                          "attributes": {
                            "code": "USDTUSD"
                          }
                        },
                        {
                          "id": "15",
                          "type": "swapPair",
                          "attributes": {
                            "code": "SGDUSD"
                          }
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "1",
                            "description": "Swap pair ID."
                          },
                          "type": {
                            "type": "string",
                            "example": "swapPair",
                            "description": "Request type."
                          },
                          "attributes": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "example": "XSGDUSDC",
                                "description": "The respective swap pair code."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "parameters": [
          {
            "name": "X-XFERS-APP-API-KEY",
            "in": "header",
            "description": "You can retrieve this from your Dashboard Developer Tools.<br><br><strong>Note:</strong> The `X-XFERS-APP-API-KEY` is a mandatory header for all authentication methods, including standard API key usage and HTTP Request Signing mode.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-PUBLIC-KEY-ID",
            "in": "header",
            "description": "The Key ID, can be retrieved from your StraitsX Dashboard.<br><br><strong>Note:</strong> This header attribute is required when HTTP Request Signing is enabled for your account.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-TIMESTAMP",
            "in": "header",
            "description": "Current Unix epoch time in seconds. Must be within ±300 seconds of server time.<br><br><strong>Note:</strong> This header attribute is required when HTTP Request Signing is enabled for your account.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NONCE",
            "in": "header",
            "description": "A unique UUID string per request, used for replay protection. Must not be reused within the timestamp window.<br>Regex: `/\\A[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\z/i`<br><br><strong>Note:</strong> This header attribute is required when HTTP Request Signing is enabled for your account.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-SIGNATURE",
            "in": "header",
            "description": "Base64-encoded digital signature of the canonical request string.<br><br><strong>Note:</strong> This header attribute is required when HTTP Request Signing is enabled for your account.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```