# Get Hyperliquid staking information for delegator

## Get Hyperliquid staking information for delegator

> Retrieve detailed staking information including spot balance, stake balance, delegations, and pending withdrawals for a given delegator address

```json
{"openapi":"3.0.0","info":{"title":"Staking API","version":"1.0.0"},"servers":[{"url":"https://api.p2p.org","description":"Staking API"},{"url":"https://api-test.p2p.org","description":"Testnet Staking API"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"HyperLiquidStakingInfoRequestDto":{"type":"object","properties":{"delegatorAddress":{"type":"string","description":"Delegator Hyperliquid address"}},"required":["delegatorAddress"]},"SuccessResponse":{"type":"object","properties":{"error":{"type":"object","nullable":true,"default":null},"result":{"type":"object"}},"required":["error","result"]},"HyperLiquidStakingInfoResponseDto":{"type":"object","properties":{"spotBalance":{"type":"number","description":"HYPE balance that is possible to transfer to staking balance"},"stakeBalance":{"type":"number","description":"HYPE balance that is available to delegate"},"delegations":{"description":"Array of all the delegations per delegator","type":"array","items":{"$ref":"#/components/schemas/HyperLiquidStakingDelegationDto"}},"pendingWithdrawal":{"type":"number","description":"Amount of HYPE that was withdrawn but not yet available (7 days unstaking queue)"}},"required":["spotBalance","stakeBalance","delegations","pendingWithdrawal"]},"HyperLiquidStakingDelegationDto":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of HYPE delegated"},"validator":{"type":"string","description":"Validator address"},"lockedUntil":{"type":"string","description":"Timestamp when the delegation is locked until (ISO 8601)","nullable":true}},"required":["amount","validator","lockedUntil"]},"ExceptionResponse":{"type":"object","properties":{"error":{"type":"object"},"result":{"type":"object","nullable":true,"default":null}},"required":["error","result"]},"ValidationException":{"type":"object","properties":{"code":{"type":"number","default":100101},"message":{"type":"string","default":"The data provided is not valid. Please check the request parameters and try again."},"name":{"type":"string","default":"ValidationException"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationErrorResponse"}}},"required":["code","message","name","errors"]},"ValidationErrorResponse":{"type":"object","properties":{"property":{"type":"string"},"constraints":{"additionalProperties":{"type":"string"},"type":"array","items":{"type":"object"}}},"required":["property","constraints"]},"NoTokenException":{"type":"object","properties":{"code":{"type":"number","default":101111},"message":{"type":"string","default":"No Bearer token has been provided. To obtain an authentication token, follow the instructions at https://docs.p2p.org/docs/authentication."},"name":{"type":"string","default":"NoTokenException"}},"required":["code","message","name"]},"WrongTokenException":{"type":"object","properties":{"code":{"type":"number","default":101109},"message":{"type":"string","default":"An invalid Bearer token has been provided. Please specify the correct authentication token."},"name":{"type":"string","default":"WrongTokenException"}},"required":["code","message","name"]},"GetStakingInfoUnexpectedException":{"type":"object","properties":{"code":{"type":"number","default":129112},"message":{"type":"string","default":"The get staking info operation could not be completed because an unexpected error occurred."},"name":{"type":"string","default":"GetStakingInfoUnexpectedException"}},"required":["code","message","name"]},"TokenGuardException":{"type":"object","properties":{"code":{"type":"number","default":101110},"message":{"type":"string","default":"The request could not be performed because the server authorization error occurred."},"name":{"type":"string","default":"TokenGuardException"}},"required":["code","message","name"]}}},"paths":{"/api/v1/hyperliquid/{network}/staking/info":{"get":{"operationId":"hyperliquid-info","summary":"Get Hyperliquid staking information for delegator","description":"Retrieve detailed staking information including spot balance, stake balance, delegations, and pending withdrawals for a given delegator address","parameters":[{"name":"network","required":true,"in":"path","description":"The Hyperliquid network to use","schema":{"enum":["mainnet","testnet"],"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperLiquidStakingInfoRequestDto"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/SuccessResponse"}],"properties":{"result":{"oneOf":[{"$ref":"#/components/schemas/HyperLiquidStakingInfoResponseDto"}]}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExceptionResponse"}],"properties":{"error":{"allOf":[{"$ref":"#/components/schemas/ValidationException"}]}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExceptionResponse"}],"properties":{"error":{"allOf":[{"$ref":"#/components/schemas/NoTokenException"},{"$ref":"#/components/schemas/WrongTokenException"}]}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExceptionResponse"}],"properties":{"error":{"allOf":[{"$ref":"#/components/schemas/GetStakingInfoUnexpectedException"},{"$ref":"#/components/schemas/TokenGuardException"}]}}}}}}},"tags":["Hyperliquid"]}}}}
```
