Skip to main content
GET
/
getTriggerOrders
getTriggerOrders
curl --request GET \
  --url https://lite-api.jup.ag/trigger/v1/getTriggerOrders
{
  "user": "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3",
  "orderStatus": "history",
  "orders": [
    {
      "userPubkey": "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3",
      "orderKey": "99uWTWukow8k7dqcpbYoHxTAWGvn1YkT1VMmnEeTjuDr",
      "inputMint": "So11111111111111111111111111111111111111112",
      "outputMint": "HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC",
      "makingAmount": "0.05",
      "takingAmount": "32.071840924",
      "remainingMakingAmount": "0",
      "remainingTakingAmount": "0",
      "rawMakingAmount": "50000000",
      "rawTakingAmount": "32071840924",
      "rawRemainingMakingAmount": "0",
      "rawRemainingTakingAmount": "0",
      "slippageBps": "0",
      "expiredAt": null,
      "createdAt": "2025-03-17T08:07:25Z",
      "updatedAt": "2025-03-17T08:09:37Z",
      "status": "Completed",
      "openTx": "466G3XxE4NzxCj136SXe4BSjXzCVBQdvn6RsHMNGN2DGCS9PSceJSACqEWCxx22hsCXcEskvEFdm44wsHCF1auvL\n",
      "closeTx": "3PDo3pMJLqvAfNXwYjY7BSP57ZNQ5DgYDeK6xYszUVMneHzAZBQzsBSskym8uveMoLC4G8N8DjPaLBY726ZsBZvT\n",
      "programVersion": "j1o2qRpjcyUwEvwtcfhEQefh773ZgjxcVRry7LDqg5X",
      "trades": [
        {
          "orderKey": "99uWTWukow8k7dqcpbYoHxTAWGvn1YkT1VMmnEeTjuDr",
          "keeper": "j1oAbxxiDUWvoHxEDhWE7THLjEkDQW2cSHYn2vttxTF",
          "inputMint": "So11111111111111111111111111111111111111112",
          "outputMint": "HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC",
          "inputAmount": "0.05",
          "outputAmount": "32.071840924",
          "rawInputAmount": "50000000",
          "rawOutputAmount": "32071840924",
          "feeMint": "DtL4JtjXwsJQndqXyd6ytJSmWDLWLESoXc7MkYNRQF9J",
          "feeAmount": "0",
          "rawFeeAmount": "0",
          "txId": "3PDo3pMJLqvAfNXwYjY7BSP57ZNQ5DgYDeK6xYszUVMneHzAZBQzsBSskym8uveMoLC4G8N8DjPaLBY726ZsBZvT\n",
          "confirmedAt": "2025-03-17T08:09:37Z",
          "action": "Fill",
          "productMeta": null
        }
      ]
    }
  ],
  "totalPages": 1,
  "page": 1
}

Query Parameters

user
string
required
Example:

"jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3"

page
string
default:1
includeFailedTx
enum<string>

Whether to include failed transactions, expects 'true' or 'false'

Available options:
true,
false
orderStatus
enum<string>
required

The status of the orders to return

Available options:
active,
history
inputMint
string

The input mint to filter by

outputMint
string

The output mint to filter by

Response

Returns the open orders associated to the provided account hash

user
string
required

The requested user's wallet public key

orderStatus
enum<string>
required

The status of the requested orders

Available options:
active,
history
orders
object[]
required
totalPages
number
required

Total number of pages

page
number
required
I