v1
latestOpenAPI 3.0.02026-07-2442138225.7 KBPortfolio
Get orders
Retrieve open orders for a wallet address. Pass providerId or providerIds (one or more providers).
post/v1/orders
Request body
Example request
{
"providerId": "hyperliquid",
"providerIds": [
"hyperliquid",
"hyperliquid-xyz"
],
"address": "0x1234..."
}Response
User orders
Example response
[
{
"marketId": "hyperliquid-eth-usdc",
"size": "0.5",
"limitPrice": 3900,
"leverage": 10,
"margin": 12.5,
"createdAt": 1733332000,
"pendingActions": [
{
"label": "Close Position",
"args": {
"amount": "1.5",
"amountRaw": "1500000",
"repayAll": true,
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"collateralTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"collateralAmount": "0.5",
"collateralAmountRaw": "50000000",
"borrowAmount": "100",
"targetLtv": "0.1",
"marketId": "morpho-blue-borrow-base-cbbtc-usdc-86"
}
}
]
}
]