getTriggerOrders
GEThttps://lite-api.jup.ag/trigger/v1/getTriggerOrders
Request for the active or historical orders associated to the provided account
note
- Refer to Trigger API doc for more information
Request
Query Parameters
user stringrequired
page string
Default value:
1
includeFailedTx string
Possible values: [true
, false
]
Whether to include failed transactions, expects 'true' or 'false'
orderStatus stringrequired
Possible values: [active
, history
]
The status of the orders to return
inputMint string
The input mint to filter by
outputMint string
The output mint to filter by
Responses
- 200
- 400
- 500
Returns the open orders associated to the provided account hash
- application/json
- Schema
- Example (auto)
Schema
userstringrequired
The requested user's wallet public key
orderStatusstringrequired
The status of the requested orders
Possible values: [active
, history
]
orders object[]required
totalPagesnumberrequired
Total number of pages
pagenumberrequired
{
"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
}
Bad request body
Internal error
- curl
- nodejs
- python
- rust
- CURL
curl -L 'https://lite-api.jup.ag/trigger/v1/getTriggerOrders' \
-H 'Accept: application/json'
ResponseClear