Skip to main content
POST
/
execute
execute
curl --request POST \
  --url https://api.jup.ag/ultra/v1/execute \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "signedTransaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAEN...",
  "requestId": "b5e5f3a7-8c4d-4e2f-9a1b-3c6d8e0f2a4b"
}
'
{
  "status": "Success",
  "signature": "5UfDuX7hXbTiKFJqS1MzGsNpbXTzMKJe2bZP1zrd7DnFBSChKvF2FVDNAuqz7SJpaHXTB9E5DP6tMjfZmVDMJRs",
  "slot": "324307186",
  "code": 0,
  "totalInputAmount": "100000000",
  "totalOutputAmount": "17057460",
  "inputAmountResult": "100000000",
  "outputAmountResult": "17057460",
  "swapEvents": [
    {
      "inputMint": "So11111111111111111111111111111111111111112",
      "inputAmount": "100000000",
      "outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "outputAmount": "17057460"
    }
  ]
}
NOTE
  • The requestId is found in the response of /order

Authorizations

x-api-key
string
header
required

Get API key via https://portal.jup.ag

Body

application/json
signedTransaction
string
required
  • The signed transaction to execute
requestId
string
required
  • Found in response of /order

Response

Successful response

status
enum<string>
required
Available options:
Success,
Failed
code
number
required
signature
string
slot
string
error
string
totalInputAmount
string
totalOutputAmount
string
inputAmountResult
string
outputAmountResult
string
swapEvents
object[]