Skip to main content
Ultra Swap API is no longer actively maintained and has been superseded by Swap V2.
To get an Ultra Swap order, you need to pass in the required parameters such as: Fetch a swap order for 1 SOL to USDC:
Get Order

Order Response

In the order response, you will receive a number of fields that are important to note of, such as the swapType, slippageBps, etc.
Refer to Response section for example responses. Refer to API Reference section for the full response fields.
The main fields you should need:
  • transaction: The base64 encoded transaction that you need to sign before submitting to the network.
  • requestId: The request ID of the order to be used in the Execute Order endpoint.
Now, you are able to get a swap order, next steps is to make a post request to the Execute Order endpoint. Let’s go!