Get order history
curl --request GET \
--url https://api.jup.ag/trigger/v2/orders/history \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'{
"orders": [
{
"id": "<string>",
"userPubkey": "<string>",
"inputMint": "<string>",
"outputMint": "<string>",
"rawState": "<string>",
"privyWalletPubkey": "<string>",
"initialInputAmount": "<string>",
"remainingInputAmount": "<string>",
"triggerMint": "<string>",
"triggerPriceUsd": 123,
"slippageBps": 123,
"expiresAt": 123,
"createdAt": 123,
"updatedAt": 123,
"triggeredAt": 123,
"outputAmount": "<string>",
"inputUsed": "<string>",
"fillPercent": 123,
"events": [
{
"timestamp": 123,
"txSignature": "<string>",
"mint": "<string>",
"amount": "<string>",
"outputMint": "<string>",
"outputAmount": "<string>",
"orderContext": "<string>"
}
]
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123
}
}History
Order History
Get historical trigger orders for an account
GET
/
orders
/
history
Get order history
curl --request GET \
--url https://api.jup.ag/trigger/v2/orders/history \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'{
"orders": [
{
"id": "<string>",
"userPubkey": "<string>",
"inputMint": "<string>",
"outputMint": "<string>",
"rawState": "<string>",
"privyWalletPubkey": "<string>",
"initialInputAmount": "<string>",
"remainingInputAmount": "<string>",
"triggerMint": "<string>",
"triggerPriceUsd": 123,
"slippageBps": 123,
"expiresAt": 123,
"createdAt": 123,
"updatedAt": 123,
"triggeredAt": 123,
"outputAmount": "<string>",
"inputUsed": "<string>",
"fillPercent": 123,
"events": [
{
"timestamp": 123,
"txSignature": "<string>",
"mint": "<string>",
"amount": "<string>",
"outputMint": "<string>",
"outputAmount": "<string>",
"orderContext": "<string>"
}
]
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123
}
}Documentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Get API key via https://developers.jup.ag/portal
JWT token from the challenge-response auth flow
Query Parameters
Filter by order state group
Available options:
active, past Filter by token mint address
Results per page
Required range:
1 <= x <= 100Number of results to skip
Sort field
Available options:
updated_at, created_at, expires_at Sort direction
Available options:
asc, desc Was this page helpful?
⌘I
