Fetch account's SOL staking information

Hello! I am having difficulties in fetching information about an account’s SOL staking position under Earn → Simple Staking. The result of this Simple Account (USER_DATA) | Binance Open Platform does not contain information about SOL, and the result of this SOL Staking account(USER_DATA) | Binance Open Platform returns different numbers, which are similar to the numbers I am seeing from sapi/v1/accountSnapshot. Can you help me understand what endpoint I need to ping to fetchan account’s simple SOL staking position?

Hi @Alexandru_Niculae,

To fetch your SOL staking position under Earn → Simple Staking, you should use the Simple Earn API endpoints rather than the standard account or staking endpoints.

Query Simple Earn Flexible & Locked Positions

If your SOL is staked under Simple Earn, use these endpoints:

  • Flexible Staking:
    GET /sapi/v1/simple-earn/flexible/position
    
  • Locked Staking:
    GET /sapi/v1/simple-earn/locked/position
    
  • Parameters:
    • asset=SOL (to filter for SOL positions)
  • Documentation:
    Change Log | Binance Open Platform

Check Staking Assets (If Staked via Staking Instead of Simple Earn)

If your SOL was staked via Binance Staking rather than Simple Earn, use this endpoint:

  • Staking Position Query:
    GET /sapi/v1/staking/position
    
  • Parameters:
    • product=STAKING
    • asset=SOL

Try querying the Simple Earn Flexible or Locked positions endpoint with asset=SOL, and let me know if that works for you!