Get Recurring Orders
note
Base URL: https://lite-api.jup.ag/recurring/v1/getRecurringOrders
For higher rate limits, refer to the API Key Setup doc.
This is a GET request to /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 
activeorhistory - recurringType can be either 
timeorpriceorall - includeFailedTx can be either 
trueorfalse 
Active Orders
To get the active orders, you can pass in the orderStatus parameter as active.
tip
You can optionally pass in the input and output token mint addresses to filter the open orders.
const openOrdersResponse = await (
    await fetch(
        'https://lite-api.jup.ag/recurring/v1/getRecurringOrders?user=replaceWithPublicKey&orderStatus=active&recurringType=time'
    )
).json();
Order History
To get the order history, you can pass in the orderStatus parameter as history.
const orderHistoryResponse = await (
    await fetch(
        'https://lite-api.jup.ag/recurring/v1/getRecurringOrders?user=replaceWithPublicKey&orderStatus=history&recurringType=price'
    )
).json();