Vaults
Token Locker Vaults
getTokenLockersGET Auth Required This endpoint returns the amount and value of any locked LP tokens for the supplied token mint. These locked LP tokens cannot be accessed by the owner until the unlock date has passed.
Important: Locked LP tokens factor heavily into RugCheck scoring — new tokens with little or no LP locked will tend to be flagged as possible rug pulls.
Endpoint
GEThttps://api.rugcheck.xyz/v1/tokens/{id}/lockersParameters
idstring required pathToken mint address
Result
objectLocker vaults response with details about locked LP tokens
lockersobjectA list of the token lockers. Each begins with the locker public key and contains the following information:
totalobjectThe total USDC value of all locked LP tokens in all detected lockers. Note again that this considers both sides of the liquidity. So to get the value of the liquidity provided, it's advisable to divide this number by two
Code Examples
Request
Shellcurl -X 'GET' \ 'https://api.rugcheck.xyz/v1/tokens/6z9XSmYTZffoPUrpuManU7rxjfn7naEbWnDacdAXbonk/lockers' \ -H 'accept: application/json' \ -H "X-API-KEY: <your-API-key>"
Response
JSON{
"lockers": {
"9jD97e1U6J2Ld9exjuQ3nv3xfJQwUWyVXnKwfGgYNvyT": {
"programID": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
"tokenAccount": "11111111111111111111111111111111",
"owner": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
"uri": "https://raydium.io/liquidity/increase/?mode=add&pool_id=79ZfRapqeW8gCa5uYbNN1owxX54hnfxCfWkT45nfAhUY",
"unlockDate": 0,
"usdcLocked": 14484.915709904704,
"type": "raydium_locker"
}
},
"total": {
"totalUSDC": 15532.44236441391
}
}
Authentication Required
This endpoint requires authentication. Include your FluxRPC API key in the
X-API-KEY header or as a query parameter. See the Getting Started guide for details.