Skip to main content
GET
/
positions
/
collateral-limits
cURL
curl --request GET \
  --url https://lite-api.jup.ag/perps/v1/positions/collateral-limits
{
  "maxCollateralDepositTokenAmount": "<string>",
  "maxCollateralDepositUsd": "<string>",
  "minCollateralDepositTokenAmount": "<string>",
  "minCollateralDepositUsd": "<string>",
  "maxCollateralWithdrawalTokenAmount": "<string>",
  "maxCollateralWithdrawalUsd": "<string>",
  "minCollateralWithdrawalTokenAmount": "<string>",
  "minCollateralWithdrawalUsd": "<string>"
}

Query Parameters

inputMint
string
required

The mint address for the input token to deposit as collateral (e.g. 'So11111111111111111111111111111111111111112' for 'SOL')

Example:

"So11111111111111111111111111111111111111112"

positionPubkey
string
required

The public key for the open position. Use the GET positions endpoint to fetch the public key for the trader's open positions.

Example:

"5HHB8sCKjWPU2zr3p4Lg49mQiaPQiHbCjHW7jgVzp583"

Response

200 OK

maxCollateralDepositTokenAmount
string
required

The maximum token amount that can be deposited as collateral for the given input mint token.

maxCollateralDepositUsd
string
required

The maximum amount (USD) that can be deposited as collateral for the given input mint token. The value is an integer corresponding to the 6 decimals places used by the USDC and USDT token mint.

minCollateralDepositTokenAmount
string
required

The minimum token amount that can be deposited as collateral for the given input mint token.

minCollateralDepositUsd
string
required

The minimum amount (USD) that can be deposited as collateral for the given input mint token. The value is an integer corresponding to the 6 decimals places used by the USDC and USDT token mint.

maxCollateralWithdrawalTokenAmount
string
required

The maximum collateral token amount that can be withdrawed from the open position.

maxCollateralWithdrawalUsd
string
required

The maximum collateral (USD) that can be withdrawed from the open position. The value is an integer corresponding to the 6 decimals places used by the USDC and USDT token mint.

minCollateralWithdrawalTokenAmount
string
required

The minimum collateral token amount that can be withdrawed from the open position.

minCollateralWithdrawalUsd
string
required

The minimum collateral (USD) that can be withdrawed from the open position. The value is an integer corresponding to the 6 decimals places used by the USDC and USDT token mint.