Swap Guides


You can get a quote and perform a swap between our supported currencies.

Step 1 - Get supported swap pairs

In order to perform a swap, you first need to get the swap pairs currently supported by StraitsX by calling the Get supported swap pairs endpoint. For example, if you receive XSGDUSDC in the response, that means you will be allowed to swap between XSGD and USDC in both directions.

Step 2 - Get a quote

  • Call Request a swap quote endpoint to get a quote for the currency pair and the amount you wish to swap.
  • Note that there will be an expiry for each swap quote we return.

Step 3 - Execute a quote

  • Call Execute a swap quote endpoint with the quote id from Step 2 to perform the swap. The quote must be within the expiry window for the swap execution to be successful.
  • Once the swap is executed, the balance for the respective wallets will be updated.

Try it out!

Getting started with StraitsX APIs is easy. Our business development and integration teams will be with you every step of the way. If you have any questions or would like to connect with our team, please do so via Support!