🚨 Action Required: lite-api.jup.ag will be deprecated on 31st December 2025. View migration guide →
lite-api.jup.ag
cURL
curl --request GET \ --url https://api.jup.ag/perps/v1/orders/expired \ --header 'x-api-key: <api-key>'
{ "serializedTxs": [ { "serializedTxBase64": "<string>", "positionRequestPubkey": "<string>" } ], "txMetadata": { "blockhash": "<string>", "lastValidBlockHeight": "<string>" } }
Get API key via https://portal.jup.ag
Public key for the wallet to fetch expired orders
200 OK
An array of base64-serialized transactions and transaction metadata to close all expired orders.
An array of base64-serialized transactions and the positionRequestPubkey to close all expired orders.
positionRequestPubkey
Show child attributes
Contains blockhash metadata for the serialized transaction to submit and confirm the transactions.