Skip to main content
POST
/
api
/
solscan
/
accounts
/
stakes
/solscan/accounts/stakes
curl --request POST \
  --url https://api.anysite.io/api/solscan/accounts/stakes \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "address": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "stake_account": "<string>",
    "@type": "SolscanStakeAccount",
    "status": "<string>",
    "type": "<string>",
    "stake_type": "<string>",
    "roles": [],
    "voter": "<string>",
    "active_stake": 123,
    "amount": 123,
    "delegated_stake": 123,
    "sol_balance": 123,
    "total_reward": 123,
    "activation_epoch": 123,
    "deactivation_epoch": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
address
string
required

Solana account or token mint address (base58)

Example:

"5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9"

count
integer
required

Max number of stake accounts to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

stake_account
string
required
@type
string
default:SolscanStakeAccount
status
string | null
type
string | null
stake_type
string | null
roles
string[]
voter
string | null
active_stake
number | null
amount
number | null
delegated_stake
number | null
sol_balance
number | null
total_reward
number | null
activation_epoch
integer | null
deactivation_epoch
integer | null