NOTE
- Lite URL:
https://lite-api.jup.ag/trigger/v1/getTriggerOrders
- Pro URL:
https://api.jup.ag/trigger/v1/getTriggerOrders
/getTriggerOrders
endpoint.
The response is paginated for every 10 orders and you can view different pages using the page
parameter. The hasMoreData
boolean will indicate if you have more data in the next page.
CHANGE OF RESPONSE FORMATThe
/getTriggerOrders
endpoint does not provide the same data format as the old orderHistory
or openOrders
endpoint.Active Orders
To get the active orders, you can pass in theorderStatus
parameter as active
.
You can optionally pass in the input and output token mint addresses to filter the open orders.
Order History
To get the order history, you can pass in theorderStatus
parameter as history
.