NOTE
- Lite URL:
https://lite-api.jup.ag/recurring/v1/getRecurringOrders
- Pro URL:
https://api.jup.ag/recurring/v1/getRecurringOrders
/getRecurringOrders
endpoint. The response is paginated for every 10 orders and you can view different pages using the page
parameter.
Get Recurring Orders
NOTE
- orderStatus can be either
active
orhistory
- recurringType can be either
time
(price
is deprecated) - includeFailedTx can be either
true
orfalse
CAUTIONPrice-based orders via API is deprecated.
Active Orders
To get the active orders, you can pass in theorderStatus
parameter as active
.
TIPYou 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
.